Linux Recovery
1. Ensure you have the Rescue disks available (boot and rescue diskettes)
2. Check the boot order in the BIOS ensuring floppy drive is first in the
sequence
3. Insert the boot diskette in the floppy drive and boot. At prompt enter:
LILO:rescue
4. Insert the rescue diskette when prompted
5. 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
6. Create a mount point under /mnt and mount partitions as follows:
mkdir /mnt/mount_point
mount /dev/device_name /mnt/mount_point mkdir /mnt/mount_point/boot mount
/dev/device_name /mnt/mount_point/boot
7. Fix the problem as required, e.g.
o check boot.log
o check /sbin/lilo
o 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
8. 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)
9. Save all changes to disk using the sync command
10. Unmount the drives you previously mounted using the umount command
11. reboot by using the power reset (remember to take the diskette out)
Still stuck? Maybe we can help. Contact us at Upwork
Never miss a thing subscribe to our newsletter
or follow us on twitter
For more super cool techie stuff check out our blog!!
Recent Changes
Contribute to this wiki
Why not help others by sharing your knowledge? Contribute something to this wiki and
join out hall of fame!
Contact us for a user name and password