Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Today I tried to start up my computer, and was welcomed by Error: no such partition. Grub rescue>

It is some kind of command prompt. I had 2 seperate versions of ubuntu, along with windows 7. I have made several google searches, and used several suggested commands from people having the same issue, and then certain commands wouldn't be recognized.

Any help?

share|improve this question
add comment

1 Answer

For some reason Grub is not finding the boot partition where it is supposed to be, without more information I could not tell you why. Possible causes are: An error when updating, a corrupted Grub bootloader, or a hardware error such as a failing hard drive. I'm sure there are others but these come to mind.

Most of the time fixing grub will solve these problems.

The easiest way to fix your grub is to use Boot-Repair

The detailed instructions and more info is HERE but the quick instructions are:

Boot into your LiveCD/USB and type the following into a terminal:

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update


sudo apt-get install -y boot-repair && boot-repair

This will install and then run boot-repair in your live environment(nothing will be installed to your hard drive)

When the window pops up click Recommended Repair this will scan your system for any OS's and then install grub with the correct information on the location of your Ubuntu partition and when you exit the live environment and reboot you should be able to load Ubuntu.

enter image description here

When boot-repair runs it will create a file that will be uploaded to paste.ubuntu.com note the url that it gives you and you will be able to link to it to get more help. More information on this can be found on the link I gave above and well as more detailed instructions and information on advanced options(advanced options are usually not needed in a normal install)


If you want to check the hard drive the easiest way is with Disk Utility which you can find in the dash by starting to type the name. When the first window pops up click on the icon that represents your harddisk on the left and you will be presented with the following screenshot. Click on the if the light is green where I have my mouse pointer yo should be good but if you want to test the surface of the disk you can do so by clicking that button and running the test on the next screen. These test will be long, an hour for a large disk would not be a surprise.

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.