Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer 1

I have found the solution. I used the boot-repair from https://help.ubuntu.com/community/Boot-Repair 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
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.