Mi blog lah! Το ιστολόγιό μου

3May/070

Ubuntu 7.04 DVD edition 4.3GB: done

Have been trying to download Ubuntu 7.04 DVD edition for the last few days. I use the amazing wget program with the command line looking like

wget -c http://www.mirrorservice.org/sites/cdimage.ubuntu.com/cdimage/releases/7.04/release/ubuntu-7.04-dvd-i386.iso

I started off the download in Windows, and over the course of the days I would interrupt and restart the download depending on what I was doing (the -c parameter lets you do that). To make it easier, I wrote a batch file with the command. I named the batch file CMD.BAT and I placed it in my home folder. All nice and well.

While the download was running, I wanted to open a new command prompt window, so I clicked on Start/Run...
Instead of getting a blank command prompt window, I get another instance of a wget download, for the same file. What does that mean? Well, YOU CAN BYPASS Start/Run... BY SIMPLY ADDING CMD.BAT IN YOUR HOME FOLFER.

Sadly, wget does not do any file locking, so I was expecting the worse. I let the download continue anyway and then I would check the checksum.

Download finishes, the checksum is wrong :(.

What to do now?

I kept a note on the file size when both wget commands where running on the same file. So, I should simply cut off the bad part and continue the download from there. Booted in Linux and I did a

split -b 3750000000 ubuntu-7.04-dvd-i386.iso

Two file were created, xaa and xab. I throw away xab and I rename xaa into ubuntu-7.04-dvd-i386.iso.
Now, ubuntu-7.04-dvd-i386.iso contains the correct content but is not the full size. So, I continue with

wget -c http://www.mirrorservice.org/sites/cdimage.ubuntu.com/cdimage/releases/7.04/release/ubuntu-7.04-dvd-i386.iso

Once completed,

$ md5sum ubuntu-7.04-dvd-i386.iso
ca609edf086eea0c821ba34a5c0a709d ubuntu-7.04-dvd-i386.iso
$

which is the same checksum reported at
http://www.mirrorservice.org/sites/cdimage.ubuntu.com/cdimage/releases/7.04/release/MD5SUMS

Success!

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

Comments are filtered through Akismet for spam detection. Use of a non-personal web site or blog URL in the field below and/or comments that are off-topic or personal attacks will likely be removed at my discretion. Your opinions are welcome but please keep them polite and constructive.

No trackbacks yet.