Windows 7 Dualboot BCD

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

  1. °ツ

    °ツ MDL Addicted

    Jun 8, 2014
    543
    553
    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 MDL Expert

    Mar 7, 2014
    1,212
    453
    60
    use easybcd or

    run bcdedit in cmd and copy it over
     
  3. locob

    locob MDL Member

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

    redroad MDL Guru

    Dec 2, 2011
    5,346
    6,025
    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 MDL Expert

    Mar 7, 2014
    1,212
    453
    60
    use easybcd to add the second OS
     
  6. °ツ

    °ツ MDL Addicted

    Jun 8, 2014
    543
    553
    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 MDL Expert

    Mar 7, 2014
    1,212
    453
    60
    its not appear to be added

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

    redroad MDL Guru

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

    Kamrul08 MDL Member

    Dec 28, 2013
    101
    12
    10
    What's about repair? Or try bcdboot c:\windows /d /v from Windows Recovery Options.
    http://forums.mydigitallife.net/attachment.php?attachmentid=32764&stc=1
     

    Attached Files:

  10. °ツ

    °ツ MDL Addicted

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

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,787
    10,357
    210
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. °ツ

    °ツ MDL Addicted

    Jun 8, 2014
    543
    553
    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