Re: How to repair lilo mbr?

From: Bill Unruh (unruh_at_string.physics.ubc.ca)
Date: 08/27/03


Date: Wed, 27 Aug 2003 01:22:47 +0000 (UTC)

Geoff <harvest.time@ntlworld.com> writes:

]Hi,
]A reinstallation of Win98SE has overwritten the mbr on my hard drive, now I
]cannot boot into SuSE 8.2. I use the cd written from boot.iso in rescue
]mode and I can log in as root but when I run lilo it complains it cannot
]find /etc/lilo.conf. I have also tried mounting /dev/hda5 as reiserfs to
]/mnt which is successful and running lilo -C /mnt/etc/lilo.conf which was
]also unsuccessful. Can anybody help me with this? Thanks for looking.

With the rescue disk loaded

mount the disk partition containing /etc
mkdir /newroot
mount /dev/hda1 /newroot
lilo -r /newroot

and there you are.



Relevant Pages

  • Re: "kernel panic" -- any help/ideas?
    ... > drive and now Suse does not boot from LILO although I ... > tried adding it to the lilo menu during the Mandrake install). ...
    (alt.linux)
  • Re: Urgent - I am new at this, and the Suse update function wants me to
    ... display this message if you are indeed running Lilo. ... It's a bit of a problem, basically the way Lilo works if you change the ... to do this can result in a system that is unable to boot. ... Trouble is that if you are running the default bootloader in SuSE of Grub, ...
    (alt.os.linux.suse)
  • Re: The biggest linux question of the month.
    ... > I'm talking about making one when you CAN"T boot into suse. ... If you've reached runlevel 3 you have can get into suse. ... or to create a boot floppy with LILO ... Install LILO to the floppy disk with the following command ...
    (alt.os.linux.suse)
  • Re: "kernel panic" -- any help/ideas?
    ... > drive and now Suse does not boot from LILO although I ... > tried adding it to the lilo menu during the Mandrake install). ...
    (alt.linux)
  • Re: Cloning , Ghosting SuSE 9.1
    ... >> Exactly a question I asked myself just after my first Suse installation, ... >> ramdisk) to act as a mount point, and then mount the partition where you ... partition you're insterested in. ... You could do that the first time you boot the RIP CD, ...
    (alt.os.linux.suse)