2

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.

Agmenor
  • 16,214

2 Answers2

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.

  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.
Agmenor
  • 16,214
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.

  • 1
    This is incomplete. Can you explain all the steps please? – Tom Brossman Dec 18 '12 at 09: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 05 '13 at 08:59