Personal tools

Difference between revisions of "Mkisofs"

From MohidWiki

Jump to: navigation, search
(Bootable cd iso images)
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
  
 
  > mkisofs -o myimage.iso -J /home/user/datadir
 
  > 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 [http://wiki.debian.org/DebianInstaller/Modify/CD 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
  
 
==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

See also

External references