Re: Ruined boot sector on X20/W2K

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Tue Jan 30 2001 - 17:01:59 EST


On Tue, 30 Jan 2001, I Lee Hetherington wrote:

> If Mandrake used LILO to install, there very well might be a backup in
> /boot/boot.0800 or something like that. You might want to consult the
> LILO documentation and/or a net search to see if they say how to restore
> this (probably using dd).
>
> If you have real W2K media, it has boot floppies and a CD. You can boot
> from floppy to access the CD, and then run recovery mode. It might be
> able to fix this up. Then again, it might demand that you had made an
> emergency recovery disk from within W2K, something I learned the hard
> way once.
>
> --Lee Hetherington
>

Yes. Just get back up using the floppy boot disk that you must
have made. Then look in /boot. You should see boot.0800. This
is 512k in size. It is the original boot sector. Now, make damn
sure that you know the raw device used to boot the machine!

It is probably /dev/hda if you have IDE drives or /dev/sda if
you have SCSI, just do `od /dev/whatever` and if the Disk drive
LED comes on, you have found it.

Then, simply:
        cp /boot/boot.0800 /dev/whatever

Since boot.0800 is already the correct length, you don't have to
use anything else.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.0 on an i686 machine (799.53 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 31 2001 - 21:00:36 EST