fydream 发表于 2005-5-28 22:22:09

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

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


[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.

zjneter 发表于 2005-5-29 10:47:56

冰天雪地-赤身裸体-前空翻720度-单腿跪地-抱拳: 各位过客,请帮楼上的兄弟解答一下
感激不尽

VimChina 发表于 2005-5-29 11:30:50

冰天雪地-赤身裸体-前空翻720度-单腿跪地-抱拳: 各位过客,请帮楼上的兄弟解答一下
感激不尽请先把这个动作做完,录下来之后发到公社上 :twisted:

BOoRFGOnZ 发表于 2005-5-29 11:37:09

这样不可以的话就手动添加 看看
就是往iso文件中直接添加(无根据)

fydream 发表于 2005-5-29 11:42:26

版主怎么直接添加呀?就是直接考到iso里面?
我想知道哪里有介绍rh的制作团体是怎么把boot.iso加载上去的,他们一定有自己的工具活这
特殊的命令,我想知道,谢谢版主的指教!:)

dannycat 发表于 2005-5-29 15:01:31

:!: CDLoader 不是 boot.iso 啦, boot.iso 已经是个完整的 ISO 了!

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

fydream 发表于 2005-5-29 16:21:41

那现在的as4安装判的光盘安装引导程序是什么呢?:)

fydream 发表于 2005-5-29 16:25:09

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

dannycat 发表于 2005-5-29 17:36:00

你是怎么做的? 大概应该是这样:

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

fydream 发表于 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.

fydream 发表于 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总是说找不到相应的安装程序!:)
我 想要的效果就是和我们的正版安装盘那样能进入真正的图形安装界面而且能够正确的安装!:)也就是想真正的正版第一张安装盘那样能引导和安装!
清指教,跪谢!:)

dannycat 发表于 2005-5-29 22:54:48

我猜还是你的某个python脚本问题。 有空分析分析 Anaconda 吧。

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

fydream 发表于 2005-5-30 10:37:25

版主我尬安装判里面的文件考出来,什么都没有改,我是直接还原成iso的,py脚本和anacinda我根本就没有动过!:)

zjneter 发表于 2005-6-3 09:06:59

斑竹 摆脱帮帮忙吧 做个详细的解答,实验一下子也可 感激
页: [1]
查看完整版本: 一个很着急的关于mkisofs的问题!:)求兄弟们赐教!!!