Create the image (with RockRidge extension and Joliet extension). There is also a “-udf” option to create a UDF file system on a DVD, but a DVD also works pefectly with the CD-ROM style ISO file system, which is used here:

   genisoimage -r -J -o /path/to/image.iso /path/to/tree/;

If your image should be build with files from multiple sources, you can use the “-graft-points <source>=<target>” option, where source and target can be either files or directories (without trailing slash). For example:

   genisoimage -r -J -graft-points -o /home/_image.raw /home/sourcedir=/home/targetdir /sourcefile=/dir/targetfile

Check the image file you just created:

   mount -o loop /home/_image.raw /media/misc;
  ls -l /media/misc;
  umount /media/misc;

Burn the DVD. You can use DVD-R DL in dummy mode; it will not destroy the medium.

   cdrecord-prodvd -v -dao -dummy /home/_image.raw;
   cdrecord-prodvd -v -dao /home/_image.raw;

Test the DVD:

   mount /media/cdrom;
   ls -l /media/cdrom;
   umount /media/cdrom;

If you want, check if all of the DVD can be read:

   readcd f=/home/matthias/Desktop/image.raw;

Leave a reply

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>