On Thu, 16 Jan 2003 22:01:24 +0100
Paul Uiterlinden
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'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 That's the one I always remember, because it seems straightforward to my way of thinking. -- use Perl; #powerful programmable prestidigitation