logout
cp $LFS/boot/lfskernel /boot


cat >> /etc/lilo.conf << "EOF"
image=/boot/lfskernel
	label=lfs
	root=<partition>
	read-only
EOF


/sbin/lilo -v


cp /etc/lilo.conf $LFS/etc &&
cp $(grep "image.*=" /etc/lilo.conf | cut -f 2 -d "=") $LFS/boot
