This is useful to burn CDs using the command line
How to burn ISO images on CDs
First we need the ISO images, this can be done this way.
cat /dev/scd0 > your_file.iso
Off course you need here to instead of scd0 the right device where you have the info you want to put into an ISO file.
The other way is:
mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom
then, get the ISO
mkisofs -r -o your_file.iso /mnt/cdrom
If your cdrom was already mounted, you will need first to umount it.
umount /mnt/cdrom
or
umount /media/cdrom
Now you need to see where you burn device is:
cdrecord -scanbus
If you get an error, try
cdrecord -scanbus dev=help
then:
cdrecord -scanbus dev=ATA
or anything you need, in my case that gave me this output
# cdrecord -scanbus dev=ATA
Cdrecord-Clone 2.01 (cpu-pc-linux-gnu) Copyright (C) 1995-2004 J?rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus1:
1,0,0 100) *
1,1,0 101) 'COMBO ' 'IDE5216CO ' '0K52' Removable CD-ROM
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
Now it is time to burn.
cdrecord -v -eject speed=16 dev=ATA:1,1,0 your_file.iso
If this was useful for you, please consider making a donation, any amount is welcome, please proceed by clicking on the yellow donate button, thank you in advance.






Recent comments
1 week 15 hours ago
1 week 1 day ago
1 week 4 days ago
2 weeks 23 hours ago
2 weeks 6 days ago
3 weeks 4 days ago
3 weeks 4 days ago
3 weeks 6 days ago
4 weeks 11 hours ago
4 weeks 4 days ago