Tuesday, April 7, 2009

Burning ISOs in CLI using OpenSUSE 11.1

Graphical tools are nice, just point and click. Makes life easier for most. But what if the damn button just won't play ball? Windows users will be sweating copious amount right about now.

Well, GNU/Linux users, take heart; there is always more than one way to do stuff.

In this case, what if Brasero or K3B both tell you there is not writable media in the writer in the drive and you know that ain't true? CLI to the rescue!!!

Check for the device your writer is connected to:

#wodim -scanbus

scsibus1:
1,0,0 100) 'HL-DT-ST' 'DVD+-RW GSA-H31L' 'W616' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *

Burn the ISO image to DVD-R at 4 speed:

#cdrecord -v -pad speed=4 dev=1,0,0 CentOS-5.3-i386-bin-DVD.iso

If you didn't catch on already you need to have root privileges to do it.

No comments: