Don't run lilo inside chroot

Gerard Beekmans gerard at linuxfromscratch.org
Wed Mar 14 06:22:40 PST 2001


On March 14, 2001 09:02 am, Thomas 'Balu' Walter wrote:
> How do you want to do that, Gerard?
>
> Create a bootdisk, boot from that and install lilo then?
>
> cp the created kernel to /boot from the host-system and install lilo
> from there?

I was thinking more in the lines of using the host system's lilo. Add LFS to 
your debian /etc/lilo.conf. Then 
	cp /etc/lilo.conf $LFS/etc
	cp /boot/<all kernel images> $LFS/boot
	/sbin/lilo
	<reboot into LFS>

When in LFS you can run /sbin/lilo again so that the LFS lilo version is 
activated (probably a newer version than the host distro is using)

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-





More information about the lfs-book mailing list