~~socialite:icon reddit googleplus stumbleupon twitter~~ ===== 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 [[https://www.upwork.com/o/profiles/users/_~01207a4bc438b48c6e|at Upwork]] Never miss a thing [[http://www.justsomestuff.co.uk/subscribe.php|subscribe to our newsletter]] {{glyphicon>envelope}} or follow us [[http://twitter.com/itsjustsomestuf|on twitter]] {{glyphicon>hand-left}} For more super cool techie stuff [[http://www.justsomestuff.co.uk/theblog|check out our blog!!]] ===Recent Changes=== {{changes>}} ====Contribute to this wiki==== Why not help others by sharing your knowledge? Contribute something to this wiki and [[http://www.justsomestuff.co.uk/hall_of_fame.html|join out hall of fame!]]\\ [[http://www.justsomestuff.co.uk/theblog/contact-page|Contact us]] for a user name and password