Re: Small faux pas with LILO
On Sat, Aug 21, 1999 at 12:08:31PM +1000, Andrew Pollock wrote:
> Hi,
>
> I have a PC with two hard drives, /dev/hda and /dev/hdb
>
> I installed Linux on /dev/hdb and inadvertantly set boot=/dev/hda1 instead
> of /dev/hda in /etc/lilo.conf and now I'm having trouble booting that
> partition (a Windows 95 partition). Have I done inrepairable damage to that
> partition or can I recover from this boo boo?
>
I've made this mistake too!
LILO should have backed up the boot sector of /dev/hda1 to
/boot/boot.0301. So, this incantation of dd should get things back the
way they were:
dd if=/boot/boot.0301 of=/dev/hda1 bs=512 count=1
--
Stephen Pitts
smpitts@midsouth.rr.com
webmaster - http://www.mschess.org
Reply to: