Thank You for bearing with me. I tried your solution Ken. The -i switch for lilo almost worked. It still gave me error
FATAL: raid_setup : stat("/dev/sda") Failed.
Is this because LILO does not support SATA HD. But from README file I come to know that this is not the case.
Nevermind, so what I did is followind:
I used ISOLINUX as my boot loader and :
dd if=/dev/zero of=/tmp/boot288.img bs=512 count=5760 # create a 2 MB file
losetup /dev/loop2 /tmp/boo288.img # set it up as loop device
mkfs.minix /dev/loop2 # format the file
mount /dev/loop2 /img # mount some where
Then create isolinux dir in /img. Copy isolinux.bin, isolinux.cfg, boot.cat, my kernel to /img/isolinux. I get all the isolinux file from the boot cd it self. Then I modified isolinux.cfg to point it to my kernel.
Then I created iso image from this as
mkisofs -R -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 /img > cd.iso
Then I burned the iso image to CD and booted from it. Voila. My kernel booted almost perfectly. It did give me error about the /etc/sysconfig/clock script. But prompted me with a prompt to which I can login as root without password.
The only problem is now that I have to read the book from and HTML file (as the system does not have a PDF viewer :)
Thank You all for Your Support.
- Jigslinx
_______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
