Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have got a machine with dual-boot Windows 7 and Ubuntu 11.10, and I wanted to add another OS to that (Jolicloud), so I started the partition manager in Windows and shrunk the Windows partition by about 10 GB (so now I have:Windows;currently empty 10GB;Ubuntu). I shutted down the computer because I was finished. Now when I started my machine again it says

error:no such partition.
grub rescue>

and I can type commands. ls gives

 (hd0) (hd0,msdos5) (hd0,msdos4) (hd0,msdos2) (hd0,msdos1) (fd0)

if that helps

share|improve this question
For future reference, shrinking an in-use windows partition rarely goes well. – David Nov 29 '12 at 16:43
up vote 0 down vote accepted

I have found the solution. I used the boot-repair from via a live CD of Ubuntu 10.04 (i bet this also works via a live USB). I checked "reinstall GRUB" and "purge GRUB before reinstalling it" in the advanced options, and now it works. :)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .