Linux burn ISO images to Cds and CD-RWs howto

by nixcraft on April 6, 2006 · 8 comments

Linux comes with various GUI and command line application to burn ISO images to CDs/CD-RWs. Cdrecord is command line based application used to record data or audio Compact Discs on an Orange Book CD-Recorder or to write DVD media on a DVD-Recorder i.e. it can brun ISO images.

Find out your CDR/W SCSI address/device name

Scan all SCSI devices on all SCSI busses and print the inquiry strings with –scanbus option. This option may be used to find SCSI address of the CD/DVD-Recorder on a system:
# cdrecord -scanbus
Output:

Cdrecord-Clone 2.01a34 (i686-pc-linux-gnu)
Copyright (C) 1995-2004 Jrg Schilling
scsidev: 'ATA:'
devname: 'ATA'
scsibus: -1 target: -1 lun: -1
Warning: Using badly designed ATAPI via /dev/hd*
interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
scsibus1:
1,0,0 100) 'SONY' 'CD-Writer' '1.0g'
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) *

In above example, my device name is 1,0,0. Now again use the cdrecord command to burn ISO image:
# cdrecord -v -dao dev=1,0,0 file.iso
You can also specify burning speed:
# cdrecord -v -dao dev=1,0,0 speed=8 file.iso

See also:

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

{ 8 comments… read them below or add one }

1 yogesh July 19, 2009

i want to burn a iso image of rhel 5.1 using dd command.pls tell me the exact command to do the same.
Thanks in advance

Reply

2 hailer August 17, 2009

Hi yogesh, im a 1 year linux terminal user but av never heard of a way that you can. It would be intersting to find out how so if you do come across a way you can please let me know. i know dd can be used to copy from cd to .iso file but not the otherway round.

Reply

3 Iain September 20, 2009

Hi. I know that you can use dd to write .img to floppy, so it might also work for cd-roms.

Reply

4 Jeff March 15, 2010

Iam new to all this, but I tried the command

# cdrecord -scanbus

But it spart out a series of errors,….. so I didnt know my device name to use the command as stated. so I googled and found this alternative.


# cdrecord -v /dev/cdwriter myisofile.iso

where myisofile.iso is the ISO file I want to burn, this worked for me.

Reply

5 me2 August 9, 2010

I am booting from Puppy Linux 3.0.1.
The new puppy 5.0.1 ISO is on my USB drive.

Do I have to specify the file location to burn the ISO?

Your site has helped me out of a few jams.

Thanks

Reply

6 AhnJuHyun September 16, 2010

Wow.. great info. thanks! it helped me

Reply

7 fedora July 30, 2011

If scanbus gives you errors but you know your device name, you can also use this (assuming the cd drive is /dev/scd0):

# cdrecord dev=/dev/scd0 file.iso

Reply

8 fedora July 30, 2011

Sorry, make that:

# cdrecord -v -dao dev=/dev/scd0 file.iso

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 8 + 2 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: