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.
Asked
Active
Viewed 83 times
2
-
Not an exact duplicate but this Q&A has all the steps you need to follow. – Tom Brossman Dec 18 '12 at 09:27
2 Answers
4
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.
- Open the command prompt
- Type following at command prompt
bootrec.exe/fixboot
and hit enterbootrec.exe/fixmbr
and hit enter Then reboot your system and you will boot directly into windows 7.

Agmenor
- 16,214

KashmirHackers
- 349
0
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.

NotFromBrooklyn
- 285
-
1
-
-
@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 05 '13 at 08:59