Brief Notes for Installing LILO into the superblock of the boot partition
NOTE: This assumes the partition table and filesystem are intact
As the root user:
- Make a backup copy of /etc/lilo.conf eg. cp /etc/lilo.conf /etc/lilo.conf.20011027
- Edit /etc/lilo.conf:
Change the line that reads "boot=/dev/hda" to "boot=/dev/hda?" where /dev/hda? is the partition where your linux kernel lives. eg. on my system the kernel lives in /boot which is in hda1, so the new lilo.conf entry would be boot=/dev/hda1
- Run /sbin/lilo:
/sbin/lilo
- Install a boot manager in the MBR which points to /dev/hda1 as the boot partition
That should be it!
Back to Recover Master Boot Record (MBR) and Data from Hard Disk Drives
|