QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1726|回复: 13

一个很着急的关于mkisofs的问题!:)求兄弟们赐教!!!

[复制链接]
发表于 2005-5-28 22:22:09 | 显示全部楼层 |阅读模式
我把rhas4里面的文件都拷贝了出来,想在用mkisofs作一下可一引导安装的iso,也就是把这个目录手工的还原成可以引导安装的iso镜像,也就是把image/boot.iso当成引导文件在作iso时加上,但是
我输入了下面的命令,最后总是提示我说boot.iso超出了范围,这是为什么呀?兄弟们,这个工作对我来说是很有用的,我必需要从新手动的还原一下,我就是想把我在rhas4的第一张安装盘里面全部复制的内容在给还原成和真正的raas4第一张安装盘有一样的功能的iso镜像,情兄弟们赐教!!跪谢!

[code:1]
[fydream@fydream rh]$ mkisofs -L -l -v -b images/boot.iso -eltorito-alt-boot -o /home/fydream/ouros.iso
mkisofs: The option '-L' is reserved by POSIX.1-2001.
mkisofs: The option '-L' means 'follow all symbolic links'.
mkisofs: Mkisofs-2.02 will introduce POSIX semantics for '-L'.
mkisofs: Use -allow-leading-dots in future to get old mkisofs behavior.
Warning: creating filesystem that does not conform to ISO-9660.
INFO:   UTF-8 character encoding detected by locale settings.
        Assuming UTF-8 encoded filenames on source filesystem,
        use -input-charset to override.
mkisofs 2.01 (i686-pc-linux-gnu)
mkisofs: Missing pathspec.
Usage: mkisofs [options] file...

Use mkisofs -help
to get a list of valid options.
[fydream@fydream rh]$ mkisofs -L -l -v -b images/boot.iso -eltorito-alt-boot -o/home/fydream/ouros.iso /home/fydream/makelinux/备份/rh/
mkisofs: The option '-L' is reserved by POSIX.1-2001.
mkisofs: The option '-L' means 'follow all symbolic links'.
mkisofs: Mkisofs-2.02 will introduce POSIX semantics for '-L'.
mkisofs: Use -allow-leading-dots in future to get old mkisofs behavior.
Warning: creating filesystem that does not conform to ISO-9660.
INFO:   UTF-8 character encoding detected by locale settings.
        Assuming UTF-8 encoded filenames on source filesystem,
        use -input-charset to override.
mkisofs 2.01 (i686-pc-linux-gnu)
Scanning /home/fydream/mak
elinux/备份/rh/
Scanning /home/fydream/makelinux/备份/rh/SRPMS
Scanning /home/fydream/makelinux/备份/rh/RedHat
Scanning /home/fydream/makelinux/备份/rh/RedHat/base
Scanning /home/fydream/makelinux/备份/rh/RedHat/RPMS
Scanning /home/fydream/makelinux/备份/rh/images
Scanning /home/fydream/makelinux/备份/rh/images/pxeboot
Scanning /home/fydream/makelinux/备份/rh/isolinux
Writing:   Initial Padblock                        Start Block 0
Done with: Initial Padblock                        Block(s)    16
Writing:   Primary Volume Descriptor               Start Block 16
Done with: Primary Volume Descriptor               Block(s)    1
Writing:   Eltorito Volume Descriptor              Start Block 17
Size of boot image is 9820 sectors -> mkisofs: Error - boot image '/home/fydream/makelinux/备份/rh/images/boot.iso' has not an allowable size.
[/code:1]
发表于 2005-5-29 10:47:56 | 显示全部楼层
冰天雪地-赤身裸体-前空翻720度-单腿跪地-抱拳: 各位过客,请帮楼上的兄弟解答一下
感激不尽
回复

使用道具 举报

发表于 2005-5-29 11:30:50 | 显示全部楼层
[quote:70a497f5f7="zjneter"]冰天雪地-赤身裸体-前空翻720度-单腿跪地-抱拳: 各位过客,请帮楼上的兄弟解答一下
感激不尽[/quote]请先把这个动作做完,录下来之后发到公社上
回复

使用道具 举报

发表于 2005-5-29 11:37:09 | 显示全部楼层
这样不可以的话就手动添加 看看
就是往iso文件中直接添加(无根据)
回复

使用道具 举报

 楼主| 发表于 2005-5-29 11:42:26 | 显示全部楼层
版主怎么直接添加呀?就是直接考到iso里面?
我想知道哪里有介绍rh的制作团体是怎么把boot.iso加载上去的,他们一定有自己的工具活这
特殊的命令,我想知道,谢谢版主的指教!
回复

使用道具 举报

发表于 2005-5-29 15:01:31 | 显示全部楼层
CDLoader 不是 boot.iso 啦, boot.iso 已经是个完整的 ISO 了!

http://syslinux.zytor.com/iso.php
回复

使用道具 举报

 楼主| 发表于 2005-5-29 16:21:41 | 显示全部楼层
那现在的as4安装判的光盘安装引导程序是什么呢?:)
回复

使用道具 举报

 楼主| 发表于 2005-5-29 16:25:09 | 显示全部楼层
是isolinux.bin?但是我用这样写完声称了iso但是刻盘以后确实能引导但是却和原来真正的安装判不一样,而且是选择光驱安装提示找不到安装的介质,我到底怎么才能真正的把我解压出来的文件在原样的作回iso呢?版主!:)
回复

使用道具 举报

发表于 2005-5-29 17:36:00 | 显示全部楼层
你是怎么做的? 大概应该是这样:

