Sunday, March 8, 2009

Commandline to reliably burn an ISO ( On My Machine )

In order to reliably burn an ISO image to CD or DVD there are a couple of options that need to be set. That's if you are planning on using terminal commands ( command line tools ) to do the job.
  1. The disk must be written in DAO ( Disk At Once ) also known as SAO ( Session At Once )
  2. The disk must be written in as slow a speed as possible. On my PC that is about 8x for a CD and 4x for a DVD. Remember speed ratios differ between DVD and CD.

My Scripts: ( saved in /usr/local/bin )

[dave@fedora10 bin]$ cat burn-cd
#/bin/bash

#burn CD
# Usage - Enter full path to distro here.
/usr/bin/wodim dev=/dev/sr0 driveropts=burnfree fs=14M speed=9 -dao -v -eject $1
[dave@fedora10 bin]$ cat burn-dvd
#/bin/bash

#burn CD
# Usage - Enter full path to distro here.
/usr/bin/wodim dev=/dev/sr0 driveropts=burnfree fs=14M speed=4 -dao -v -eject $1
The options for wodim ( cdrecord as it is called nowdays )
Note the Speed, Burnfree and -dao options. -dao tells Wodim that you want to burn the ISO image in one go. No separte tracks.
Post a Comment