LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 01-19-2007, 07:52 AM   #1
prabhatsoni
Member
 
Registered: Oct 2004
Location: India
Distribution: FC 12
Posts: 233

Rep: Reputation: 30
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
 
Old 01-19-2007, 07:56 AM   #2
The Headacher
Member
 
Registered: Jan 2007
Distribution: Vector Linux
Posts: 90

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

Code:
dd if=/dev/hdc of=SomeIsoFile.iso
 
Old 01-20-2007, 12:04 AM   #3
prabhatsoni
Member
 
Registered: Oct 2004
Location: India
Distribution: FC 12
Posts: 233

Original Poster
Rep: Reputation: 30
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

Last edited by prabhatsoni; 01-20-2007 at 12:06 AM.
 
Old 01-20-2007, 06:02 AM   #4
The Headacher
Member
 
Registered: Jan 2007
Distribution: Vector Linux
Posts: 90

Rep: Reputation: 15
In that case it's probably copyrighted content and a cd that's protected from copying.
 
Old 01-21-2007, 03:48 AM   #5
prabhatsoni
Member
 
Registered: Oct 2004
Location: India
Distribution: FC 12
Posts: 233

Original Poster
Rep: Reputation: 30
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
 
Old 01-21-2007, 10:52 AM   #6
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
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
 
Old 01-22-2007, 01:02 AM   #7
prabhatsoni
Member
 
Registered: Oct 2004
Location: India
Distribution: FC 12
Posts: 233

Original Poster
Rep: Reputation: 30
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

Last edited by prabhatsoni; 01-22-2007 at 01:10 AM.
 
  


Reply



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
Best way to copy CD to ISO LinuxGeek Linux - Software 3 04-11-2006 09:25 AM
iso copy Nuwan Shantha General 4 04-07-2006 04:35 PM
iso copy Nuwan Shantha Linux - Software 4 04-07-2006 04:03 AM
How do I make procmail recognize ISO encoded subject headers (=?ISO-)? xeza Linux - Software 0 10-06-2003 01:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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