Linux comes with various GUI and command line application to burn ISO images to CDs/CD-RWs. Cdrecord is command line based application used to record data or audio Compact Discs on an Orange Book CD-Recorder or to write DVD media on a DVD-Recorder i.e. it can brun ISO images.
Find out your CDR/W SCSI address/device name
Scan all SCSI devices on all SCSI busses and print the inquiry strings with –scanbus option. This option may be used to find SCSI address of the CD/DVD-Recorder on a system:
# 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
See also:
- How do I write CD at Debain Linux command prompt
- Splits directory into multiple with equal size for ISO burning purpose
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
- RSS feed or Weekly email newsletter
- Share on Twitter • Facebook • 8 comments... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
i want to burn a iso image of rhel 5.1 using dd command.pls tell me the exact command to do the same.
Thanks in advance
Hi yogesh, im a 1 year linux terminal user but av never heard of a way that you can. It would be intersting to find out how so if you do come across a way you can please let me know. i know dd can be used to copy from cd to .iso file but not the otherway round.
Hi. I know that you can use dd to write .img to floppy, so it might also work for cd-roms.
Iam new to all this, but I tried the command
# cdrecord -scanbus
But it spart out a series of errors,….. so I didnt know my device name to use the command as stated. so I googled and found this alternative.
# cdrecord -v /dev/cdwriter myisofile.iso
where myisofile.iso is the ISO file I want to burn, this worked for me.
I am booting from Puppy Linux 3.0.1.
The new puppy 5.0.1 ISO is on my USB drive.
Do I have to specify the file location to burn the ISO?
Your site has helped me out of a few jams.
Thanks
Wow.. great info. thanks! it helped me
If scanbus gives you errors but you know your device name, you can also use this (assuming the cd drive is /dev/scd0):
Sorry, make that: