Linux: How Do I Burn ISO Images To CD-Rs and CD-RWs with cdrecord?

Q. How can I burn ISO images to CD-Rs and CD-RWs with cdrecord under Linux operating systems?

A.Use cdrecord to record audio or data Compact Disks or Digital Versatile Disks from a master. First, you need to find out information about your CD-R or CD-RW device.

ADVERTISEMENTS

Linux Command To determine the device name

Type the following command:
$ drecord -scanbus
Sample output:

scsibus0:
	0,0,0	  0) 'TSSTcorp' 'CD/DVDW SH-S182D' 'SB04' Removable CD-ROM
	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) *

Burn Linux ISO Image with Disk AT Once Mode

To burn with “Disk At Once” mode, enter:
$ cdrecord -v -dao dev=0,0,0 /path/to/iso/file/name.iso
Where,

  • -v : verbosity option
  • -dao : Disk At Once mode
  • dev=000 : Define the device that was found with the scanbus option above, in this example, it’s 0,0,0.

Linux Burn multi-session CD

To burn multi-session CD, -multi option on all sessions except the last session.
$ cdrecord -v -multi -dao dev=0,0,0 /path/to/iso/file/name.iso

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
1 comment… add one
  • Mukul Apr 20, 2013 @ 9:49

    Multi-session cd means?

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.