LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-11-2003, 04:35 PM   #1
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Question Fixing ISOs


Ok, I persuaded my college's admins to download me the Mandrake 9.1 isos (they want to test it now too ), 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'?
 
Old 04-11-2003, 04:49 PM   #2
onurb
Member
 
Registered: Dec 2002
Posts: 263

Rep: Reputation: 30
Everything you want to know about iso's, downloading, chesksums, burning:
http://www.linuxiso.org/
 
Old 04-11-2003, 05:16 PM   #3
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
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:
2:11:56 PM #10 Phase 24 File dlgbrnst.cpp, Line 1550
Caching of files started

2:19:47 PM #11 WINPFILE 31 File winpfile.cpp, Line 342
A device attached to the system is not functioning.

H:\Mandrake\RPMS\kernel-enterprise-2.4.21.0.13mdk-1-1mdk.i586.rpm

2:19:47 PM #12 TRANSFER 4 File geniso.cpp, Line 4914
Error reading file
H:\Mandrake\RPMS\kernel-enterprise-2.4.21.0.13mdk-1-1mdk.i586.rpm

2:19:51 PM #13 Phase 40 File dlgbrnst.cpp, Line 1249
Aborted by user

2:19:51 PM #14 Phase 27 File dlgbrnst.cpp, Line 1550
Caching of files aborted

2:19:51 PM #15 Text 0 File Scsicmd.cpp, Line 386
SCSI not using temporary buffers
20 out of 20 temporary buffers allocated

Last edited by Proud; 04-11-2003 at 05:22 PM.
 
Old 04-12-2003, 05:37 AM   #4
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Rep: Reputation: 30
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
 
Old 04-12-2003, 08:02 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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.
 
Old 04-13-2003, 06:39 AM   #6
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
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?
 
Old 04-13-2003, 08:28 AM   #7
Shak
Member
 
Registered: May 2002
Location: Huddersfield
Distribution: Redhat (7.2, 7.3, 8.0), Debian, Slackware, Gentoo, FreeBSD
Posts: 169

Rep: Reputation: 30
Maybe you could try the Windows MD5 checker called MD5 Summer, a quick trip to Google [google.com] will show a download location

Shak
 
Old 04-13-2003, 09:24 AM   #8
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

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

Last edited by Proud; 04-13-2003 at 09:26 AM.
 
Old 04-13-2003, 09:31 AM   #9
Shak
Member
 
Registered: May 2002
Location: Huddersfield
Distribution: Redhat (7.2, 7.3, 8.0), Debian, Slackware, Gentoo, FreeBSD
Posts: 169

Rep: Reputation: 30
On Linux you can use the command mkisofs to make an ISO

Shak
 
Old 04-13-2003, 09:36 AM   #10
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
Cool, ok, off to try it now
 
Old 04-13-2003, 09:41 AM   #11
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
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
 
Old 04-13-2003, 10:17 AM   #12
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
Oh there's no need for that, Mandrake kindly automatically mounts all my drives for me by default
Note: Woohoo I got Opera to work with my paranoid cookie settings
Using X-cd-roast to try and copy the cd, I got:
Quote:
Capacity: 333238 Blocks = 666476 kBytes = 650 MBytes = 682 prMB
Sectorsize: 2048 Bytes
Copy from SCSI (0,2,0) disk to file '/cd_image_store/track-01.img'
readcd: Input/output error. Cannot read source disk
readcd: Retrying from sector 133120.
.
.
......
......
......
......
......
......
......
.....
~
~
-
~
~
~
+
~
~
~
-
~
~
~
+
~
~
~
-
~
~
~

readcd: Input/output error. Error on sector 133168 not corrected. Total of 1 errors.

Time total: 152.338sec
Read 266240.00 kB at 1747.7 kB/sec.
I think I might need something like dd to specify which sector to jump if I want to directly copy what I can. Far easier to copy the files to a new dir and attempt to make my own iso.
 
Old 04-13-2003, 10:48 AM   #13
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
or just download new iso's.
 
Old 04-13-2003, 10:53 AM   #14
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
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.
 
Old 04-13-2003, 01:24 PM   #15
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

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

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

Last edited by Proud; 04-13-2003 at 01:37 PM.
 
  


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
Need help fixing gnome emptystrings Linux - Newbie 7 12-10-2004 07:05 PM
Fixing XP rml54321 LinuxQuestions.org Member Success Stories 2 09-16-2004 10:54 AM
Fixing RH 9.0 desktop walter Red Hat 2 02-05-2004 07:52 AM
Help fixing glibc.. pilot1 Linux - General 41 06-07-2003 07:22 AM
X Failure fixing Stephanie Linux - General 1 05-11-2001 11:20 AM

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

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

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