Cannot boot Windows 7 after installing Linux

Bjorn Jonsson

New member
Local time
3:40 AM
Messages
3
I recently got a new computer with Windows 7 Professional (64 bit) installed on C:. Everything worked great and this is what things were like back when everything worked: Two 500 MB disks in a RAID 1 array partitioned into C: (for Windows 7) and D: (for data etc.). The 100 MB partition that W7 creates was there as well. Also a 1.5 TB disk with two partitions (drive letters E: and F:).

I then installed Ubuntu Linux in a partition I created on the 1.5 TB drive to get a dual boot configuration. This messed things up - apparently the Linux installer doesn't like RAIDs. I cannot boot Windows 7 now. I'm attempting to fix the MBR, BCD etc. and have read Recovering the Vista Bootloader from the DVD - NeoSmart Technologies Wiki and done lots of Googling.

However, I'm not sure how to proceed because the drive letters are now messed up. The reason is that when I boot from the Windows 7 installation DVD to repair Windows 7, the RAID (i.e. originally C: and D:) cannot be accessed until I load drivers for the RAID from another DVD. Before I do that the partitions on the 1.5 TB drive show up as C: and D: (as previously mentioned, they originally were E: and F:). Once I have loaded the RAID drivers, the partitions on the RAID get the letters H: (the Windows 7 partition, originally C:), G: (the 100 MB partition that didn't have a drive letter) and F: (originally D:).

In a nutshell:
RAID: C -> H (Windows 7 is installed here)
RAID: D -> F
RAID: 100 MB -> G
1.5 TB: E -> C
1.5 TB: F -> D

I have tried doing bootrec /fixmbr etc. but this didn't fix the problem and appears to have created/updated a boot\BCD file on what's now C:\ (was originally E:). There is another boot\BCD on what's currently G:\ (the 100 MB partition that originally didn't have a drive letter). From the date of the BCDs the one on G:\seems to be the one that got messed up by the Ubuntu installation.
How do I get bootrec to fix the correct BCD? Do I need to reassign drive letters? There is no BCD on the partition where Windows 7 is installed (currently H:, it was C: before the mess). Is this normal? How should I proceed?
 

My Computer

OS
Windows 7
What a mess. I would say the first order of the day is to get rid of Linux. Apparently the Grub took over. Then resort the drive letters (looks like your G with the MBR is still whole).
 

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
Hi Bjorn ! Dont worry , pal :D There's nothing that can make you worry.
I also got just the same situation when I installed linux for the first time in my machine. It was not possible to boot up in windows 7, even after recovering MBR. Then iseeuu suggested me to update GRUb, so that the windows boot entry is included in grub. That trick worked like a magic.

But unfortunately i forgot the process to updating grub. Still I can recommend it to him. Hope he will help you as he helped me :D
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Assembled
OS
Microsoft Windows 10 Pro Insider Preview 64-bit
CPU
Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz
Motherboard
Gigabyte Technology Co., Ltd. B85M-D3H
Memory
Corsair Vengence 4GB x2 (8.00GB Dual-Channel DDR3 @ 798MHz)
Graphics Card(s)
2047MB GeForce GTS 450 (ZOTAC International)
Sound Card
Onboard (Realtek High Definition Audio)
Monitor(s) Displays
LG Flatron E2040T
Screen Resolution
1600x900
Hard Drives
Western Digital 1 TB
Seagate 500 GB
PSU
Corsair VS550
Case
Cooler Master K380
Cooling
Cooler Master Seidon 120V Plus
Keyboard
Logitech MK260r
Mouse
Logitech MK260r
Internet Speed
PMPL Broadband
Antivirus
Windows Defender + MBAM
Browser
Firefox
Other Info
Dell Studio 15" Laptop

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Assembled
OS
Microsoft Windows 10 Pro Insider Preview 64-bit
CPU
Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz
Motherboard
Gigabyte Technology Co., Ltd. B85M-D3H
Memory
Corsair Vengence 4GB x2 (8.00GB Dual-Channel DDR3 @ 798MHz)
Graphics Card(s)
2047MB GeForce GTS 450 (ZOTAC International)
Sound Card
Onboard (Realtek High Definition Audio)
Monitor(s) Displays
LG Flatron E2040T
Screen Resolution
1600x900
Hard Drives
Western Digital 1 TB
Seagate 500 GB
PSU
Corsair VS550
Case
Cooler Master K380
Cooling
Cooler Master Seidon 120V Plus
Keyboard
Logitech MK260r
Mouse
Logitech MK260r
Internet Speed
PMPL Broadband
Antivirus
Windows Defender + MBAM
Browser
Firefox
Other Info
Dell Studio 15" Laptop
Thanks for the replies.

I managed to get Windows 7 to boot again after hours of messing with the Windows 7 repair utilities, the MBR/BCD, diskpart etc. The problem was that when I did bootrec /fixmbr etc. it was always the MBR/BCD on the 1.5 TB disk that got modified. This turned out to be because that disk had become disk 0 and the RAID array became disk 1, i.e. the disk numbers were "swapped" compared to what they originally were. I succeeded in forcing a repair of the MBR/BCD on the RAID array (where Windows 7 is installed) by physically disconnecting the 1.5 TB disk and then fixing the MBR/BCD. After this I reconnected the 1.5 TB disk, booted up and voila! Windows 7 now works.

However, now I cannot boot Linux. The original problem seems to have been that Grub doesn't handle RAID arrays correctly, at least not when there is an OS there that you want to be able to boot.

I'm fairly optimistic though that I'll soon succeed in booting Linux via the Windows 7 bootloader.
 

My Computer

OS
Windows 7
Thx. I learned from that. I installed Windows 7 prior to Linux Mint 8 Helena. It work perfectly, but the only way to change the boot order is via linux command line. Assistance is is found at www.forums.linuxmint.com/. Just type boot loader on its search engine then got the topics.
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    MSI
    OS
    Windows 11 Prerelease
    CPU
    CORE i5 10400
    Motherboard
    MSI H510M Pro
    Memory
    16GB
    Graphics Card(s)
    GTX 750Ti
    Sound Card
    Realtek HD Integrated
    Monitor(s) Displays
    Samsung Curved 24"; Samsung TV 50"
    Screen Resolution
    1920 x 1080
    Hard Drives
    Vi-Gen NVMe 256GB
    WD 3 TB
    Seagate 2 TB
    Seagate 4TB
    PSU
    Power Striker
    Case
    VBR
    Cooling
    Conventional
    Keyboard
    Logitech Wireless
    Mouse
    Logitech Wireless
    Internet Speed
    2MBPs
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Apple MacBook
    OS
    BigSur
    CPU
    Core i5
    Memory
    8 GB
    Monitor(s) Displays
    13 "
    Screen Resolution
    1366 x 768
    Hard Drives
    SSD 256 GB
Well, I managed to get a Windows 7/Linux dual boot by using the EasyBCD 2.0 beta to add a Linux entry to the Windows bootloader menu. Note: It is important to use the EasyBCD 2.0 beta and not the official version, at least on a complex system like mine (RAID and/or Linux not on the same disk as Windows).
 

My Computer

OS
Windows 7
Back
Top