1、启动光盘参数

-no-emul-boot
 Boot p_w_picpath is 'no emulation' p_w_picpath
非模拟模式启动

-b <开机映像文件>
or
-eltorito-boot <开机映像文件>
 指定在制作启动光盘时所需的开机映像文件
-b:启动p_w_picpath

-c <开机文件名称>
 -c:cat文件
制作启动光盘时,mkisofs会将开机映像文件中的全-eltorito-catalog*文 件的全部内容作成一个文件

-J或-joliet
 Generate Joliet directory information
生成Joliet 格式信息
Joliet是用于在 Windows 环境下使用的光盘

-R或-rock
 Generate Rock Ridge directory information
生成Rock Ridge目录格式信息
Rock Ridge用于 UNIX/Linux 环境下的光盘。
文件名区分大小写,同时记录文件长度

-r或-rational-rock
 使用Rock Ridge
并开放全部文件的读取权限

2、命令如下

#mount ubuntu-10.04.1-server-amd64.iso /mnt -o loop

#cp -rT /mnt/  /home/custom-ubuntu/iso  <关键参数-rT>

#cd /home/custom-ubuntu/iso

修改要修改的

#IMAGE=custom.iso

#BUILD=/home/custom-ubuntu/iso

# mkisofs -r -V "Custom ISO"  -cacahe-inodes -J -l -b iso/isolinux/isolinux.bin -c iso/isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o $IMAGE $BUILD 

3.

1、去掉-d选项,解决Warning: creating filesystem that does not conform to ISO-9660.

2、增加-input-charset UTF-8,解决INFO:   UTF-8 character encoding detected by locale settings.

3、在句尾"-o /dada/boot/boot.iso"之后增加". "变成"-o /dada/boot/boot.iso ." ,解决mkisofs: Missing pathspec.