Re: How do you repair a bad LILO?
- To: firstname.lastname@example.org
- Subject: Re: How do you repair a bad LILO?
- From: email@example.com
- Date: Mon, 26 Nov 2001 05:38:18 -0500
- Message-id: <E168J9W-0000y7-00@sidekick>
- Reply-to: firstname.lastname@example.org
- In-reply-to: <000401c1763f$dc9e8cc0$04a8a8c0@idgie>
- References: <001301c1763a$ba317a30$04a8a8c0@idgie> <1006753037.8854.8.camel@zaphod> <000401c1763f$dc9e8cc0$04a8a8c0@idgie>
In linux.debian.user, you wrote:
> Thanks, Shaya. I did that and that's when it told me that lilo.conf didn't
> exist. At this point I suspected that the absence of lilo.conf might
> indicated that the problems with my filesystem were more severe than I
> thought so I did a reinstall ... however, is there a way to run without
> lilo.conf being present? I mean, create a new one?
When you run this using a rescue disk you have to use a switch to let it run
from another root system.
/sbin/lilo -r /dev/hdxy (where xy is the drive letter and partition number
of the root directory.)
This assumes that you have /boot and /etc on that partition. I don't know
if this will work if you have a separate /boot partition.
The other thing you can do is to boot the rescue disk using root=/dev/hdxy
and then run /sbin/lilo.