Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 a dual boot system (Windows7 and Ubuntu 11.10). When I start my system grub shows first, then if I choose Windows7, it then shows the Windows7 boot loader.

The problem now is that I have formatted my Ubuntu partition, so anytime I turn up my system, I get this error:

error: no such partition
grub rescue>

How can I fix this?

share|improve this question
If you've formatted your Ubuntu partition you will need to re-install. It appears GRUB cannot find a valid Linux operating system, can you add the details of what you did in regards to 'formatting' to your question? – Mark Rooney Feb 4 '12 at 21:41

If you deleted Ubuntu and your system was using the partition where Ubuntu was to keep the boot loader you need to fix your MBR and use the Windows7 boot loader if you don't want to install Ubuntu again.

Use the Windows7 CD to fix your MBR and boot loader.

More information on the Microsoft Support site under this page

share|improve this answer
Thanks a lot, I'v repaired the mbr using a windows installation disc, and that solved the problem. – Olansile Ajibola Feb 4 '12 at 23:52
Mark it solved then please, one less in the list. ;) – Bruno Pereira Feb 4 '12 at 23:57

Use your Ubuntu live CD to repair your boot loader. This link about Repairing Grub can help you.

share|improve this answer

Your Answer


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.