Re: Need help with MBR.
On Sat, Jun 17, 2006 at 17:41:47 -0400, Zach wrote:
> Hi,
>
> I am running a dual boot system (Debian "testing" with 2.4.27 kernel
> and Windows 98 SE) and I was using LILO to give me a boot menu. Well
> recently I had to reinstall Windows 98 and it installed it's loader
> into the MBR so my Linux boot block in the MBR was wiped out and now
> LILO menu doesn't come up - it just boots directly into the Windows 98
> menu.
>
> In the past when I was running 2.2.20-idepci kernel I was able to get
> back into my Debian system using the Debian Install Disk 1 and at the
> boot prompt typing : "rescue root=/dev/hda2" (Windows 98 partition is
> /dev/hda1), however it seems this no longer works since I upgraded to
> the 2.4.27 kernel. It complains about "kernel is too old" or something
> to that effect. I used a Morphix (Debian based live CD distro) disc
> and was able to mount /dev/hda2 but it won't let me run lilo (there is
> no LILO installed with Morphix), I need a way to boot into my Debian
> system and run LILO so it reads my /etc/lilo.conf and writes a boot
> block into the BIOS' MBR (master boot record). Can someone please tell
> me explicitly how to do this???
You need to mount your root partition and chroot into it. An example
for using Knoppix as a rescue CD:
http://tinyurl.com/ldwn8
(This points to the relevant section of the wiki on www.knoppix.net; I
used tinyurl.com since the original link is almost 300 characters
long.)
--
Regards,
Florian
Reply to: