Linux DVD Writing
I'll only focus on growisofs although one will find graphical tools like K3B much more flexible.Write a pre-mastered iso image
# Make sure you got the device name right cdrecord --devices # Following option disables the disc from further writing, which makes sense for iso burning growisofs -dvd-compat -Z /dev/scd0=filename.iso
Sadly, my first writing failed with the following errors. It's a double layer disc. There goes HK$30 :(
:-[ WRITE@LBA=cd630h failed with SK=3h/ASC=02h/ACQ=00h]: Input/output error :-( write failed: Input/output error /dev/scd0: flushing cache /dev/scd0: updating RMA /dev/scd0: closing disc
Writing files to dvd
There are actually directly from the man page.# Write data for the first time growisofs -Z /dev/dvd -R -J /some/file # Adding more files to the disc growisofs -M /dev/dvd -R -J /more/files # Make sure to use the same options for both initial burning and when appending data. # To finalize the multisession DVD maintaining maximum compatibility: growisofs -M /dev/dvd=/dev/zero
Create iso from dvd data disc
The conv options are important. Without them, dd seems to create incomplete image. Brasero handles that automatically. It'll be interested to see what command brasero calls.dd if=/dev/sr0 of=/out.iso bs=2048 conv=sync,notrunc
Side notes from LinuxJourmal
There is an article from LinuxJournal that describes additional steps required with creating an iso image, see http://goo.gl/ilgq4isoinfo -d -i /dev/cdrom dd if=/dev/cdrom bs=blocksize count=count of=/path/to/isoimage.iso