LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 06-19-2007, 11:39 PM   #1
rm_-rf_windows
Member
 
Registered: Jun 2007
Location: Europe
Distribution: Ubuntu
Posts: 205

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:

Code:
[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, 12:29 AM   #2
lpn1160
Member
 
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.

good-luck
 
Old 06-20-2007, 07:46 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,665

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

http://www.linuxquestions.org/questi...ad.php?t=53002

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, 08:29 AM   #4
fitzov
Member
 
Registered: Dec 2003
Distribution: debian, knoppix
Posts: 80

Rep: Reputation: 15
cdrecord

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.
 
  


Reply


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 07:57 PM
make dvd out of .iso file (fc3, Nautilus) sjonie100 Linux - Software 2 03-02-2006 07:54 PM
Command Line ISO Maker Out2lunch Linux - Software 1 11-03-2005 08:41 AM
Burning an .iso at the command line Galaxy_Stranger Linux - Newbie 8 11-01-2005 10:37 AM


All times are GMT -5. The time now is 07:34 AM.

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