PDA

View Full Version : [SOLVED] Grub not loading : error 117



ma3ahmed
June 1st, 2010, 05:01 PM
this is the problem i was facing before... http://ubuntuforums.org/showthread.php?p=9379182#post9379182

but nothing worked... then out of ideas... i tried to upgrade ubuntu to 10.04 ... but after the upgrade computer automatically restarted and now at startup Grub does not loads and gives an error 117... help needed...

weirdtalk
June 1st, 2010, 05:40 PM
You probably need to reinstall grub. Use a live cd (any distro) and run
$> sudo grub-install /dev/sda (replace sda with your hard drive if needed.) Then reboot.

ma3ahmed
June 2nd, 2010, 01:08 PM
thanks for the rply... i cant find my hard disk when i access from a live cd.. :S ... its not in /media and not in /dev ...

weirdtalk
June 3rd, 2010, 12:27 AM
It should be in dev at least. but if it is not in /media or /mnt then you need to mount it to see the files. I find the easiest way is to run gparted and let it do it's scan. This will tell you which name under /dev it is.

After you have that you can either use the commands I gave, or any of the methods here: LINK (http://ubuntuforums.org/showthread.php?t=224351).

sandyd
June 3rd, 2010, 12:44 AM
can you run


sudo fdisk -l

please?

ma3ahmed
June 4th, 2010, 12:41 PM
thnx every 1 for your help... i used a command i found surfing the net.. and it helped me mount my drive...


sudo e2fsck -b 32768 /dev/hda2

kansasnoob
June 4th, 2010, 01:47 PM
thnx every 1 for your help... i used a command i found surfing the net.. and it helped me mount my drive...


sudo e2fsck -b 32768 /dev/hda2

So, is grub working now?

If not please use the Live CD and post the output of the Boot Info Script as described here:

http://bootinfoscript.sourceforge.net/

ma3ahmed
June 5th, 2010, 08:00 AM
Yes, its working perfectly fine....