locked
Making multi-bootable Windows PE USB drive RRS feed

  • Question

  • Good day, everybody!
    I'm trying to make a multi-bootable WinPE USB drive using standard AIK tools. I made a set of different boot.wim files with just a driver added to them. Then I edited BCD by copying default Windows OS loader entries and customized each of them to point to the desired boot image. Displayorder entries were added to bootmgr automatically. That's it. But unfortunately upon the boot no selection menu appears and WinPE goes straight into its default image. Customized images themselves are working fine, since I've tested them through renaming to default boot.wim. Did I miss anything important?

    Here is partial BCD content:

    Windows Boot Manager
    --------------------
    identifier {bootmgr}
    description Windows Boot Manager
    locale en-US
    inherit {globalsettings}
    flightsigning Yes
    default {default}
    displayorder {default}
    {96113e8d-e534-11e6-95db-1c872c46e110}
    toolsdisplayorder {memdiag}
    timeout 30

    Windows Boot Loader
    -------------------
    identifier {default}
    device ramdisk=[boot]\sources\boot.wim,{ramdiskoptions}
    path \windows\system32\boot\winload.efi
    description Windows PE
    locale en-US
    inherit {bootloadersettings}
    isolatedcontext Yes
    osdevice ramdisk=[boot]\sources\boot.wim,{ramdiskoptions}
    systemroot \windows
    bootmenupolicy Standard
    detecthal Yes
    winpe Yes
    ems No

    Windows Boot Loader
    -------------------
    identifier {96113e8d-e534-11e6-95db-1c872c46e110}
    device ramdisk=[boot]\sources\boot_12.8.0.1016.wim,{ramdiskoptions}
    path \windows\system32\boot\winload.efi
    description Windows PE with IRST 12.8.0.1016
    locale en-US
    inherit {bootloadersettings}
    isolatedcontext Yes
    osdevice ramdisk=[boot]\sources\boot_12.8.0.1016.wim,{ramdiskoptions}
    systemroot \windows
    bootmenupolicy Standard
    detecthal Yes
    winpe Yes
    ems No
    • Edited by dpokrovsky Tuesday, January 31, 2017 10:43 AM
    Tuesday, January 31, 2017 10:34 AM

All replies

  • Hi dpokrovsky,

    What is the main purpose?

    If you want to dual boot from USB PE or the drive, I am afraid it is not available.
    Booting from a USB or a SATA/IDE drive is controlled by the BIOS, the bootmgr hasn`t taken effect during that time. So adding the bootmgr entry won`t work. In another word, booting from an USB or SATA/IDE are mutually exclusive.

    Best regards


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, February 3, 2017 1:52 AM
  • I see. The purpose was to make one USB with a set of boot images with drivers of different versions. To be able to select which one to use within Windows boot menu rather than messing with a bunch of thumb drives. Here is not a choosing to boot from either USB or SATA, but to boot from different boot.wim files on the same USB. Yet not clear to me why this is not possible. My understanding is that fwbootmgr is what used by BIOS (UEFI) while bootmgr is under Windows command.

    Regards, Dmitry

    Monday, February 6, 2017 3:43 PM
  • If you are working on newer systems make sure Fastboot is disabled in the Firmware(bios).  I think that will bypass other selections and take you to the default item.
    Monday, February 6, 2017 4:14 PM