On 2/9/07, Marcos Guglielmetti <marcospcmusica@gmail.com> wrote:
Hola Mexican Strat:
> Thanks for the md5 report.
> I've repaired my ISO download!

Well: i didnt knew your about method, it would be nice to publish it on the
FORUM or into the public WIKI, if you want to, cheers

# Here's the method:

# This one-liner calculates the md5 for each 1-meg block of the ISO file:

$ for a in `seq 0 697`; do (dd if=musix079b19.iso bs=1M count=1
skip=$a 2>/dev/null | md5sum >> /tmp/MusixGNU+Linux- 0.79b19.md5sum.1M); done

# I compared your report with my report, and they are the same except for line 140.
$ diff yourfile.txt myfile.txt

# So, the first 139 megs are correct
$ dd if=corrupt.iso of=resume.iso bs=1M count=139

# The remainder of file after block 140 is also correct
$ dd if=corrupt.iso of=remainder.iso bs=1M skip=140

# Download block 140
$ wget -c <URL> -o resume.iso

# ctl-C after 1-Meg of file xfer

# reassemble the file

$ dd if=resume.iso of=repaired.iso bs=1M count=140

$ cat remainder.iso >> repaired.iso

$ md5sum repaired.iso
23a524510427ceba7da4a8c919483ff7

# All good