PDA

View Full Version : [SOLVED] How to avoid "grub rescue"?



3v3rgr33n
June 6th, 2012, 10:33 AM
Hi

The last time I tried to partition my hard drive in Windows, my machine didn't want to boot at reboot. It only gave me the "grub rescue" screen. I managed to solve my problem through googl'ing and typing commands which 60% of, I don't understand. I just wanted a safe way to partition my hard drive. does anyone know where I can find a ".pdf" file with the steps on what on what to do when a user sees the "grub rescue" screen.

Thnx

dino99
June 6th, 2012, 10:50 AM
you get this issue because grub is not installed as it might (it dont find the good path)

so, boot from the livecd (liveusb) and open a terminal to install grub:

sudo grub-install /dev/sda
sudo update-grub

http://ubuntuforums.org/showpost.php?p=10161428&postcount=2

wilee-nilee
June 6th, 2012, 11:07 AM
you get this issue because grub is not installed as it might (it dont find the good path)

so, boot from the livecd (liveusb) and open a terminal to install grub:

sudo grub-install /dev/sda
sudo update-grub

http://ubuntuforums.org/showpost.php?p=10161428&postcount=2

Those commands from a live cd do nothing, they have to be run in a install, or in a chroot from the cd.

OP here is the grub manual.
http://www.gnu.org/software/grub/manual/grub.html

3v3rgr33n
June 6th, 2012, 03:12 PM
sudo grub-install /dev/sda
sudo update-grub


Are you trying to tell me you need an internet connection just to solve that problem?

wilee-nilee
June 6th, 2012, 06:03 PM
Are you trying to tell me you need an internet connection just to solve that problem?

That information was incorrect.

A grub> rescue prompt is a generic response to grub not booting there could be any number of problems, and there is no specific link really, without knowing what the problem is.

When installing though you can use the something other option for a custom install and in that set up is a choice of where you want grub put.

blackbird34
June 6th, 2012, 06:35 PM
Supergrubdisk does the trick. See http://www.supergrubdisk.org/
I've dealt with such a case on my laptop before: i was faced with a grub>rescue and no live CD on hand, so i downloaded it and burned it from another computer. You boot from the CD and it looks for operating systems that load with GRUB (Windows, Linux), boots one of your choice, then you can repair GRUB from inside Linux with Boot-Repair (https://launchpad.net/boot-repair) (a GUI tool). More explanations on the wiki (http://www.supergrubdisk.org/wiki/Boot_Problems).


------------------
Tug of war, community vs mods, we need help!! :D (http://ubuntuforums.org/showthread.php?p=12004020&)

3v3rgr33n
June 6th, 2012, 09:44 PM
Thank you very much

blackbird34
June 6th, 2012, 09:49 PM
hope it worked for you, pass on the tip to others! :D