On Thu, 2003-01-16 at 22:09, zentara wrote:
On Thu, 16 Jan 2003 22:01:24 +0100 Paul Uiterlinden
wrote: On Thursday 16 January 2003 05:33, Anders Johansson wrote:
Assuming you've mounted your system on /mount
cd /mount chroot . (note the dot here, most people miss it. It's chroot<space><dot>) mount -a /sbin/lilo
should work.
The same can be accomplished a bit simpler (see also man lilo):
/sbin/lilo -r /mount
I didn't know about that one, nice :)
I'm not saying one way is better than the other. I just happen to like the -r option because it is short and sweat. Laziness is not necessarily a bad thing. ;-)
There is even another way to do it. :-)
1. boot from the rescue cd 2. mount /dev/hda3 /mnt (or wherever your root is) 3. /mnt/sbin/lilo -C /mnt/etc/lilo.conf
hm. Will that find the kernel in /mnt/boot if lilo.conf references
/boot/vmlinuz?
And both methods will still need to mount /boot if it's on a separate
partition.
--
Anders Johansson