[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: disaster with LILO, Debian Linux, Windows, and booting



On Sun, Jan 16, 2005 at 12:41:00PM -0500, Spongebob wrote:
> I did something wrong installing a newly-compiled kernel. Unfortunately, I 
> forgot to back up /boot, and now I have a mess. I think the map file got 
> corrupted.
> 
> I now have a system which will either boot windows and nothing else or will 
> print an L and halt depending upon which partition I set with lilo -M.
> 
> Windows is on /dev/hda1, Linux root is on /dev/hda4. In lilo.conf, 
> boot=/dev/hda
> root=/dev/hda4
> 
> How do I fix this? I'm using Timo's rescue disk to give me access to my 
> hard disk. (Using rescue root=/dev/hda4 off the Debian install cd's doesn't 
> work for some reason. It gives me an "unable to open initial terminal" 
> error and freezes.)

Boot using your rescue disk and do a chroot to your root partition.
Then edit your lilo.conf file to boot your old kernel again.  Rerun lilo
to activate the changes and reboot.

- Ryan

Attachment: signature.asc
Description: Digital signature


Reply to: