LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 11-22-2009, 04:44 PM   #1
Maestro01
Member
 
Registered: Jan 2009
Posts: 32

Rep: Reputation: 15
Convert CD disks to iso images (HowTo)


I have several educational CDs from my grandson that I wish to back up to
.iso files. Using Linux Mint 7 KDE version.
Have tried dd several times with no success.
Results listed here:
~/Pimsleur $ sudo dd if=/dev/cdrom of=Pimsleur1n2.iso
dd: reading `/dev/cdrom': Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.00975827 s, 0.0 kB/s
franka@frankhome ~/Pimsleur $

Any suggestions or help greatly appreciated.
 
Old 11-22-2009, 04:54 PM   #2
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
Actually, if you put the cd into the cd tray
and insert it while running Mint
it should open a file manager?

if it doesn't, open file manager
and find cdrom in side panel
left click or right clcik and choose "mount"

a disc icon should show up on your desktop
right click that and select "copy"
or similar and then "paste" it into a empty folder
somewhere

in terminal, after mounting cdrom
you could also use CP command to copy disc to iso
assuming cdrom is mounted on /media/sr0

Code:
cp -a /media/sr0/* /path/to/empty/folder
to find out where cdrom is mounted enter

Code:
mount
in terminal
 
Old 11-22-2009, 05:02 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,457

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
You need to unmount the cd, before using dd
Find out where the cd is mounted with
Code:
mount
and then unmount it
Code:
sudo umount /dev/cdrom
sudo dd if=/dev/cdrom of=Pimsleur1n2.iso
 
Old 11-22-2009, 10:14 PM   #4
Maestro01
Member
 
Registered: Jan 2009
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by repo View Post
You need to unmount the cd, before using dd
Find out where the cd is mounted with
Code:
mount
and then unmount it
Code:
sudo umount /dev/cdrom
sudo dd if=/dev/cdrom of=Pimsleur1n2.iso
The problem seems to be that I do not know where the CD is located
in Mint. Am using a Dell Dimension with both a DVD and CD.
When I tried tdo unmount dthe cd with: umount /dev/cdrom
I get the following: umount: /dev/sr1 is not mounted (according to mtab)
I am fairly new to Linux and have little experience with dd and optical
drives.
 
Old 11-22-2009, 10:20 PM   #5
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
The other drive may be /dev/sr0 but to be sure, as mentioned above, just type `mount` all by itself to see what's mounted where.

Sasha
 
Old 11-24-2009, 12:45 AM   #6
Maestro01
Member
 
Registered: Jan 2009
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by GrapefruiTgirl View Post
The other drive may be /dev/sr0 but to be sure, as mentioned above, just type `mount` all by itself to see what's mounted where.

Sasha
Turns out that the drive was /dev/sr1
But dd nor cp would copy it.
K3b will copy or rip it however but rips it as an oog file.
And what I wanted was an iso file.
Thanks much to everyone for their input.
 
Old 11-24-2009, 02:22 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,905

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
Some things to check:
  • what kind of cd is it? multisession? audiocd? mixed mode? Only data cdroms can be saved to an ISO file. Audio cds do not have an iso9660 fs, hence you can't save an ISO image. Multisession cds and cd extra formats have many sessions. Each data session can be saved to an ISO (though you will need some extra magic to get any session but the last one). If there are audio tracks, these can't be saved as ISO. For audio disks, you need to rip the audio.
  • As usual, double check it's the right drive.
  • Having it mounted doesn't make a difference, since it's mounted read-only anyway.

Since k3b is ripping an "oog" (did you mean "ogg"?) file, I am inclined to think that that cd is not a data cdrom. That's the first thing you should be checking right now.
 
Old 11-25-2009, 12:43 AM   #8
Maestro01
Member
 
Registered: Jan 2009
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by i92guboj View Post
Some things to check:
  • what kind of cd is it? multisession? audiocd? mixed mode? Only data cdroms can be saved to an ISO file. Audio cds do not have an iso9660 fs, hence you can't save an ISO image. Multisession cds and cd extra formats have many sessions. Each data session can be saved to an ISO (though you will need some extra magic to get any session but the last one). If there are audio tracks, these can't be saved as ISO. For audio disks, you need to rip the audio.
  • As usual, double check it's the right drive.
  • Having it mounted doesn't make a difference, since it's mounted read-only anyway.

Since k3b is ripping an "oog" (did you mean "ogg"?) file, I am inclined to think that that cd is not a data cdrom. That's the first thing you should be checking right now.
Indeed. The oog was probably a typo.
And it is pretty much an ausio CD.
Now I know my error. Thank you very much.
Problem solved.
 
Old 11-25-2009, 01:07 AM   #9
johnny121
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
RE: Convert CD disks to iso images (HowTo)

Try to download K3B.
Then you go to a tab that mean make a cd image.
There you can copy the files from the disks to make a cd image.
 
Old 11-25-2009, 01:09 AM   #10
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,905

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
Quote:
Originally Posted by johnny121 View Post
Try to download K3B.
Then you go to a tab that mean make a cd image.
There you can copy the files from the disks to make a cd image.
You can't make an iso of a cdaudio disk. Some programs will pretend so, and save the image in an exotic format, which doesn't make it true (those images are not ISO9660 compliant at all).

It's just like saving the cdaudio to a flac+cue image indeed, but it's not ISO.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Mounting ISO Images With Furius ISO Mount On Ubuntu 8.04 Desktop LXer Syndicated Linux News 0 09-26-2008 04:30 PM
LXer: ISO Master - GUI Tool to edit ISO Images in openSUSE LXer Syndicated Linux News 0 08-15-2008 10:10 AM
Convert cd images to dvd images rcsuk Debian 2 07-11-2005 10:34 AM
mounting bin/cue images without convert to iso? Moebius Linux - Software 1 12-05-2004 05:22 AM
Burn mandy community 10 ISO images to disks /home/kyle Linux - Software 2 03-11-2004 01:00 PM


All times are GMT -5. The time now is 05:58 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
Open Source Consulting | Domain Registration