[ltp] reinstalling LILO (RHL+i1460)

James Hawtin linux-thinkpad@www.bm-soft.com
Thu, 7 Dec 2000 18:11:45 +0000 (GMT)


Go to another computer with linux on it

compile up a minimal kernel

make bzImage 

will put that onto the floppy disk

Then use rdev

rdev /dev/fd0 /dev/hda2
              ^^^^^^^^^ change to where ever your root was mounted......

rdev -? is very useful too.

You now have a boot floppy and it will boto your system, now just run
lilo!

Another way...

boot from a rescue CD.

mount up all your drives on /mnt as they would look normally...

You might have to find chroot on your mounted drives

chroot /mnt /bin/sh
cd /
cd /
hash -r
lilo
exit
umount the drives.

boot up your system...

Read this....

http://www.linux.org/docs/ldp/howto/mini/LILO.html

I found it very useful

James



----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html