Please see this


Contents

- INDEX
- HP-UX Index
- Solaris
- Linux Index
- Other Unix types
- General Unix
- Unix Networking
- Unix Scripts
- Unix Databases

Associated Information

- none

Useful Links

- HOWTOs, FAQs, etc
- Linux Documentation project
- Linux Search Engine
- GNU free software sight
- Freshmeat software sight
- Linux Weekly News
- Linux Gazzette
- Caldera Openlinux knowledge d/base
- Corel Linux knowledge d/base
- Debian documentation
- Mandrake documentation
- Redhat Online Manuals
- Slackware FAQs
- SUSE support database

Linux Recovery

  1. Ensure you have the Rescue disks acailable (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.
    • 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

  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)

Copyright 2000 Intronet Computers Ltd
Email: Intronet Computers for enquiries