So sprach �Hoyt� am 2001-09-04 um 11:00:46 -0400 :
> >  - run lilo chrooted :
> >           $ chroot /mnt/disk/ /sbin/lilo
> >  - reboot and you should get lilo menu
> >
> 
> Won't
>  /sbin/lilo -r /mnt/disk  
> do the same thing?

Not quite.  In your example, you start lilo from the "real" root and
have it run chrooted in /mnt/disk.  In the example above, the chroot is
done before lilo is started, which means, that /sbin/lilo uses the
/mnt/disk/sbin/lilo (if / is the real root/the same root as your /).

Your example *might* give problems if the lilo versions do not match.
*Might* means, it *might* work without any hassles, but chroot /mnt/disk
/sbin/lilo is safer, IMO.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:       http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die g�nstige Art an Linux Distributionen zu kommen
                Uptime: 1 day 8 hours 25 minutes

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to