I decided to upgrade Linux on my dev box this weekend. The upgrade crashed in the middle.
Argh!
The DVD burn was done on my Powerbook and verified fine. Maybe it was a bad download?
Linux distributions usually have a text file containing a special number called a checksum which can verify that every bit on the download was correct.1 Reading the text file, it appears that the hash used to verify Fedora’s download is an algorithm called Secure Hash 1 (SHA1):
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 2f151a7329846da685c2a72fcb40eba3e8a355a0 FC4-i386-DVD.iso aa82f4be0be901777537b6ad0906c4f3c2d84bc3 FC4-i386-SRPMS-disc1.iso …
To verify this, you need to run sha1sum which isn’t installed by default. Use Fink (via Fink Commander) to install textutils. Then open the Terminal (located in the Utilities folder: Cmd-Shift-U) and run it.
$ sha1sum FC4-i386-DVD.iso 1c2ebfbc0d76963f4abfd2f5277531651302234c FC4-i386-DVD.iso
(The “$” is part of the prompt. The second word is the filename. To get to it easily navigate to the file in finder and just drag it to the Terminal window, the Mac will do the rest.) Notice it doesn’t match.
Argh!
I downloaded Bits on Wheels (nice interface) and the the Fedora Core 4 x86 DVD torrent. Set Bits on Wheel up, open the torrent, quit it (it will have created a directory somewhere for the download), overwrite the iso file with my broken one, and restart Bits on Wheels. This is a nice way of getting the bad bits fixed without going through a complete download. The torrent file will help Bits on Wheels isolate which blocks are bad and redownload only them.
$ sha1sum FC4-i386-DVD.iso 2f151a7329846da685c2a72fcb40eba3e8a355a0 FC4-i386-DVD.iso
Sweet!
It turns out I burned it on a DVD-RW, Caitlin once bought to do backups. Erase and re-burn and install. Upgrade complete.
Sweet!