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

My Ubuntu partition is gone but when I boot up, Grub still asks if I want to boot into Windows 7 or Ubuntu. To put it simply how do I get it to stop asking for Ubuntu and only have 7.

share|improve this question
Not an exact duplicate but this Q&A has all the steps you need to follow. – Tom Brossman Dec 18 '12 at 9:27

Even if you delete the Ubuntu partition, the Grub boot loader will still be there. So in order to repair your boot loader you need a windows 7 repair disk. After booting from repair disk.

  1. Open the command prompt
  2. Type following at command prompt
  3. bootrec.exe/fixboot and hit enter
  4. bootrec.exe/fixmbr and hit enter Then reboot your system and you will boot directly into windows 7.
share|improve this answer

It's possible to keep using Grub without Ubuntu, I like it much more this way.

Just boot from Ubuntu LiveCD (or an USB stick) launch terminal and tipe sudo update-grub2, wait untill completation and that's it.

share|improve this answer
This is incomplete. Can you explain all the steps please? – Tom Brossman Dec 18 '12 at 9:26
OK, so I edited it for completness. – NotFromBrooklyn Dec 18 '12 at 14:35
@NotFromBrooklyn Why would this work? GRUB keeps an important part of itself inside the /boot directory of the Ubuntu system from which it was installed. If the Ubuntu partition is removed, GRUB cannot boot anything. It would be necessary to retain a separate partition, or to use a different boot loader that is capable of remaining self-contained in the MBR (like SYSLINUX). – Eliah Kagan Jan 5 '13 at 8:59

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.