LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-12-2004, 09:41 PM   #1
goofyheadedpunk
Member
 
Registered: Aug 2003
Distribution: Arch Linux
Posts: 140

Rep: Reputation: 15
dd multi-session CDs


Because of the physical state of some of my music CDs I've decided that now might be a good time to have an image of the more battered ones on my hard-drive.

Let's say that I have the Barenaked Ladies' Stunt in /dev/hdc. Not knowing any better I try the following
Code:
dd if=/dev/hdc of=/home/blt/stunt.iso
which promptly returns
Code:
dd: reading `/dev/hdc': Input/output error
After searching around on this forum, googling, and RTFM I think my problem is that audio CDs are multi-session, which dd can't handle. I think. I say that because the noise was so high that I really couldn't figure anything out. Most of the stuff I found pertained not to making and image of an audio cd but making an audio cd of an image.

Not what I needed.

So, could someone please explain to me how I could make an iso9660 image of a multi session CD using the command line tools?
 
Old 10-12-2004, 10:17 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Audio cds don't have a filesystem, so you can't make a ISO (iso9660 filesystem) from them. The best and nicer way would be to use a ripper and encode them to mp3 or ogg.
See: man cdparanoia
It's a utility included in a full Slackware install that works on console and rips audio tracks.

Last edited by gbonvehi; 10-12-2004 at 10:20 PM.
 
Old 10-12-2004, 10:46 PM   #3
goofyheadedpunk
Member
 
Registered: Aug 2003
Distribution: Arch Linux
Posts: 140

Original Poster
Rep: Reputation: 15
I knew that audio CDs didn't have a filesystem but I have frequently seen .iso's of audio CDs. I assumed then that it is quite possible to make an iso of an audio cd, and guessed that it'd be the International Organization for Standardization's standard 9660. I must have been wrong about that.

Nevertheless, it seems sort of cheap that I couldn't make some sort of one to one copy of my CD straight to the hard drive.

-=-

Also, I don't want to rip the tracks to mp3 or ogg . But thank you for suggesting something frightfully obvious. It had never occurred to me, what with the beige thing in my closet being a magic humming box that randomly brings forth music and porn.
 
Old 10-12-2004, 10:57 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
I've just found this..
Quote:

Extract audio image from CD:
cdrdao read-cd --device 0,4,0 --buffers 64 --driver generic-mmc-raw --read-raw toc-file.toc
Creates file data.bin and table of contents file toc-file.toc. This is NOT a fast process.
here: http://www.yolinux.com/TUTORIALS/Lin...ialCDBurn.html
It's not a ISO image but it should work.

Also from another page: "cdda2wav enables you to get a specific interval (or a whole track) from your audio CD and converts it into a .wav-file. sox converts the WAV files back into the (audio CD) cdda-format so it can be written to the CD-R using cdrecord. You don't necessarily need sox if you use a recent version of cdrecord, because it has built-in support for .au and .wav files."

Last edited by gbonvehi; 10-12-2004 at 11:02 PM.
 
Old 10-12-2004, 11:17 PM   #5
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Have a look at cdrdao instead - this will not make an .iso file, but it will write a .bin/.cue combo, and can burn these two files back out to re-create the CD as well.
 
Old 10-12-2004, 11:18 PM   #6
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
mental note - hit refresh before posting
 
Old 10-15-2004, 01:48 PM   #7
goofyheadedpunk
Member
 
Registered: Aug 2003
Distribution: Arch Linux
Posts: 140

Original Poster
Rep: Reputation: 15
Thank you gbonvehi and CroMagnon. That's exactly what I was looking for.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
get information on multi session cd. bruse Linux - Software 2 09-10-2005 08:12 AM
multi session cd. bruse Linux - Newbie 7 09-07-2005 10:06 AM
Help with multi session download une Mandriva 1 11-24-2004 02:31 AM
problems with multi session dvd lorebett Linux - Hardware 0 11-16-2004 01:00 PM
KDE multi session MadCow Mandriva 6 10-20-2003 03:15 PM


All times are GMT -5. The time now is 07:55 PM.

Main Menu
Advertisement
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