RE: [ILUG] [slightly OT] Linux and NT

From: John Kelly (john at domain frontend.com)
Date: Wed 03 May 2000 - 10:58:51 IST


: Kev writes:
:
: > -u copies the last saved mbr back, so if you've run lilo more than once,
: > say if you rejigged things after installing, it won't restore
: the "MS mbr"
: > (tm). You really need the *proper* NT way of doing things for
: this one ...
:
: Not quite - LILO checks timestamps to see whether it needs to do another
: backup or not, and, unless you did something weird, should restore the
: 'original' MBR.
:
: Colm

Doesn't LILO keep a copy of your original MBR in /boot/boot.0300?
(I think it's /boot/boot.0300 for IDE drives, and /boot/boot.0800 for SCSI).
If it does... you could try

dd if=/boot/boot.0300 of=/dev/dev/hda bs=446 count=1

But I guess this is more a last resort than anything.

- John



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:00 GMT