24
May
May 24, 2011 分类: Interesting, Linux     作者: hoverlees     留言: 发表

最近在为自己公司开发的产品做iso光盘,打算把我们的网络监控产品跟linux系统集成到一起安装,所以就把别人发布的iso解压出来修改光盘里的配置和initrd后,又把它做回iso了。

linux就是好,做iso的软件也是免费的,linux下的mkisofs程序可以制作iso文件和解压iso文件。把我做ISO的时候参考的内容直接引用过来,希望对大家有帮助 :)

Creating bootable ISO : Linux, Solaris, Windows

Whenever you’re automating OS deployments, you will at one point require to build a custom ISO, with your own kickstart, jumpstart or an OEM folder with apps and instructions to boot.

Here are three mkisofs commands that you can use for each OS, and to ease your search a little.

Linux

mkisofs -q -V VOLUME_NAME -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -T -o /LinuxISO.iso .

Solaris

mkisofs -b boot/grub/stage2_eltorito -c .catalog -no-emul-boot -boot-load-size 4 -boot-info-table -relaxed-filenames -l -ldots -r -N -d -D -V VOLUME_NAME -o /SolarisISO.iso .

Windows

mkisofs -q -b Bootable_NoEmulation.img -no-emul-boot -boot-load-seg 1984 -boot-load-size 4 -iso-level 2 -J -joliet-long -l -D -relaxed-filenames -N -V VOLUME_NAME -o /WindowsISO.iso .
标签: , ,
快速链接
推荐标签
最新图片
较新文章
随机推荐
友情链接