Ensure you have the Rescue disks acailable (boot and rescue diskettes)
Check the boot order in the BIOS ensuring floppy drive is first in the sequence
Insert the boot diskette in the floppy drive and boot. At prompt enter:
LILO: rescue
Insert the rescue diskette when prompted
Run the following commands:
fdisk -l /dev/disk - to list partitions and their device
files (where disk would be hda for the first IDE disk, sdb for the
second SCSI disk, etc) e2fsck -y device_name
Create a mount point under /mnt and mount partitions as follows:
mkdir /mnt/mount_point mount /dev/device_name /mnt/mount_pointmkdir /mnt/mount_point/bootmount /dev/device_name /mnt/mount_point/boot
Fix the problem as required, e.g.
check boot.log
check /sbin/lilo
check /etc/fstab /etc/inittab filesystems etc.
If you need to edit any files you will need to use pico
as vi won't be available at this level
If /etc/lilo.conf was changed, lilo must be rerun with the correct relative mount point
i.e. /mnt/mount_point/sbin/lilo -v -v -r /mnt/mount_point
(repeating the -v option gives very verbose output)
Save all changes to disk using the sync command
Unmount the drives you previously mounted using the umount
command
reboot by using the power reset (remember to take the diskette out)