1. [code:1]cd /home/fydream/makelinux/备份/rh/[/code:1]2. [code:1]mkisofs -o /home/fydream/ouros.iso -b isolinux/isolinux.bin -c isolinux/boot.cat    -no-emul-boot -boot-load-size 4 -boot-info-table .[/code:1]
回复

使用道具 举报

 楼主| 发表于 2005-5-29 18:11:12 | 显示全部楼层
fydream@linux:~/shiyan> mkisofs -o /home/fydream/ouros.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table /home/fydream/shiyan/
INFO:   UTF-8 character encoding detected by locale settings.
        Assuming UTF-8 encoded filenames on source filesystem,
        use -input-charset to override.
Using RELEA000.HTM;1 for  /RELEASE-NOTES-fr.html (RELEASE-NOTES-zh_TW.html)
Using RELEA001.HTM;1 for  /RELEASE-NOTES-zh_TW.html (RELEASE-NOTES-es.html)
Using RELEA002.HTM;1 for  /RELEASE-NOTES-es.html (RELEASE-NOTES-ta.html)
Using RELEA003.HTM;1 for  /RELEASE-NOTES-ta.html (RELEASE-NOTES-en.html)
Using READM000.HTM;1 for  /README-es.html (README-en.html)
Using RELEA004.HTM;1 for  /RELEASE-NOTES-en.html (RELEASE-NOTES-pt_BR.html)
Using RELEA005.HTM;1 for  /RELEASE-NOTES-pt_BR.html (RELEASE-NOTES-ko.html)
Using RELEA006.HTM;1 for  /RELEASE-NOTES-ko.html (RELEASE-NOTES-de.html)
Using RELEA007.HTM;1 for  /RELEASE-NOTES-de.html (RELEASE-NOTES-it.html)
Using READM001.HTM;1 for  /README-zh_CN.html (README-zh_TW.html)
Using RELEA008.HTM;1 for  /RELEASE-NOTES-it.html (RELEASE-NOTES-zh_CN.html)
Using RELEA009.HTM;1 for  /RELEASE-NOTES-zh_CN.html (RELEASE-NOTES-bn.html)
Using RELEA00A.HTM;1 for  /RELEASE-NOTES-bn.html (RELEASE-NOTES-ja.html)
Using RELEA00B.HTM;1 for  /RELEASE-NOTES-ja.html (RELEASE-NOTES-pa.html)
Using RELEA00C.HTM;1 for  /RELEASE-NOTES-pa.html (RELEASE-NOTES-gu.html)
Using RELEA00D.HTM;1 for  /RELEASE-NOTES-gu.html (RELEASE-NOTES-hi.html)
Using READM002.HTM;1 for  /README-pa.html (README-pt_BR.html)
Using FREER000.RPM;1 for  /home/fydream/shiyan/RedHat/RPMS/freeradius-unixODBC-1.0.1-2.RHEL4.i386.rpm (freeradius-postgresql-1.0.1-2.RHEL4.i386.rpm)
Using SYSTE000.RPM;1 for  /home/fydream/shiyan/RedHat/RPMS/system-config-boot-0.2.7-1.i386.rpm (system-config-netboot-0.1.8-1.i386.rpm)
Using FREER001.RPM;1 for  /home/fydream/shiyan/RedHat/RPMS/freeradius-postgresql-1.0.1-2.RHEL4.i386.rpm (freeradius-1.0.1-2.RHEL4.i386.rpm)
Using FREER002.RPM;1 for  /home/fydream/shiyan/RedHat/RPMS/freeradius-1.0.1-2.RHEL4.i386.rpm (freeradius-mysql-1.0.1-2.RHEL4.i386.rpm)
Using SYSTE001.RPM;1 for  /home/fydream/shiyan/RedHat/RPMS/system-config-netboot-0.1.8-1.i386.rpm (system-config-nfs-1.2.8-1.noarch.rpm)
Size of boot image is 4 sectors -> No emulation
mkisofs: Permission denied. Error opening boot image file '/home/fydream/shiyan/isolinux/isolinux.bin' for update.
回复

使用道具 举报

 楼主| 发表于 2005-5-29 19:24:04 | 显示全部楼层
要作iso的内容在/home.fydream/shiyan下:
[fydream@fydream/shiyan]#mkisofs -o ouros.iso.iso -b\
isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table /home/fydream/shiyan
确实能作成iso了,但是刻盘启动以后能引导,但是引导的是一种类似于文本界面的安装界面,等到让我选择安装介质的时候有好几个选项:
    “ 清选择安装介质:
     cdrom
     网络安装(ftp)
     本地硬盘安装
      等等。。”
,我选择cdrom总是说找不到相应的安装程序!:)
我 想要的效果就是和我们的正版安装盘那样能进入真正的图形安装界面而且能够正确的安装!:)也就是想真正的正版第一张安装盘那样能引导和安装!
清指教,跪谢!:)
回复

使用道具 举报

发表于 2005-5-29 22:54:48 | 显示全部楼层
我猜还是你的某个python脚本问题。 有空分析分析 Anaconda 吧。

参考一下《Linux发行版制作指南》DW的Linux专区 上的相关内容看看。
回复

使用道具 举报

 楼主| 发表于 2005-5-30 10:37:25 | 显示全部楼层
版主我尬安装判里面的文件考出来,什么都没有改,我是直接还原成iso的,py脚本和anacinda我根本就没有动过!:)
回复

使用道具 举报

发表于 2005-6-3 09:06:59 | 显示全部楼层
斑竹 摆脱帮帮忙吧 做个详细的解答,实验一下子也可 感激
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-3 05:27 , Processed in 0.046087 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表