Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Cant Boot windows, Linux boot loader has taken over

12 Nov 2009   #1

Windows 7 Ultimate x64
Cant Boot windows, Linux boot loader has taken over

I had windows 7 originally Installed on my Laptop. I then Installed Ubuntu 9.10 Desktop version, and it installed the grub boot loader
(All on 1 single HD, each OS is on its own partition.)

This boot loader was used to dual boot between windows and Linux. However now the grub boot loader is broken, and I was talking to some people how knew about Ubuntu, and they said to just delete its partition, which I did.

Now when I boot from my HD I just get a broken grub boot loader, and can’t get even get into my Win 7. Now I just want to get ride of this Grub boot loader, and get Windows 7 MBR back. I have booted from my windows 7 recovery disc, and have done:

Startup Repair – It found no problems, but HD still only boots to broken grub boot loader

System Restore – I restored to before I was having this problem, but HD still only boots to broken grub boot loader

I am trying to figure out what commands to enter in the command prompt to repair the MBR, or maybe just view what partitions are in my computer, and then completely delete the one with Grub on it.

If I type bcdedit I get this:

Windows Boot Manager
Identifier: {bootmgr}
Device: partition = C:
Description: Windows Boot Manager
Inherit: {globalsettings}
Default: {default}
Displayorder: {default}

Windows Boot Loader
Identifier: {default}
Device: partition = D:
Path: \Windows\system32\winload.exe
Description: Windows 7
Inherit: {bootsequencesettings]
Recoveryenabled: yes
Osdevice: partition = D:
Systemroot: \windows
Nx: OptIn

According to this everything looks fine, The C partition is that 100MB system reserved boot partition that windows 7 creates, and the D partition is a 100GB partition that I created on the HardDrive that windows 7 was installed to. I don’t understand why the windows boot loader will not boot, somehow the grub boot loader is still over riding it, even though I deleted the partition that ubuntu was installed on, and where the grub should have been installed as well.

From the command prompt, if I use diskpart, there are only 2 partitions, a 100MB one, and a 100GB one. Those are C and D respectively, so I am not sure how the grub is still loading unless it installed itself to a NTFS partition if that is even possible.

Does anyone know what commands I can try to repair or recreate the MBR so that windows 7 will load, or maybe commands to delete this Grub boot loader?

My System SpecsSystem Spec
13 Nov 2009   #2

Windows 7 Home Premium x64 - Mac OS X 10.6.4 x64

Try this

Boot the recovery DVD and choose to drop to a command prompt

>BOOTCFG /rebuild

I hope that helps
My System SpecsSystem Spec
13 Nov 2009   #3

Windows 7 Home Premium x64


Do what Zidane24 suggests, that should work.

In case it did not work,

Up to 3x Startup Repair, this because Startup Repair can only do one thing at a time.

Best regards,

My System SpecsSystem Spec

13 Nov 2009   #4

Windows 7 Ultimate x64

Thanks for the ideas, I ended up running these commands and they fixed it right away.

> bootrec /fixMBR – operation completed successfully

> bootrec /fixBoot - operation completed successfully

> bootrec /rebuildBCD –
Successfully scanned windows installations.
Total identified Windows Installations: 0
Operation completed successfully

> bootrec /scanOS -
Successfully scanned windows installations.
Total identified Windows Installations: 0
Operation completed successfully

Although it says 0 identified windows installations, My windows 7 now boots fine, and there is no more grub boot loader. Thanks a lot for the help.
My System SpecsSystem Spec

 Cant Boot windows, Linux boot loader has taken over

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
Uninstalled Linux OS dual boot with Windows 7 now boot issue.
Tried Ubuntu & didn't like it so wanted to remove it completely. After deleting & recovering that portion of (G: ) which is where Ubuntu was installed, I couldn't boot in Windows 7. I was able to use my install disk to load into repair. The OS it found was- OS -Windows 7 Partition Size -...
General Discussion
getting the boot loader back after removing linux
Hi, I uninstalled linux and then wanted to use windows. It was a dual boot. I read the process online but stupidly I only made an acer e recovery disk not a windows 7 disk. I can't access the command prompt now because I get the linux grub loader error. What can I do? I do not have a...
Backup and Restore
Dual boot WinXP/7 - How to hide Windows 7 from boot loader and XP?
Working in a corporate environment, we use Windows XP now but are needing to upgrade to Windows 7. I have dual boot Windows XP and 7 machine, thats the easy part, but I need to hide Windows 7 from the boot menu OR have a keyboard shortcut that can boot Win 7. The goal is I do not want users to...
Installation & Setup
Repair boot loader after aborting Linux installation.
I tried to make dual boot Windows 7 and openSUSE Linux on HP ProBook 4530s but during installation of Linux many errors was reported and I was aborted the installation process. I removed disk and restarted system but Windows did not want to boot. Then I inserted Windows 7 Professional 64 bit...
General Discussion
Dual boot Windows 7 pro and Windows Server 2008 - boot loader
Hey guys i installed windows 7 and windows server 2008 in different partition. I first installed windows 7 and then installed windows server 2008.(I dont know if that makes much of a difference). However , -----after installing the server i could not see the windows 7 in my boot loader so i had...
Installation & Setup
Linux Dual Boot System Using the Windows 7 Boot MGR
Hello! I've got Windows 7 installed and would like to set up a dual boot system with an Ubuntu 9.04. However, I would like to use the Windows 7 boot loader instead of GRUB. How can I do that? Thanks in advance.
Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:36.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App