Click to See Complete Forum and Search --> : Making ISO images


Snuffy115
12-24-2003, 11:21 PM
What do I ned to get to make ISO images of cd rom's?

Alex Cavnar, aka alc6379
12-24-2003, 11:29 PM
dd does a nice job of most CD-ROMs.

dd if=/dev/cdrom of=mycdimage.iso should be all you'd need to do. Of course, be sure to replace /dev/cdrom with whatever your real CD-ROM device is.

DSwain
12-25-2003, 12:05 AM
wow i never knew you could use console to make iso images. i guess i have to keep in mind that its the actual OS, not like windows where there is no command line anymore.

Snuffy115
12-25-2003, 12:13 AM
I need to ask better questions.

Alex,

The dd command you gave me works for data cd's. It doesn't work for audio cd's. I'm trying to create an ISO of an audio cd.

This is what I'm getting;

athena:/etc# dd if=/dev/hdc of=/root/music.iso
dd: reading `/dev/hdc': Input/output error
0+0 records in
0+0 records out

athena:/etc# mount /dev/hdc /cdrom
/dev/hdc: Input/output error
mount: block device /dev/hdc is write-protected, mounting read-only
/dev/hdc: Input/output error
mount: you must specify the filesystem type

DSwain
12-25-2003, 12:29 AM
i don't believe you can make ISO images of audio cd's, but i'm not sure. if you can, i'd also like to know how.

Alex Cavnar, aka alc6379
12-25-2003, 12:33 AM
Ahh... that's a different story altogether.

For one thing, you can't mount an Audio CD. You can't mount an image of an audio CD, either. But, here's how you'd do it. Keep in mind you'll need SCSI emulation enabled to use this with an IDE CD drive, and you could only reburn this image using cdrdao:

cdrdao read-cd --source-device 0,0,0 --datafile myaudiocd.bin

That will make a CD image called myaudiocd.bin using the first device on the first SCSI bus. (This is usually the IDE cd-burner under SCSI emulation). Then, to burn the file to disc using cdrdao again. You can consult the manpage for cdrdao to learn how to do that-- it's actually a pretty helpful man page.

Alex Cavnar, aka alc6379
12-25-2003, 12:35 AM
Originally posted by DSwain
wow i never knew you could use console to make iso images. i guess i have to keep in mind that its the actual OS, not like windows where there is no command line anymore.

As far as I'm concerned, that's the only way to do it. Once you get fast enough, it doesn't take but a second or two to fire off the command to generate an ISO image.

DSwain
12-25-2003, 12:36 AM
i see, but how would you go and burn it again with cdrdao (i never really burnt/ripped with a command line)

Alex Cavnar, aka alc6379
12-25-2003, 01:19 AM
Originally posted by DSwain
i see, but how would you go and burn it again with cdrdao (i never really burnt/ripped with a command line)

Just check the manpage of cdrdao. You'd basically just do

cdrdao write --device 0,0,0 myaudiocd.bin

Of course, be sure to replace 0,0,0 with the SCSI ID that your CD burner is using.

For more information about CD burning with the console, check out our Newbie-ized Help File (http://www.justlinux.com/nhf/Hardware/Adding_an_IDE_CD-Writer_to_Linux.html) on the subject. That file will give you more insight on how to burn data CDs using cdrecord, another Linux CD burning tool.