Windows 7 Dualboot BCD

Discussion in 'Windows 7' started by °ツ, Dec 18, 2014.

  1. °ツ

    °ツ MDL Addicted

    Jun 8, 2014
    816
    1,122
    30
    I have 2 SSD disks, I installed Windows 7 on the first SSD and then cloned the installation to the second SSD, I am now trying to boot the second disk but it always boots into the first SSD.

    I have tried to use bcdedit and visualbcd to add a second Windows 7 option named "Seven" and specify the HDD location of that installation, but when I boot the PC and it asks me to boot "Windows 7" or "Seven", I select "Seven" but Windows does not load, the screen just goes black and nothing happens.

    So, how do I edit the BCD properly so I can boot both Windows 7 installations?

    :tankyou:
     
  2. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,204
    978
    90
    use easybcd or

    run bcdedit in cmd and copy it over
     
  3. locob

    locob MDL Member

    Jun 2, 2010
    171
    67
    10
    What about changing the boot order in your BIOS settings?
     
  4. redroad

    redroad MDL Guru

    Dec 2, 2011
    5,326
    6,043
    180
    #4 redroad, Dec 19, 2014
    Last edited by a moderator: Apr 20, 2017
    Code:
    attrib bcd -s -h -r 
    removes the System, Hidden, and ReadOnly attributes of the bcd file.
     
  5. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,204
    978
    90
    use easybcd to add the second OS
     
  6. °ツ

    °ツ MDL Addicted

    Jun 8, 2014
    816
    1,122
    30
    #6 °ツ, Dec 19, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    The command does not work because you need to know the location of BCD before using it.

    I already tried that but it did not work.

    It added the second Windows to boot manager, but when I boot it I just get a black screen, a second time when I tried to boot it, it showed a message about "C:\Windows\System32\Winload.efi.
     
  7. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,204
    978
    90
    its not appear to be added

    u get msg that adding was succeeding in easybcd ?
     
  8. redroad

    redroad MDL Guru

    Dec 2, 2011
    5,326
    6,043
    180
    #8 redroad, Dec 19, 2014
    Last edited by a moderator: Apr 20, 2017
  9. Kamrul08

    Kamrul08 MDL Member

    Dec 28, 2013
    104
    13
    10
  10. °ツ

    °ツ MDL Addicted

    Jun 8, 2014
    816
    1,122
    30
    #10 °ツ, Dec 19, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  11. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    It's not as simple as editing the BCD when you use UEFI.
    With UEFI it records the disk number and partition for the boot files.
    So if you copy the files to the 2nd drive and edit a bcd, it won't make any difference. It will still boot to the first drive.

    To change it, you would need to disable the first drive and boot to winre.wim or a windows boot iso.
    Inside, run admin prompt (shift-f10 if boot iso)
    navigate to the desired drive and run:
    bcdboot c:\windows
     
  12. °ツ

    °ツ MDL Addicted

    Jun 8, 2014
    816
    1,122
    30
    #12 °ツ, Dec 19, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Ty, will try.
    Anyway, I found the BCD location:

    Code:
    ESP:\EFI\Microsoft\Boot\BCD
    Then when I use
    Code:
    attrib bcd -s -h -r 
    I can edit the BCD :p