Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Knoppix Help Forum
Reload this Page loading Knoppix and then using rsync to fix checksums on files downloaded under XP
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Knoppix Help Forum For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Reply
 
Thread Tools Display Modes
Old 07-16-2008   #1 (permalink)
Just Joined!
 
Join Date: Jul 2008
Posts: 4
loading Knoppix and then using rsync to fix checksums on files downloaded under XP

This activity was based on some work of Gregory K. Meyer which is available on the net and which looks at updating files and fixing errors in Mandrake iso downloads.


The problem I had was essentially the same that downloads of large Linux iso's were unreliable and I was looking for a method to deal with this problem of corrupted files.


The operating system we normally use for Internet access is Windows XP so I decided to try booting a live KNOPPIX disk to see if I could fix the problem using rsync.

Booting a KNOPPIX live DVD on the machine which usually runs XP I found that I had immediate access to the net as the Vigor2800 router stores the account settings - so far so good.

The Komander GUI was then used to mount the disk partition on which the iso was stored.

The partition was set to read/write in the Komander GUI. Right click the disk icon and select the option.

A commandline window was then opened and the directory was changed to the directory which held the iso.

At some point I created a test file using vi to see that I could write to the directory.

This command was then issued:

rsync -Pz --stats --inplace --ignore-times (continued on next line)
rsync://mirror.<provider address> (continued on next line)
fedora-linux-releases/9/Fedora/ppc/iso/Fedora-9-ppc-DVD.iso .

[the final <space> followed by a period instructs the update to occur in the selected directory]
[--ignore-times is an effort to get past short cut checking based on just the time stamp]

The command appeared to run to completion and gave stats on the data transferred etc.

When I checked the file with md5sum I got the result: ebaa71d96d38afe7c4ff33001d8c75f6

This is as it was - no change.

The checksum listed on the ftp server is given as: ff803781d4bf748a23dbfed812c592de78907739

If I burn the DVD and try to install it then the installer complains that the file is corrupt.

It seems that the file is actually not being updated even though it says it is.

I've seen reports that KNOPPIX doesn't deal with ntfs file systems.

I am aware of other postings using: rsync -av rsync options.

Anyone got any ideas on why no update appears to be taking place?

Would it all work if I moved the file to a device which was not ntfs formatted?
puddledud is offline   Reply With Quote
Old 07-18-2008   #2 (permalink)
Just Joined!
 
Join Date: Jul 2008
Posts: 4
addendum

Further exploration reveals the following:

I was using md5sum rather than sha1sum to calculate the checksum and this was the reason for the different checksum values. It had probably been correct for a long time - perhaps even from the beginning.

Knoppix 5.3.1 is a better alternative to Knoppix 5.1.1 which is what I started with. It identifies the hard disk partition as hda2 rather than sda2. The machine I'm using has 1GB RAM.

The mirror site I was using has some rsync options turned off - importantly --checksum.

Hence, I cannot say with certainty that the checksum was corrected but the technique is usable - certainly the time stamp of the file was updated after running rsync on the iso.

Ironically, the Fedora iso I was working on is still rejected as corrupt by the ppc installer.

Anyone using rsync should be aware that there might be a considerable delay between the time that the mirror sends an acknowledgement and the time that the output starts to appear on the screen but once it commences the download it all happens relatively quickly.
puddledud is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 08:39 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0