Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

booting an efi win7 os deployed with imagex

Options
  • 08-09-2016 12:31pm
    #1
    Registered Users Posts: 720 ✭✭✭


    I have a machine that has uefi firmware, and have installed win7, and syspreped it.

    I have captured the efi partiton, and the os partition with imagex, and have been able to drop them onto another machine with the same hardware.

    To be able to get it to boot, I have to first boot a win7 installation disk, and do a boot repair.

    I would have hoped that the sysprep oobe might have been able to take care of this, but it seems not. I haven't passed the generalize command to sysprep, it seems to mess with the drivers, which I would like to avoid.

    I can't find a bcdedit command to do the boot repair, and I don't have access to sccm which might be able to do this.

    Is it possible to repair the boot using bcdedit?


Comments

  • Registered Users Posts: 36,167 ✭✭✭✭ED E


    Istn BCDEdit only for BIOS boots not EFI booting?

    I'd install fresh with the mobo set to legacy OS mode (BIOS not UEFI) then you can plug and play at will as long as the other machines are left in BIOS mode.


  • Registered Users Posts: 720 ✭✭✭kierank01


    I may have found what I'm looking for, need to test it...
    https://technet.microsoft.com/en-us/library/cc765951(v=ws.10).aspx

    I have tried the legacy option, but can't seem to install 7 onto the ssd in the machines that I have, it seems it needs to be efi.

    This is the bcdedit output of the working machine, which seems to show efi stuff...
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    
    C:\Windows\system32>bcdedit
    
    Windows Boot Manager
    --------------------
    identifier              {bootmgr}
    device                  partition=\Device\HarddiskVolume1
    path                    \EFI\Microsoft\Boot\bootmgfw.efi
    description             Windows Boot Manager
    locale                  en-US
    inherit                 {globalsettings}
    default                 {current}
    resumeobject            {f622d8eb-739f-11e6-a94c-bcba4d66e088}
    displayorder            {current}
    toolsdisplayorder       {memdiag}
    timeout                 30
    
    Windows Boot Loader
    -------------------
    identifier              {current}
    device                  partition=C:
    path                    \Windows\system32\winload.efi
    description             Windows 7
    locale                  en-US
    inherit                 {bootloadersettings}
    recoverysequence        {f622d8ed-739f-11e6-a94c-bcba4d66e088}
    recoveryenabled         Yes
    osdevice                partition=C:
    systemroot              \Windows
    resumeobject            {f622d8eb-739f-11e6-a94c-bcba4d66e088}
    nx                      OptIn
    
    C:\Windows\system32>
    


  • Registered Users Posts: 720 ✭✭✭kierank01


    https://technet.microsoft.com/en-us/library/cc765951(v=ws.10).aspx

    This didn't exactly work as suggested, got a number of errors running the last few commands...

    more frustratingly, it actually boots, so I really don't know what I did to make it work...

    more testing required...


  • Registered Users Posts: 720 ✭✭✭kierank01


    ok, for everyone still listening, the technet link does work, but needs to be completed from a fully wiped system, orphan entried in the bios need to be cleared also.

    It is a good idea to reboot into the winpe env before doing the bcdedit commands, and re-assign a letter to the efi partition, as drive letters can swap around depending on what partitions are on the HD.


Advertisement