LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Does this readcd command make an iso copy (https://www.linuxquestions.org/questions/linux-software-2/does-this-readcd-command-make-an-iso-copy-520866/)

prabhatsoni 01-19-2007 07:52 AM

Does this readcd command make an iso copy
 
Hello friends,

I want to copy a CD. But i was thinking of making an iso image file of the CD, to burn it later.
Does this command make a iso copy of the cd:
Code:

readcd -v dev=/dev/hdc f=cdimage.iso
Will this cdimage.iso, when burnt on the CD make an exact copy of the original CD.

I went thru the manual of readcd and found that there is a -clone option. I feel this is applicable for audio CD only. Am I wrong.

Guide me, friends.


Thanks a lot



Prabhat Soni

The Headacher 01-19-2007 07:56 AM

To make a .iso file, use the dd command:

Code:

dd if=/dev/hdc of=SomeIsoFile.iso

prabhatsoni 01-20-2007 12:04 AM

Thanks for taking time to reply.

But it did not work out.

I should elaborate it further. I had one "System Rescue CD", of which i made a image by the "readcd -v dev=/dev/hdc f=cdimage.iso" it worked out ok. Then I burnt the image to a CD and I got my system rescue CD back. No problem here.

Now I am trying to make an image of a video CD (say a movie CD). When I give this readcd command, it makes a image of 384 KB (in 10 seconds). I tried with the dd command too as suggested by you. But of no avail.

Subsequently I used k3b package to make an image. Even this image that I got, and which burnt later to a CD, did not play.

My question is - how can I make an iso-iamge copy of a video CD ?
Incidently can anyone tell me whether the image that the "NERO" CD buring software (Windows) makes as an intermediate step while copying a CD is an iso image or some other kind of image.

Thanks once again.




Prabhat Soni

The Headacher 01-20-2007 06:02 AM

In that case it's probably copyrighted content and a cd that's protected from copying.

prabhatsoni 01-21-2007 03:48 AM

No my friend !

It is video CD of my marriage.
ANd in linux only, I can copy the CD directly (I have two CD drives).

The "Nero" (windows )is creating a cd image. Then, I checked out out by mounting this windows partition in linnux and by "file" command, and found that the system is not able to recognise that it is some kind of image. It seems that this image is proprietory.

The problem still remains - How can I make an iso-image copy of my video CD, for burning at a later date.


Thanks for everything.



Prabhat Soni

teckk 01-21-2007 10:52 AM

http://www.linuxquestions.org/questi...hreadid=366442

DD will most definitely make an .iso image from a CD.

Those images that Nero make are proprietary. There is open source software that'll read them. I think they're .nrg

I think nrg2iso is what you want.

http://www.google.com/search?q=linux...ient=firefox-a

prabhatsoni 01-22-2007 01:02 AM

Thanks sir for taking time to help.

Quote:

DD will most definitely make an .iso image from a CD.
This is not working. I have tried this on different CDs, and the messgae that it gives out is same every time. The message is
Quote:

[drags@localhost ~]$ dd if=/dev/hda of=img.iso
dd: reading `/dev/hda': Input/output error
9184+0 records in
9184+0 records out
4702208 bytes (4.7 MB) copied, 9.86592 seconds, 477 kB/s
[drags@localhost ~]$
I have tried with the CD as mounted and as unmounted.

On the contrary, when I tried "readcd" on the an FC5 CD, I got the iso image.

Code:

[drags@localhost ~]$ readcd -v dev=/dev/hda f=image
scsidev: '/dev/hda'
devname: '/dev/hda'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Read  speed:  8448 kB/s (CD  48x, DVD  6x).
Write speed:  9152 kB/s (CD  52x, DVD  6x).
Capacity: 361116 Blocks = 722232 kBytes = 705 MBytes = 739 prMB
Sectorsize: 2048 Bytes
Copy from SCSI (0,0,0) disk to file 'image'
end:    361116
readcd: Success. read_g1: scsi sendcmd: no error
CDB:  28 00 00 00 09 00 00 00 40 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 64 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x64 Qual 0x00 (illegal mode for this track) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 131072
cmd finished after 7.476s timeout 40s
readcd: Success. Cannot read source disk
readcd: Retrying from sector 2304.
........................
readcd: Error on sector 2327 corrected after 2 tries. Total of 0 errors.
addr:  361116 cnt: 28..................addr:    2368 cnt: 64
Time total: 213.571sec
Read 722232.00 kB at 3381.7 kB/sec.
[dgmpali@localhost ~]$

Why is the dd not working inmy case, since I believe you are very sure of its desired result.


Thanks once again.


Prabhat Soni


All times are GMT -5. The time now is 02:12 AM.