I installed Ubuntu via usb with no problems, but when I restart, I get an error message: "error out of disk" 'grub rescue."

How can I fix this?

link|improve this question
1  
May be you are out of disk space.Boot from a live cd and post the output of sudo df -h also post the results of bootscript – karthick87 Dec 22 '10 at 17:05
feedback

2 Answers

Apparently this error occurs when GRUB can't find a usable grub.cfg. Since the boot configuration isn't there, GRUB drops you to the grub-rescue prompt. Following these instructions you should be able to boot Ubuntu.

Once you've booted Ubuntu, reinstall GRUB2 by running

sudo grub-install
sudo update-grub2
link|improve this answer
feedback

For anyone who might be searching for a solution: I had this problem after a fresh install of Ubuntu 11.04 on my HP nc6400 laptop. The problem was solved by installing Ubuntu via the alternate installation cd. http://www.ubuntu.com/download/ubuntu/alternative-download

link|improve this answer
feedback

Your Answer

 
or
required, but never shown