Difference between revisions of "Mkisofs"
From MohidWiki
(→Bootable cd iso images) |
|||
Line 6: | Line 6: | ||
==Bootable cd iso images== | ==Bootable cd iso images== | ||
− | From a modified linux cd installer directory ( after having performed a "cp -a /media/cdrom0 ~/tmp/cd"): | + | From a modified linux cd installer directory ( after having performed a "cp -a /media/cdrom0 ~/tmp/cd" and then ater having made the [http://wiki.debian.org/DebianInstaller/Modify/CD changes]): |
> sudo mkisofs -o debian.iso -r -J -no-emul-boot \ | > sudo mkisofs -o debian.iso -r -J -no-emul-boot \ | ||
-boot-load-size 4 -boot-info-table \ | -boot-load-size 4 -boot-info-table \ | ||
− | -b | + | -b ~/tmp/cd/isolinux/isolinux.bin \ |
− | -c | + | -c ~/tmp/cd/isolinux/boot.cat \ |
− | + | ~/tmp/cd | |
==See also== | ==See also== |
Latest revision as of 02:49, 4 January 2010
Mkisofs can create an iso9660 or Joliet compliant image from any directory of your linux system. Useful to create a new iso image after copying and editing an existing iso image.
Syntax
> mkisofs -o myimage.iso -J /home/user/datadir
Bootable cd iso images
From a modified linux cd installer directory ( after having performed a "cp -a /media/cdrom0 ~/tmp/cd" and then ater having made the changes):
> sudo mkisofs -o debian.iso -r -J -no-emul-boot \ -boot-load-size 4 -boot-info-table \ -b ~/tmp/cd/isolinux/isolinux.bin \ -c ~/tmp/cd/isolinux/boot.cat \ ~/tmp/cd