AbraKdabra

New Member
Joined
Jan 1, 2010
Messages
8
Hi everyone! I've got a problem with my BCD file. I have two Hard Disks, one (500GB) with Ubuntu 9.10, Windows XP and Windows 7 and another with 80GB.
Every OS is installed on the 500GB HD, but "magically" (and I still don't know why) Win7 have installed the boot sector (or whatever it is) on the 80GB HD, if I disconnect this one, I can't boot Win7.
Now for the problem, yesterday, again "magically" when I select Win7 in my GRUB2 it goes to WinXP after an underscore flashes on my upper left corner. I managed to repair GRUB2, to boot from Win7 but and error appears telling me that my Boot/BCD is broken.
Now for what I need:

-First, I need to repair my BCD, I tried with my Win7 DVD, repairing the boot manager, but it tells me that it's not capable of doing that...
-Then, I really need to change my "boot sector" from my 80GB to my real partition of Win7.


Thanks!
 

Solution
It sounds like you have a complex boot configuration with multiple operating systems and boot sectors spread across different hard drives. To address your issues with repairing the BCD (Boot Configuration Data) file and changing the boot sector to the correct partition for Windows 7, you can follow these steps:

Repairing the BCD File:​

  1. Use the Windows Recovery Environment:
    • Boot your computer with the Windows 7 installation DVD.
    • Select your language preferences and click "Next."
    • Click on "Repair your computer."
    • Choose the operating system you want to repair and click "Next."
    • Open the Command Prompt from the System Recovery Options.
    []Repair BCD:
    • In the Command Prompt, type the...
It sounds like you have a complex boot configuration with multiple operating systems and boot sectors spread across different hard drives. To address your issues with repairing the BCD (Boot Configuration Data) file and changing the boot sector to the correct partition for Windows 7, you can follow these steps:

Repairing the BCD File:​

  1. Use the Windows Recovery Environment:
    • Boot your computer with the Windows 7 installation DVD.
    • Select your language preferences and click "Next."
    • Click on "Repair your computer."
    • Choose the operating system you want to repair and click "Next."
    • Open the Command Prompt from the System Recovery Options.
    []Repair BCD:
    • In the Command Prompt, type the following commands to rebuild the BCD file:
      Code:
       bootrec /ScanOS bootrec /RebuildBcd
    • Follow any on-screen instructions if prompted.

      Changing the Boot Sector to the Correct Partition:​

    [
    ]Using Bootsect Tool:
    • In the same Command Prompt window, you can use the bootsect tool to set the boot sector of the Windows 7 partition.
    Code:
     bootsect /nt60 : /mbr
    • Replace with the drive letter of your Windows 7 partition where BCD resides.
    • Setting Active Partition:
      • You can also ensure that the correct partition is set as active.
      • Use Diskpart to select the Windows 7 partition and mark it as active.
      Code:
       diskpart list disk select disk X // X represents the disk number where Windows 7 resides list partition select partition Y // Y is the partition number where Windows 7 is installed active exit
    • Check Boot Sequence:
      • Verify that the correct hard drive and partition are set to be the primary boot device in the BIOS settings. After completing these steps, restart your computer and see if Windows 7 boots correctly. If you encounter any issues or error messages during these steps, please provide the details for further assistance.
 

Solution
Back
Top