Linux tip, Fedora tip / howto: creating an ISO file to burn to CD/DVD

 
Note that these tips are mostly outdated


back to notes and tips index

Try my online puzzle page with Calcudoku, Killer Sudoku and online Sudoku.

creating an ISO file to burn to CD/DVD

To create the ISO image (assuming ./cd is the top level directory holding all files and directories you want to burn):

  • mkisofs -v -o cd.iso -R ./cd
    (-R means Rock Ridge protocol, Unix filenames) (-J will give you Windows long filenames)
To test the image file:
  • mkdir /mnt/tmp
    mount -t iso9660 -r -o loop cd.iso /mnt/tmp
    cd /mnt/tmp
    ls -lR
To burn the image file to CD:
  • cdrecord -v speed=16 cd.iso
    (alternatively, you can use a GUI tool like X-CD-Roast)

Or use the "create and burn" combination program growisofs, for example:

growisofs -Z /dev/cdrw1 -speed=4 -R -J ./dvd

(in this example, the DVD writer is at /dev/cdrw1)


← back to notes and tips index
Please do not copy the text of this tip (© Patrick Min) to your web site.