You may be able to recover the download ... but you have to make sure you
do it from the image you started with ;)
You have a partial file on your hard drive, and know approx. how much of
you you need to trim off the end to make it "ok"....
you could do something like this:
/backup/cdwork (/dev/pts/2) dwild@argo> ls -l mandrake70.iso
-rw------- 1 dwild adm 327155712 Jan 16 22:06 mandrake70.iso
/backup/cdwork (/dev/pts/2) dwild@argo> du -m mandrake70.iso
312
/backup/cdwork (/dev/pts/2) dwild@argo> dd if=mandrake70.iso \
of=recovered_mandrake70.iso bs=1M count=310
^^^^^^^^^^^^^^
This would take the first 310MB of the file mandrake70.iso and save it in
recovered_mandrake70.iso ... if you had continued the wrong file for 30s
you probably didn't get more than 100-200k or so...but to be on the safe
side trim 2m off what "du -m" tells you (du always "rounds" up ..
well it doesn't really round, see the man page if you want to know what
it's really doing =) ) Remember to rename your original so you have a
backup copy, then rename your new file (recovered_mandrake70.iso) to
the real name. You should then be able to resume your download and have a
valid CD image when you're done....check the "md5sum" output when you're
done to make sure. Also make sure you're getting the same copy of the iso
or you'll waste your time.
-dws
PS I tested this using dd version 4.0 (dd --version) and ncftp -- picked
"resume" after trimming a 1008k file to 950k. md5sum, diff, and gunzip -t
all showed the trimmed then resumed file to be error-free. welcome to the
wonders of linux black magic ;)
On Sun, 16 Jan 2000, Christopher De Long wrote:
> Date: Sun, 16 Jan 2000 21:41:53 -0500
> From: Christopher De Long <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: [Cooker] 2 Cows were in a field
>
> Ok... I have been downloading mandrake 70.iso for 3 days now. I know silly
> of me to do huh? When I was downloading the Oxygen ISO at 90% the final came
> out...so I could not resume for some reason.A friend of mine has dsl and so
> he downloaded it for me and put it on a personal ftp server. I was able to
> resume and finish. I installed it so I could test it while I confirmed the
> new ISO was indeed the final version release. This was confirmed. So I
> started downloading the latest ISO from the 2 cows site. everything was fine
> .. until.. at 90%.... the ftp server disconnected and wouldn't let me
> reconnect. So I keep trying to connect.I finally do reconnect. Low and
> behold there is a new ISO file in the folder. Mandrake 6.1.1 ISO. before I
> realized ... since I was getting use to resuming and resuming. I selected
> the mandrake6.1.1 file. I chose resume ... Well normally if it was the WRONG
> file I was resuming to it would tell you. well it didn't so for about 30
> secs I resumed the 6.1.1 file to the 7.0 file. What I am asking is this. My
> logic says the download is now corrupted. My stubborness says... finish the
> download anyway. Is logic correct?
>
> Take Care all
>
> Chris
>
> PS anybody here use the g400 max with Mandrake 7.0?
>
>
>
>