LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-20-2007, 12:39 AM   #1
Registered: Jun 2007
Location: Europe
Distribution: Ubuntu
Posts: 209

Rep: Reputation: 23
How can I make an .iso file from a CD or DVD using the command line?

I'm on FC6 and would like to burn an .iso file to my desktop from a CD (audio CD). I've tried two different commands which I found Googling around the Net:

[root@localhost Desktop]# dd if=/dev/cdrom of=/arttatum.iso
dd: reading `/dev/cdrom': Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.00840777 seconds, 0.0 kB/s
[root@localhost Desktop]# cat /dev/cdrom > /home/linux/Desktop/arttatum.iso
cat: /dev/cdrom: Input/output error
[root@localhost Desktop]# dd if=/dev/cdrom of=~/Desktop/arttatum.iso
dd: reading `/dev/cdrom': Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.0278309 seconds, 0.0 kB/s
[root@localhost Desktop]#
They don't work.

The idea is to learn more about command line tools as well as about .iso files, burning CDs and DVDs... If I use the command line to make an .iso file, will the .iso file be an 'exact' copy of the CD or will it only be an exact copy if the CD is a non-commercial CD? How about DVDs?

How can I go about getting CD quality sound files on my computer (not compressed, not mp3) with the exact same format as CDs (for quality classical music recordings, for example)?

Any other useful tricks and tips?

Many thanks.
Old 06-20-2007, 01:29 AM   #2
Registered: May 2004
Location: USA
Distribution: pclinuxos
Posts: 37

Rep: Reputation: 15
I don't know if this will work on audio cd's but give it a try:
dd if=/dev/hdc of=/home/name/audiocd.iso bs=2048 conv=notrunc

This assumes your cd drive is hdc, to check when it's mounted try df

For lossless audio rip your cd's to flac. A good program for this is grip.

Old 06-20-2007, 08:46 AM   #3
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64-KDE, Ubuntu 14.04, Mint 17.2
Posts: 3,819

Rep: Reputation: Disabled
Since you are bent on learning, maybe you have some use for this old thread:

Also use the links provided in the thread.

P.S.: Use dd with the -v option, perhaps the verbose output better exlains the I/O error. BTW do you have writing rights in the directory where you gave the command in?
Old 06-20-2007, 09:29 AM   #4
Registered: Dec 2003
Distribution: debian, knoppix
Posts: 80

Rep: Reputation: 15

One source on my desk says the most straightforward is

cdrecord -v dev=0,1,0 -isosize /dev/sdc0

which directly copies a source disk to a recordable disk.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
make dvd out of .iso file sjonie100 Linux - Software 4 03-02-2006 08:57 PM
make dvd out of .iso file (fc3, Nautilus) sjonie100 Linux - Software 2 03-02-2006 08:54 PM
Command Line ISO Maker Out2lunch Linux - Software 1 11-03-2005 09:41 AM
Burning an .iso at the command line Galaxy_Stranger Linux - Newbie 8 11-01-2005 11:37 AM

All times are GMT -5. The time now is 08:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration