Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-26-2010, 12:29 AM
|
#1
|
Member
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567
Rep:
|
How do i dd a copy protected disc?
Hey guys,
I like to make iso backups of my disc. I was going through some game cds that I have not backed up yet. I want to stress I DO OWN THE DISC. I just want to make an iso backup of the disc just in case something happens to them.
I normally use dd to backup my disc to an iso. Typically I use this command
Code:
dd if=/dev/sr0 of=someimagesname.iso bs=2048 count=1234567
I always replace the numbers for count with whatever the volume size is when i run isoinfo -d -i /dev/sr0. However I have a few game cds that I can not back up. I have tried 3 different disk that have this issue. I think they are all copy protected.
I am trying to backup the following disc:
Microsoft Rise of Nations
Sid Meier's Civilization 4 Warlords
Microsoft Empire Earth 3
When I dd any of these disc I get an iso that is 1.7GB and is not a valid iso image.
I was however able to back up other disc. How can I make an iso backup of the copy protected disc?
I would like to stress I do not condone pirating and I understand that some people may think this post is related to piracy. I simply want to make a backup of a disc that I have legally purchased
|
|
|
01-26-2010, 12:39 AM
|
#2
|
Member
Registered: Nov 2008
Location: San Francisco, CA
Distribution: Gentoo, CentOS
Posts: 71
Rep:
|
Read about the -clone option to readom in the readom manpage.
|
|
|
01-26-2010, 12:53 AM
|
#3
|
Member
Registered: Jan 2010
Distribution: Arch, Gentoo, FreeBSD
Posts: 64
Rep:
|
I have no problem with this (in fact, I do it all the time), but just wanted to say, the MPAA (and probably the RIAA too) has won in numerous cases stating they do not authorize customers to create copies of dvds even as backups. Recording copyrighted movies is illegal; there might be similar laws for games.
Also, readcd for people who wish to avoid cdrkit.
I don't know if these will really work for a copy protected disc though, daemon tools or alcohol 120% would probably work better.
|
|
|
01-26-2010, 01:01 AM
|
#4
|
Member
Registered: Nov 2008
Location: San Francisco, CA
Distribution: Gentoo, CentOS
Posts: 71
Rep:
|
I hadn't realized that readom was the cdrkit name instead of Schily's. Now I feel all unclean. Apparently my distro aliases readom to readcd.
|
|
|
01-26-2010, 01:15 AM
|
#5
|
Member
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567
Original Poster
Rep:
|
Thanks, I have never used readom. With a bit of tinkering I figured out the device can not be mounted to use this command.
I tried the following command on my Sid Meier's Civilization 4 Warlords disc
Code:
sudo readom -clone dev=/dev/sr0 f=Civ4Warlords.iso
This appeared to work but I am getting read errors so I don't think Iam going to get a valid iso. Here is the output of the above command
Code:
Read speed: 8468 kB/s (CD 48x, DVD 6x).
Write speed: 8468 kB/s (CD 48x, DVD 6x).
TOC len: 48. First Session: 1 Last Session: 1.
01 14 00 A0 00 00 00 00 01 00 00
01 14 00 A1 00 00 00 00 01 00 00
01 14 00 A2 00 00 00 00 4A 22 0B
01 14 00 01 00 00 00 00 00 02 00
Lead out 1: 335411
Capacity: 335411 Blocks = 670822 kBytes = 655 MBytes = 686 prMB
Sectorsize: 2048 Bytes
Errno: 5 (Input/output error), mode select g1 scsi sendcmd: no error
CDB: 55 10 00 00 00 00 00 00 14 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 26 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x26 Qual 0x00 (invalid field in parameter list) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 40s
Copy from SCSI (2,0,0) disk to file 'Civ4Warlords.iso'
end: 335411
Errno: 5 (Input/output error), read_cd scsi sendcmd: no error
CDB: BE 00 00 00 03 1B 00 00 35 F8 01 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 11 05 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x11 Qual 0x05 (l-ec uncorrectable error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 2.941s timeout 40s
readom: Input/output error. Cannot read source disk
readom: Retrying from sector 795.
.....................................
readom: Input/output error. Error on sector 831 not corrected. Total of 1 errors.
readom: -noerror set, continuing ...
................
readom: Input/output error. Error on sector 847 not corrected. Total of 2 errors.
readom: -noerror set, continuing ...
Errno: 5 (Input/output error), read_cd scsi sendcmd: no error
CDB: BE 00 00 00 03 50 00 00 35 F8 01 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 11 05 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x11 Qual 0x05 (l-ec uncorrectable error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 2.020s timeout 40s
readom: Input/output error. Cannot read source disk
readom: Retrying from sector 848.
...
readom: Input/output error. Error on sector 850 not corrected. Total of 3 errors.
readom: -noerror set, continuing ...
....................
readom: Input/output error. Error on sector 870 not corrected. Total of 4 errors.
readom: -noerror set, continuing ...
.......................
readom: Input/output error. Error on sector 893 not corrected. Total of 5 errors.
readom: -noerror set, continuing ...
Errno: 5 (Input/output error), read_cd scsi sendcmd: no error
CDB: BE 00 00 00 03 85 00 00 35 F8 01 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 11 05 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x11 Qual 0x05 (l-ec uncorrectable error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 2.001s timeout 40s
readom: Input/output error. Cannot read source disk
readom: Retrying from sector 901.
.........
readom: Input/output error. Error on sector 909 not corrected. Total of 6 errors.
readom: -noerror set, continuing ...
.......................
readom: Input/output error. Error on sector 932 not corrected. Total of 7 errors.
readom: -noerror set, continuing ...
Errno: 5 (Input/output error), read_cd scsi sendcmd: no error
CDB: BE 00 00 00 03 BA 00 00 35 F8 01 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 11 05 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x11 Qual 0x05 (l-ec uncorrectable error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 1.991s timeout 40s
readom: Input/output error. Cannot read source disk
readom: Retrying from sector 954.
..
readom: Input/output error. Error on sector 955 not corrected. Total of 8 errors.
readom: -noerror set, continuing ...
................
readom: Input/output error. Error on sector 971 not corrected. Total of 9 errors.
readom: -noerror set, continuing ...
.......................
readom: Input/output error. Error on sector 994 not corrected. Total of 10 errors.
readom: -noerror set, continuing ...
Errno: 5 (Input/output error), read_cd scsi sendcmd: no error
CDB: BE 00 00 00 03 EF 00 00 35 F8 01 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 11 05 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x11 Qual 0x05 (l-ec uncorrectable error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 2.001s timeout 40s
readom: Input/output error. Cannot read source disk
readom: Retrying from sector 1007.
........
readom: Input/output error. Error on sector 1014 not corrected. Total of 11 errors.
readom: -noerror set, continuing ...
...
readom: Input/output error. Error on sector 1017 not corrected. Total of 12 errors.
readom: -noerror set, continuing ...
.......
readom: Input/output error. Error on sector 1024 not corrected. Total of 13 errors.
readom: -noerror set, continuing ...
.......................
readom: Input/output error. Error on sector 1047 not corrected. Total of 14 errors.
readom: -noerror set, continuing ...
Errno: 5 (Input/output error), read_cd scsi sendcmd: no error
CDB: BE 00 00 00 04 24 00 00 35 F8 01 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 11 05 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x11 Qual 0x05 (l-ec uncorrectable error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 2.002s timeout 40s
readom: Input/output error. Cannot read source disk
readom: Retrying from sector 1060.
........
readom: Input/output error. Error on sector 1067 not corrected. Total of 15 errors.
readom: -noerror set, continuing ...
...
readom: Input/output error. Error on sector 1070 not corrected. Total of 16 errors.
readom: -noerror set, continuing ...
.......................................
readom: -noerror set, continuing ...
.......................................
readom: Input/output error. Error on sector 1109 not corrected. Total of 17 errors.
readom: -noerror set, continuing ...
Errno: 5 (Input/output error), read_cd scsi sendcmd: no error
CDB: BE 00 00 00 04 59 00 00 35 F8 01 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 11 05 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x11 Qual 0x05 (l-ec uncorrectable error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 2.017s timeout 40s
readom: Input/output error. Cannot read source disk
readom: Retrying from sector 1113.
.................
readom: Input/output error. Error on sector 1129 not corrected. Total of 18 errors.
readom: -noerror set, continuing ...
...
readom: Input/output error. Error on sector 1132 not corrected. Total of 19 errors.
readom: -noerror set, continuing ...
Errno: 5 (Input/output error), read_cd scsi sendcmd: no error
CDB: BE 00 00 00 04 8E 00 00 35 F8 01 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 11 05 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x11 Qual 0x05 (l-ec uncorrectable error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 1.995s timeout 40s
readom: Input/output error. Cannot read source disk
readom: Retrying from sector 1166.
...
It just keeps on and on with the errors. I don't trust the image so I terminated the readom process and tried my microsoft Empire Earth 3 disc. The Empire Earth 3 disc looks brand new, no scratches, no finger prints, nothing. It is a perfect disc.
Code:
sudo readom -clone dev=/dev/sr0 f=EmpireEarth3.iso
output:
Code:
Read speed: 16620 kB/s (CD 94x, DVD 12x).
Write speed: 944 kB/s (CD 5x, DVD 0x).
Errno: 5 (Input/output error), read toc scsi sendcmd: no error
CDB: 43 00 02 00 00 00 00 00 04 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 40s
readom: Cannot read TOC header
readom: Read fulltoc problems.
Any Thoughts?
|
|
|
01-26-2010, 01:19 AM
|
#6
|
Member
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567
Original Poster
Rep:
|
Quote:
Originally Posted by slightlystoopid
I have no problem with this (in fact, I do it all the time), but just wanted to say, the MPAA (and probably the RIAA too) has won in numerous cases stating they do not authorize customers to create copies of dvds even as backups. Recording copyrighted movies is illegal; there might be similar laws for games.
Also, readcd for people who wish to avoid cdrkit.
I don't know if these will really work for a copy protected disc though, daemon tools or alcohol 120% would probably work better.
|
readcd is the same thing as readom.
Daemon Tools and alcohol 120% are both Windows Apps. I do not own Alcohol 120% so I can't use that and Daemon Tools is just a virtual cd drive for mounting iso images. Daemon Tools does not create iso images.
|
|
|
01-26-2010, 08:36 AM
|
#7
|
Member
Registered: Jan 2010
Distribution: Arch, Gentoo, FreeBSD
Posts: 64
Rep:
|
Quote:
Originally Posted by worm5252
Daemon Tools and alcohol 120% are both Windows Apps.
|
True, but I don't like playing games through wine, so I do keep Windows installed.
Quote:
Originally Posted by worm5252
I do not own Alcohol 120% so I can't use that and Daemon Tools is just a virtual cd drive for mounting iso images. Daemon Tools does not create iso images.
|
Ah, I was thinking one of the pro versions of Daemon Tools, not the lite version, which you have to pay for as well.
Quote:
Originally Posted by worm5252
Code:
dd if=/dev/sr0 of=someimagesname.iso bs=2048 count=1234567
When I dd any of these disc I get an iso that is 1.7GB and is not a valid iso image.
|
isoinfo (and mount) will report this as an invalid iso, but if you try cdemu, you might find it mounts just fine. A problem arises if you ever try to burn this image: the game will say it's the wrong disc; although, this probably happens even when burning mdf/mds images simply due to the disc media itself. Anway, I've had games accept the image in iso form mounting through alcohol 52% though (I always have all copy protection emulation options on, so that may be why). So, I'd say try this again, mount the image through cdemu, and compare contents of the actual disc and virtual disc.
|
|
|
01-26-2010, 10:01 AM
|
#8
|
Member
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567
Original Poster
Rep:
|
Quote:
Originally Posted by slightlystoopid
True, but I don't like playing games through wine, so I do keep Windows installed.
|
Neither do I. I have a mixed environment. I have a physical Windows Vista box and I have XP running on VMWare Server 2. I do not have any of those applications so if possible I would like to figure out how to do this on Linux for as little cost as possible. I don't have anything against those applications, I have used them myself. A know someone who has A120 and I use Daemon Tools lite in corporate environments. I am storing the iso images on a Linux box and I would like to have the tools to make the iso images on this Linux box as well so that I don't have to be all over the place to get something done.
Quote:
Originally Posted by slightlystoopid
isoinfo (and mount) will report this as an invalid iso, but if you try cdemu, you might find it mounts just fine. A problem arises if you ever try to burn this image: the game will say it's the wrong disc; although, this probably happens even when burning mdf/mds images simply due to the disc media itself. Anway, I've had games accept the image in iso form mounting through alcohol 52% though (I always have all copy protection emulation options on, so that may be why). So, I'd say try this again, mount the image through cdemu, and compare contents of the actual disc and virtual disc.
|
Well if I have to use cdemu to mount it and I still may not work because of the copy protection stuff, then doesn't that defeat the purpose of making an iso backup? It is a good idea, but seems like an half way workaround for what I am trying to do. I am looking to make a 100% clone iso image of a copy-protected disc. Legally I should be able to do that under the "fair use" act. However copy-protection is designed to prevent me from being able to do that which is why I am in this situation.
|
|
|
01-26-2010, 10:23 AM
|
#9
|
Member
Registered: Jan 2010
Distribution: Arch, Gentoo, FreeBSD
Posts: 64
Rep:
|
the iso format will never be able to contain copy protection data; it's simply not capable of doing so. I've never heard or read of anyone successfully doing so and only that it's impossible. the most reliable format for making images of copy protected discs I've heard of is alcohol's mdf/mds. No matter what, this is going to require using software capable of copy protection emulation, i.e. alcohol 120% or daemon tools pro to create the image, or at least alcohol 52%, daemon tools lite, or cdemu to read the image. as far as copying copy protected data to another cd while still letting the application that looks for the copy protection information run, I've never been successful. good luck. I've started just adding nocd cracks onto my copies.
|
|
|
01-26-2010, 12:49 PM
|
#10
|
Member
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567
Original Poster
Rep:
|
Fair play, I appreciate the information. Maybe it is just my lack of what an iso can actually support but I thought an iso was nothing more than a snapshot of the disc itself. That's why I keep asking for a way to make an iso from a copy-protected disk. Am I wrong is assuming this can be done? From you previous post I would have to assume so. Do you have any documentation to support your statements? I hope I am not sounding disrespectful with that statement, I am not the best at wording things sometimes. I really just would like some documentation about it to help me understand more.
In the end, my goal is to be able to create a backup of my Disc to be stored on a file server in case something happens to the disc. If the disc fails or is lost I can just burn a copy of the back up and it is absolutely 100% identical to the original disc aside from the fact that it is on a burned disc instead of the original pressing. I plan on sotring these disc on a Debian server so having the ability to be able to create them directly on the sever would save me a considerable amount of time. A lot of software is actually on DVD now days so an image of the disk can be significantly large and having to copy that to the file server can take up a lot of time, and bandwidth.
It wouldn't be that big of a deal if my network wasn't plumed with cat5e instead of cat6 and if my server actually had a 1000Mbps network card. So I have a bottle neck with a 10/100Mbps network card on my server and a small bottle neck with using cat5e instead of cat6 on my network. otherwise I am a 1000Mbps network.
I am sorry for being difficult, I asked for an answer and I was given a solution. It just isn't the solution I want. There are a number of factors as to why I would prefer a Linux solution to this situation, but if I absolutely have to I can go buy a copy of Alcohol 120%. I know it will do the job, but it just adds a few steps in the process for me and makes it a bit more difficult.
I find it hard to believe there is not a Linux solution to this problem.
Thank you for the solutions you have provided, and once again I am sorry for being difficult.
|
|
|
01-26-2010, 01:52 PM
|
#11
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153
|
worm5252,
What you are asking is to make a "backup" to a "server", that can re-create the copy-protected disk when asked.
You cannot be ignorant of what this really means, and this is against the LQ rules particularly:
Quote:
Posts containing information about cracking, piracy, warez, fraud or any topic that could be damaging to either LinuxQuestions.org or any third party will be immediately removed.
|
If your copy-protected disk is damaged, I expect you can return it and have a new disk for a nominal handling fee. Best thing is to treat them with care, because you paid for them.
slightlystoopid's response at post #3 was spot-on, but you have decided not to heed the warning.
Please do so.
|
|
|
01-26-2010, 01:55 PM
|
#12
|
Member
Registered: Jan 2010
Distribution: Arch, Gentoo, FreeBSD
Posts: 64
Rep:
|
If there is a linux solution, I'd really like to know of it as well.
Quote:
Originally Posted by worm5252
Do you have any documentation to support your statements?
|
I really wish I did, as my understanding of how copy protection works is quite vague. All I know is what I've found on google which is nothing but forum posts like this one. Advice is generally: if it's not copy protected, isos are fine, if it is copy protected, try mdf/mds, with bin/cues falling somewhere in between working for some copy protection but not all.
|
|
|
01-26-2010, 01:57 PM
|
#13
|
Member
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567
Original Poster
Rep:
|
I understand what you are saying, but I have stated I want to make a back up which is legal under the "fair use" act. Therefore what I am asking for does not violate the LQ Rules. However if a moderator seems to think otherwise I invite them to delete this thread.
|
|
|
01-26-2010, 01:58 PM
|
#14
|
Member
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567
Original Poster
Rep:
|
Quote:
Originally Posted by slightlystoopid
If there is a linux solution, I'd really like to know of it as well.
I really wish I did, as my understanding of how copy protection works is quite vague. All I know is what I've found on google which is nothing but forum posts like this one. Advice is generally: if it's not copy protected, isos are fine, if it is copy protected, try mdf/mds, with bin/cues falling somewhere in between working for some copy protection but not all.
|
Ok, thanks for the information. I will google my heart out to see if I can learn more about what is and is not supported under the iso format.
|
|
|
All times are GMT -5. The time now is 10:19 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|