This is useful to burn CDs using the command line How to burn ISO images on CDs</p> <p style="margin-bottom: 0cm">
</p> <p style="margin-bottom: 0cm">First we need the ISO images, this can be done this way.</p> <p style="margin-bottom: 0cm">
</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> cat /dev/scd0 > your_file.iso</p> <p style="margin-bottom: 0cm">
</p> <p style="margin-bottom: 0cm">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.</p> <p style="margin-bottom: 0cm">
</p> <p style="margin-bottom: 0cm">The other way is:</p> <p style="margin-bottom: 0cm">
</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom</p> <p style="margin-bottom: 0cm">then, get the ISO</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> mkisofs -r -o your_file.iso /mnt/cdrom</p> <p style="margin-bottom: 0cm">
</p> <p style="margin-bottom: 0cm">If your cdrom was already mounted, you will need first to umount it.</p> <p style="margin-bottom: 0cm">
</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> umount /mnt/cdrom </p> <p style="margin-bottom: 0cm">or</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> umount /media/cdrom</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm">
</p> <p style="margin-bottom: 0cm">Now you need to see where you burn device is:</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm">
</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> cdrecord -scanbus</p> <p style="margin-bottom: 0cm">If you get an error, try</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> cdrecord -scanbus dev=help</p> <p style="margin-bottom: 0cm">then:</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> cdrecord -scanbus dev=ATA</p> <p style="margin-bottom: 0cm">or anything you need, in my case that gave me this output</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm">
</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> # cdrecord -scanbus dev=ATA</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> Cdrecord-Clone 2.01 (cpu-pc-linux-gnu) Copyright (C) 1995-2004 J?rg Schilling</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> Note: This version is an unofficial (modified) version with DVD support</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> Note: and therefore may have bugs that are not present in the original.</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> Note: The author of cdrecord should not be bothered with problems in this version.</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> scsidev: 'ATA'</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> devname: 'ATA'</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> scsibus: -2 target: -2 lun: -2</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> Linux sg driver version: 3.5.27</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> Using libscg version 'schily-0.8'.</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> 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').</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> scsibus1:</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> 1,0,0 100) *</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> 1,1,0 101) 'COMBO ' 'IDE5216CO ' '0K52' Removable CD-ROM</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> 1,2,0 102) *</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> 1,3,0 103) *</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> 1,4,0 104) *</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> 1,5,0 105) *</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> 1,6,0 106) *</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> 1,7,0 107) *</p> <p style="margin-bottom: 0cm">
</p> <p style="margin-bottom: 0cm">Now it is time to burn.</p> <p style="margin-bottom: 0cm">
</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm"> cdrecord -v -eject speed=16 dev=ATA:1,1,0 your_file.iso</p> <p style="margin-left: 1.25cm; margin-bottom: 0cm">
</p> <p style="margin-bottom: 0cm">
</p>