How To Replace Grub with Lilo      2003.06.25 @ 8:55:42 PM
Grub is the bootloader installed by default with RedHat. It is nice when it works, but I have experienced problems with memory detection and have read about other problems as well.
If you are experiencing problems with Grub and want to give Lilo a shot, here is a quick guide:

-Boot your system from the CD
-At the boot prompt type: linux rescue
-When you get to the system prompt, type:
chroot /mnt/sysimage
mkdir /mnt/sysimage
mount /dev/hda1 /mnt/sysimage

Where /dev/hda1 is your boot device.
This will be /dev/sdX for SCSI devices and /dev/mdX for RAID systems.
If you have a boot partition, you will have to mount it as well. For example:
mount /dev/hda3 /mnt/sysimage
mount /dev/hda1 /mnt/sysimage/boot


-Run rdev /boot/vmlinuz, you will get the root device. If it is not the right one, force it adding the parameter (ie rdev /boot/vmlinuz /dev/hda)
-Configure your /etc/lilo.conf (sorry I will not cover the details of lilo.conf here. I assume that you already have this file on your system)
-Type lilo and hit ENTER.

You can now boot your system

Enjoy,
Julian

All knowledge and software published in this website is released under the GNU General Public License (GPL)