Saturday, December 13, 2008

Write Iso image to CD/DVD linux command

cp boot.iso /tmp
cd; eject

Find device name:

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

Replace 1,0,0 with your actual device name obtained using cdrecord -scanbus command

No comments:

Post a Comment