Fixing ISOs
Ok, I persuaded my college's admins to download me the Mandrake 9.1 isos (they want to test it now too :D), but they could not work out how to check the files against md5sums. Instead we resorted to just burning the cd-rs as it was the last (half)day of term.
When attempting to create iso images back from these cds via Nero in windows, it fails at 54%, trying to read some mandrake kernel rpm. Hopefully I can keep reading beyond this error in the disk in linux. :( How do I create iso files from my cds in Linux? How do I check those against checksums? How can I fix any slight errors in downloads? Via 'rsync'? |
Everything you want to know about iso's, downloading, chesksums, burning:
http://www.linuxiso.org/ |
Cant find any specific help about how to read all but a few knackered bytes of a cd, then make and ISO of that, and fix it with rsync :S
Thanks though. :) Edit: Nero log: Quote:
|
MD5SUM can be run from the command line:
Type: md5sum filename.iso After a minute or two, it will return a series of hex numbers. Compare the numbers that you get with the numbers of the source. Make sure they match. linuxiso.org has the MD5SUM keys for each disk. As far as burning an ISO image on Linux: Type: cdrecord -scanbus Note the numbers of your cd burner device (for example mine are 0,0,0 ). Type: cdrecord -v -speed=4 -dev=0,0,0 filename.iso |
the md5sums are the underlined parts to the right of the isos to download - they open in a seperate page, compare those numbers to the ones you have.
|
Ok, but I still need to convert my cd to an iso image file first, and that might require skipping a bit of the disk.
Would it be possible to copy the files off the cd, download the few which cant be read, then rebuild the iso from the files (and checksum it), then burn working cds? :) |
Maybe you could try the Windows MD5 checker called MD5 Summer, a quick trip to Google [google.com] will show a download location
Shak |
Yes, I know, we tried that at college. Thanks anyway.
My problem is making an iso of the cd to be able to check it. Anyone know if reading off all the files I can+downloading others wont work? |
On Linux you can use the command mkisofs to make an ISO :)
Shak |
Cool, ok, off to try it now :D
|
You should be able to mount the iso like a regular cd or hd.
I think the command is mount -t iso9660 -o ro, loop0 mandrake.iso /cdrom All the files in the iso should appear exactly like they would on a cd. When your done just use the umount /cdrom command. I just knew buying all those books would come in handy:D |
Oh there's no need for that, Mandrake kindly automatically mounts all my drives for me by default :cool:
Note: Woohoo I got Opera to work with my paranoid cookie settings :D Using X-cd-roast to try and copy the cd, I got: Quote:
|
or just download new iso's.
|
I only have a 56K, hence downloading them at college. I'm not that stupid.
I still have 12 days til I can use their broadband again, I did plan to install Mdk9.1 this hol. |
Ok, after using Nero to make iso images of disks 2 and 3, and copying all I could from disk1, I just need to get:
kernel-enterprise-2.4.21.0.13mdk-1-1mdk.i586.rpm koffice-1.2.1-8mdk.i586.rpm xcin-2.5.2.3-18mdk.i586.rpm My Mdk9.0 disk doesnt have them. Rpmfind.net has naff ftp links. Hopefully I just have to download those files, make a new cd1, and check all three isos :cool: Edit: rpm.pbone.net resulted in all 3 files, and the ftp-linux.cc.gatech.edu mirror seems to work fine. :) Recorded size inconsistent compared to that reported by resumer app. The odd size is the same from a few mirrors tested... Edit2: Nope, that mirror isnt working :( |
Long live ftp.nluug.nl ;)
Still those shorted file lengths... |
I _could_ send them you, if you mail me a download location and your address...
Shak |
It's ok, I've just got to finish this 40min download and I'm ready to build the first iso. Then if they all check out good I'm ready to install (the next challenge, tri booting) :D
So really it worked out as intended, I abused the college connection to get the bulk of the files. ;) Might buy 9.2, I forked out for 9.0PowerPack, was worth it for the conexant modem drivers and so many apps like StarOffice, amongst other things :) So I just have to make this set of files and directories into an iso for it to be bootable? |
Mandrake site:
Quote:
Quote:
|
I think ISO's contain other information than just the files in them. It could be irrelevant information like timestamps or order to burn the files on the disk that's throwing off your MD5sums. Try burning the ISOs and see if the disk works, if it does you're probably all set. The one thing to be worried about would be if you've built these ISO's from files on a disk (which it sounds like you have) and didn't put in information for a computer to boot off of the CD with (which the originals probably did). I don't know how to put in booting information, but most distros will have images for boot floppies somewhere on the disk that you can write to a those, boot off of those, and then use your non-bootable CD.
|
The second and third disks are simple iso files downloaded and burned straight off. They dont lock up either so the only reason for the checksums failing could be errors in the download or errors in copying the cd to iso again.
I didnt want to risk using a possibly dodgy disk to install an OS, but as I wont be affecting my Lilo install, I should be able to boot into my current OSs atleast. :) I noticed that when copying a file off cd1, it's creation time was 1 second later, consistently. :( Could I use touch to alter the timestamps? The cd1 has boot images in it's /images but the install.txt says these are for making boot floppies. It says the cd should be bootable, so I think I should just be able to burn the iso to boot, and it seemed to work at college ;) |
Ah f**k it, my official purchased 9.0cd1 checksummed to give me:
a9a3a89df50bb6dd035122ec61133dce Mandrake90-cd1-inst.i586.iso An official French ftp mirror quote: f7a093af34b8cbe1abc165213fea9deb Mandrake90-cd1-inst.i586.iso So either that cd's dodgy but worked fine, or Nero can't make iso files from cds. :( Either way I cant work out what isnt working, and as the 9.1cd1 worked when accidentally booted at college (great default setting no? ;)) I'll just work out how to repartition my hd to take another OS. |
Quote:
Personally, when I have a known good .iso that I think I may want to make copies of I simply copy the file itself to a cd - I don't make a bootable disk out of it. I works very well and there is no fear of corruption. |
But are all bootable disks El Torito ones?
It has quite a few exactly 1,440kb floppy images in it's /images directory. I never started with a known good 9.1 cd, and cant seem to verify these ones as being so :( |
Rather then ramble about a topic that I am not an expert on I will simply point you to where I go when I have bootable cd questions http://www.linuxdocs.org/HOWTOs/Boot...OWTO/pros.html I hope you haven't been directed there 1000 times already.
Unless you REALLY want to buy the 9.1 disks I could dl em and send em to you. Shoot me an email if you want to go that way. I have to admire your tenacity in trying to get those things to work but HAY CARAMBA! what a nuissance! |
After I found this page about correctly transfering data between cds and harddrives, I just slapped my dodgy install cd in and avoided the 3 broken packages :rolleyes:
Managed to hack my system back to almost fully functioning ;) |
All times are GMT -5. The time now is 01:28 AM. |