How to burn iso to cd/dvd with cdrecord command line tool in linux

How to burn iso to cd/dvd with cdrecord command line tool in linux

To find your writer dvd/cd devc:


1.) Choose one of the 3:

     $ dmesg | grep writer
     $ dmesg | grep dvd
     $ dmesg | grep cd 



devices output should show for writer ex:

[    6.728467] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray

this shows the device is in sr0 which is in /dev/sr0 so thats the path to use

2.) Another way is to use cdrecord scanbus command line check:

$ cdrecord -scanbus 

output should look:

Cdrecord-ProDVD-ProBD-Clone 3.01a13 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2012 Joerg Schilling
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
scsibus0:
        0,0,0     0) 'ATA     ' 'ST9500325AS     ' '0003' Disk
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus6:
        6,0,0   600) 'Optiarc ' 'DVD RW AD-7560S ' 'SB01' Removable CD-ROM
        6,1,0   601) *
        6,2,0   602) *
        6,3,0   603) *
        6,4,0   604) *
        6,5,0   605) *
        6,6,0   606) *
        6,7,0   607) *
scsibus7:
        7,0,0   700) 'Memorex ' 'TRAVELDRIVE 005B' 'PMAP' Removable Disk
        7,1,0   701) *
        7,2,0   702) *
        7,3,0   703) *
        7,4,0   704) *
        7,5,0   705) *
        7,6,0   706) *
        7,7,0   707) *

so in this the device is the SCSIBUS6 at the path 6,0,0 use that


$ cdrecord -v -sao speed=2 -eject dev=/dev/sr0 /path/to/file.iso
or
$ cdrecord -v -sao speed=2 -eject dev="6,0,0" /path/to/file.iso


***Notes:

- For a dvd.iso use sao or dao for music cd.iso use tao
- Slow speed is the best, try to use 2 as the safe base level config
- If the device cannot write from a speed of 1-4, use 0




0 comments:

Post a Comment