CD/DVD Burning Howto



CD Burning:



Erase a CD-RW


wodim -v dev=/dev/cdrw -blank=fast


Create iso-image from existing cd (cd-copy)


dd if=/dev/hdc of=/home/user/isoimage.iso


Or create iso-image from existing files on harddisk (copy needed files to a folder first)


mkisofs -V volume_name -J -r -o isoimage.iso ~/folder


To burn a CD iso-image (set the proper device path i.e. /dev/hd*)


wodim -v speed=# dev=/dev/hdc isoimage.iso


To mount an iso-image and test (choose mount point accordingly)


mount -t iso9660 -o ro,loop=/dev/loop0 cd_image /cdrom



DVD Burning:



Erase a DVD+/-RW (set the proper device path i.e. /dev/hd*)


dvd+rw-format /dev/hdd


Create iso-image from existing DVD (set proper device path i.e. /dev/hd*)


readcd -v dev=/dev/hdd -f isoimage.iso


To burn a DVD iso-image (set proper device path i.e. /dev/hd*)


growisofs -Z /dev/hdd=/path/to/iso


To play DVD iso-image in mplayer


mplayer -dvd-device moviename.iso dvd://1


To play a 5.1 DVD iso-image with english spoken language


mplayer -channels 6 -alang eng -ao alsa dvd:// -dvd-device moviename.iso