Quantcast
Results 1 to 6 of 6

BCD broken

  1. #1
    AbraKdabra is offline Junior Member
    Enjoys Windows 7 Forums
     
    Join Date
    Jan 2010
    Posts
    4

    BCD broken

    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!

    Reply With Quote Reply With Quote

  2. #2
    Saltgrass is offline Microsoft Community Contributor This member is a certified Microsoft Community Contributor at Windows 7 Forums. Click here for more information from Microsoft.
    Just trying to help
     
    Join Date
    Oct 2009
    Posts
    6,467
    You might start with a couple of things. A snipit of the Disk Management window and a snipit of the bcdedit screen after you run an administrative command prompt and type:

    bcdedit

    Just attach them so we can check. Make sure the partitions are identifible as to OS, and if not, identify them somehow. Also state which hard drive is listed first in the drive priortiy (not boot priority) in the bios.

    Reply With Quote Reply With Quote

  3. #3
    AbraKdabra is offline Junior Member Thread Starter Thread Starter
    Enjoys Windows 7 Forums
     
    Join Date
    Jan 2010
    Posts
    4
    I attached the Disk Managment Tool screen, I can't give you the BCDEdit one because... I can't boot from Win7, thats the problem.

    Drive priority in BIOS:

    SATA Nº3 socket: 500GB HD
    SATA Nº4 socket: 80GB HD

    In the screen, it says "...I thinG it is", it should be "I thinK it is".
    Last edited by AbraKdabra; 01-01-2010 at 04:26 PM. Reason: typo

    Reply With Quote Reply With Quote

  4. #4
    Saltgrass is offline Microsoft Community Contributor This member is a certified Microsoft Community Contributor at Windows 7 Forums. Click here for more information from Microsoft.
    Just trying to help
     
    Join Date
    Oct 2009
    Posts
    6,467
    To find where the Windows 7 boot files are, look for a bootmgr file and a Boot folder. It should be in the root directory (hidden, system files) of one of your partitions. If you are correct about it being on the 80 G drive, they should be there.

    Maybe we should start with how you want the system to work when you get it all fixed. Do you want to continue to use GRUB?

    Why is there a partition on you large drive that shows active with no drive letter or information?

    You know better than I do about setting up GRUB. What did you point it to for the Windows boot?

    Reply With Quote Reply With Quote

  5. #5
    AbraKdabra is offline Junior Member Thread Starter Thread Starter
    Enjoys Windows 7 Forums
     
    Join Date
    Jan 2010
    Posts
    4
    Boot folder and bootmgr file are in the Win7 drive, OK, thats good.
    That large partition has Ubuntu 9.04, forgot to mention it.

    ...An hour or more later...

    I solved my problem, I'm on Win7, I've got GRUB installed, almost everything OK.
    Now, I was looking around GRUB, and to boot, it is required to tell GRUB where (HD and partition) the OS is hosted on.
    The 500GB HD is hd0 and the 80GB is hd1. My Win7 installation is installed on a partition at the 500GB drive, but in GRUB, my Win7 option is hd1, 0 (80GB drive partition 0), and THATS weird, because W7 isn't installed on hd1, but on hd0, and I need to have the 80GB drive connected to boot Win7...

    Strange, but true.

    Anyway to change that? And HOW did that happen? I'm really confused.

    Reply With Quote Reply With Quote

  6. #6
    Saltgrass is offline Microsoft Community Contributor This member is a certified Microsoft Community Contributor at Windows 7 Forums. Click here for more information from Microsoft.
    Just trying to help
     
    Join Date
    Oct 2009
    Posts
    6,467
    I would say when you booted without the 80 G drive installed, you automatically changed the order in the bios and made the larger drive the primary drive. The SATA connections seem to determine if a drive is Drive 0 or Drive 1, but the disk priority in the bios determines which drive is the primary, or at least that is the way it looks to me.

    I am guessing that GRUB should be pointed at hd0,2 but the Win 7 partition does not appear to be active. Something to try, but I do not know if it will work, is to make the Win 7 partition active. Maybe it will boot to that partition. But once again, I do not know how GRUB works so don't do something that might mess up your boot.

    I suppose the one thing is having an empty partition set to active is a little strange. So you might want to try at least making the boot partiton active, and in this case, probably Win 7. If you need to change it later, you could always use another command line utility to change it. If there are some type of boot files in that empty partition, like ntldr or some linux stuff, be careful.

    If you can get Win 7 to boot normally without needing the 80 G drive, then we can work the rest out.

    If you are in Win 7, can you get a copy of the bcdedit listing?
    Last edited by Saltgrass; 01-01-2010 at 09:16 PM.

    Reply With Quote Reply With Quote

Similar Threads

  1. Run As Administrator is Broken
    By Phonoflux in forum Windows 7 Support
    Replies: 19
    Last Post: 01-27-2012, 02:05 AM
  2. The sky is broken
    By cybercore in forum The Water Cooler
    Replies: 0
    Last Post: 02-26-2011, 01:55 AM
  3. Broken Hibernate
    By kuurshz in forum Windows 7 Support
    Replies: 0
    Last Post: 03-06-2010, 08:16 PM
  4. BCD broken
    By AbraKdabra in forum Windows 7 Support
    Replies: 0
    Last Post: 01-01-2010, 03:08 PM
  5. Startmenu broken (and more!)
    By Monedula in forum Windows 7 Support
    Replies: 4
    Last Post: 12-13-2009, 10:04 AM

Visitors found this page by searching for:

bcd broke windows grub

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •