Home blog Computers LILO restore

Who's Online

We have 1 guest online

Login Form



 
LILO restore Print E-mail
Blog - Computers
by Jack Beltane (© Jack Beltane. All rights reserved.)   
Saturday, 06 March 2010 03:21

Did LILO kill your Master Boot Record? Don’t worry, it happens to all of us. So here, in a nutshell, is what you can do. Get yourself a Live CD, such as Puppy Linux or Damn Small Linux, and reboot the computer using the Live CD. Open a shell and do this (sub "/dev/hda2" for wherever your bootable OS is, such as hda3, hda5, etc.):

$ su -
# fdisk -l
# mount -t ext3 -o rw /dev/hda2 /mnt
# chroot /mnt
# /sbin/lilo

If that doesn’t work, it’ll tell you why. If the partition table is off from what is actually on your HDD, then type this:

# /sbin/lilo -P fix

That will fix the table (in theory). Then you type the

# /sbin/lilo

command again, and you should be golden.

 

You must be a registered user to post comments. Register here.



Entire site contents are copyright © 2009-2010 by Jack Beltane. All rights reserved.
 


micro link to this story:
http://big-fly.net/?id=56


Poll

Breaking Benjamin...