Boot Files Missing (I think.)

apreichner

New member
Local time
1:27 PM
Messages
5
Alright so I was on a Netbook and it was running Windows XP, I later installed Windows 7 onto a partition and everything was fine. Earlier I decided to replace Windows XP with Ubuntu Linux 10.04. I noticed Grub was not detecting Windows 7, so I consulted their forums. I came to the conclusion that the boot files for Windows 7 were actually on the Windows XP partition, and that's why its not working. I tried booting a recovery iso of Windows 7 x86, but it doesn't seem to auto-detect my Windows 7 install. I can access the file system from Ubuntu though, so idk. Anybody have any ideas?
 

My Computer

OS
Windows 7
Last edited:

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel i7 2600K OC'd @ 4620 MHz
Motherboard
Asus P8Z68-V Pro
Memory
16GB GSkill Sniper 2133 Mhz (4x4GB)
Graphics Card(s)
EVGA GeForce GTX 480 SuperClocked+
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
2x Acer S273HLbmii 27"
Screen Resolution
2 x 1920x1080
Hard Drives
64GB Crucial M4 SSD

Storage: Hitachi 1TB 5400RPM, Samsung 1.5TB 5400RPM
PSU
Corsair HW Series 750w (modular)
Case
Cooler Master HAF 932 Advanced Blue Edition
Cooling
CM Hyper 212+ CPU cooler, 3x 230mm + 1x 140mm case fans
Keyboard
Logitech MK320 (wireless)
Mouse
Logitech MK320 (wireless)
Internet Speed
30 Mb/s : 2 Mb/s
Apparently you guys didn't read my post. The problem is not with grub itself, the problem is the boot files for Windows 7 were stored on my Windows XP partition which no longer exists because I overwrote it with Linux. Therefore, even if i removed Linux and Grub, Windows 7 would still not boot.

Also Start Up Repair will not work, because as I said before, the Windows 7 Recovery cd does not auto-detect my operating system for some reason.
 

My Computer

OS
Windows 7
You need to mark your Windows partition as active before the recovery CD will detect your installation.

Running a startup repair and the commands Greg posted above will write a new boot loader to the active partition, or your Windows 7 partition.

Of course, that will overwrite GRUB.
 

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel i7 2600K OC'd @ 4620 MHz
Motherboard
Asus P8Z68-V Pro
Memory
16GB GSkill Sniper 2133 Mhz (4x4GB)
Graphics Card(s)
EVGA GeForce GTX 480 SuperClocked+
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
2x Acer S273HLbmii 27"
Screen Resolution
2 x 1920x1080
Hard Drives
64GB Crucial M4 SSD

Storage: Hitachi 1TB 5400RPM, Samsung 1.5TB 5400RPM
PSU
Corsair HW Series 750w (modular)
Case
Cooler Master HAF 932 Advanced Blue Edition
Cooling
CM Hyper 212+ CPU cooler, 3x 230mm + 1x 140mm case fans
Keyboard
Logitech MK320 (wireless)
Mouse
Logitech MK320 (wireless)
Internet Speed
30 Mb/s : 2 Mb/s
You need to mark your Windows partition as active before the recovery CD will detect your installation.

Running a startup repair and the commands Greg posted above will write a new boot loader to the active partition, or your Windows 7 partition.

Of course, that will overwrite GRUB.

Oh thanks, I'll give that a try. Yeah, at this point, I don't really care about GRUB, just fixing the MBR, once that's done, it's not hard to restore GRUB.
 

My Computer

OS
Windows 7
Alright so I found the solution to the problem thanks to Jonathan_King's help. I had to first set the partition to active (or boot in Gparted), and then boot into recovery. Startup repair didn't work out for me, so I went ahead and did it the old school way. I booted up command prompt and did bootrec.exe /FixMbr, and then bootrec.exe /FixBoot. Now Windows is booting up on its own. Next thing I have to do is restore Grub, shouldn't be too hard.

Thanks for your help guys.
 

My Computer

OS
Windows 7
No problem, glad we could help you. :)

Let us know if you need anything else.
 

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel i7 2600K OC'd @ 4620 MHz
Motherboard
Asus P8Z68-V Pro
Memory
16GB GSkill Sniper 2133 Mhz (4x4GB)
Graphics Card(s)
EVGA GeForce GTX 480 SuperClocked+
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
2x Acer S273HLbmii 27"
Screen Resolution
2 x 1920x1080
Hard Drives
64GB Crucial M4 SSD

Storage: Hitachi 1TB 5400RPM, Samsung 1.5TB 5400RPM
PSU
Corsair HW Series 750w (modular)
Case
Cooler Master HAF 932 Advanced Blue Edition
Cooling
CM Hyper 212+ CPU cooler, 3x 230mm + 1x 140mm case fans
Keyboard
Logitech MK320 (wireless)
Mouse
Logitech MK320 (wireless)
Internet Speed
30 Mb/s : 2 Mb/s
Startup repair didn't work out for me, so I went ahead and did it the old school way. I booted up command prompt and did bootrec.exe /FixMbr, and then bootrec.exe /FixBoot. Now Windows is booting up on its own. Next thing I have to do is restore Grub, shouldn't be too hard.

Thanks for your help guys.

All former bootrec and bootsect recovery commands are automated in Startup Repair. You only have to run it enough, usually up to 3 times with reboots.

Sometimes when an installation is not detected to repair, manually running these commands will bring it forward so Startup Repair can finish it's job.

Glad you got it sorted out. GRUB can add complications to the normal methods which we have used to help successfully recover hundreds of Win7 MBR's.
 
Glad you got it sorted out. GRUB can add complications to the normal methods which we have used to help successfully recover hundreds of Win7 MBR's.

Actually, GRUB had nothing to do with the problems that I had. GRUB was doing its job correctly, but I didn't realize that once you install Windows 7 after you install a previous OS (like XP) it keeps the bootloader files on the XP partition. So when I erased the XP partition, I lost the boot files, and GRUB was unable to locate any for Win7. So really, it was all just user error. A problem with the Computer-to-Chair Interface.

And besides, running start up repair 3 times seems really drawn out compared to typing two commands and then rebooting.
 

My Computer

OS
Windows 7
You're right, it's much quicker to use the commands.

Glad you are up and running.
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
Back
Top