Need help determining if I have something wrong in a BCD file on a flash drive


hsehestedt

Well-known member
Guru
VIP
Local time
11:08 PM
Posts
4,135
Location
Texas, USA
OS
Win11 Pro 24H2
I have an odd issue booting from a flash drive that suspect to be related to a BCD file problem. I'm being too dense to figure it out, wonder if someone with experience in this area has any thought.

As a simple example, let's say that I have partitions on the flash drive, each with one OS like this:

FAT32 Partition
Windows 11 Setup Media
Windows 11 Customized Sysprep Image

Each of these is on a separate partition all by itself. Preceeding the two Windows media partitions is a small 100 MB FAT32 partition. The only reason for this partition is to hold the \efi and \boot folders for the BCD since some UEFI systems won't boot from an NTFS partition.

Note that both of these are different Windows 11 distributions. The first is simply the plain Microsoft consumer editions ISO image. The second holds a couple of customized sysprep images I have made. However, when I choose to boot that customized image, it instead boots the other Windows 11 setup image.

After some experimentation, I've figured out that this happens whenever I have more than one distribution of the same operating system. It seems that it will always boot to the first image of that type in the list. For example, if I had two separate Windows 10 distributions, if would only allow me to boot to the first Windows 10 partition no matter which I select from the boot menu.

I can't help but think that there must be something in the BCD that is responsible, but for the life of me I cannot figure it out.

So long as I put a different OS on each partition, everything is fine. For example, this works flawlessly:

FAT32 Partition
Windows 10 Setup
Windows 11 Setup
Macrium Reflect Boot Disk

Below are two different views of my BCD file. The first is just a standard output of a bcdstore /enum of the relevant BCD, the second is the same BCD store but with verbose output. Anything stand out here?

NOTE: This is only the BCD for booting from a UEFI based system. This particular drive will never be used with a BIOS based system.

Code:
Windows Boot Manager
--------------------
identifier              {bootmgr}
description             Windows Boot Manager
locale                  en-US
inherit                 {globalsettings}
default                 {default}
displayorder            {default}
                        {77d49df3-5873-433c-8b52-72d291c7469d}
toolsdisplayorder       {memdiag}
timeout                 30
displaybootmenu         Yes

Windows Boot Loader
-------------------
identifier              {default}
device                  ramdisk=[E:]\sources\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
path                    \windows\system32\boot\winload.efi
description             Windows 11 Setup
locale                  en-US
inherit                 {bootloadersettings}
isolatedcontext         Yes
osdevice                ramdisk=[E:]\sources\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
systemroot              \windows
bootmenupolicy          Standard
detecthal               Yes
winpe                   Yes
ems                     No

Windows Boot Loader
-------------------
identifier              {77d49df3-5873-433c-8b52-72d291c7469d}
device                  ramdisk=[F:]\sources\boot.wim,{ramdiskoptions}
path                    \Windows\system32\boot\winload.efi
description             Windows 11 Sysprep Editions
locale                  en-US
inherit                 {bootloadersettings}
                        {globalsettings}
osdevice                ramdisk=[F:]\sources\boot.wim,{ramdiskoptions}


[CODE]
Windows Boot Manager
--------------------
identifier              {9dea862c-5cdd-4e70-acc1-f32b344d4795}
description             Windows Boot Manager
locale                  en-US
inherit                 {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
default                 {7619dcc9-fafe-11d9-b411-000476eba25f}
displayorder            {7619dcc9-fafe-11d9-b411-000476eba25f}
                        {77d49df3-5873-433c-8b52-72d291c7469d}
toolsdisplayorder       {b2721d73-1db4-4c62-bf78-c548a880142d}
timeout                 30
displaybootmenu         Yes

Windows Boot Loader
-------------------
identifier              {7619dcc9-fafe-11d9-b411-000476eba25f}
device                  ramdisk=[E:]\sources\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
path                    \windows\system32\boot\winload.efi
description             Windows 11 Setup
locale                  en-US
inherit                 {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
isolatedcontext         Yes
osdevice                ramdisk=[E:]\sources\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
systemroot              \windows
bootmenupolicy          Standard
detecthal               Yes
winpe                   Yes
ems                     No

Windows Boot Loader
-------------------
identifier              {77d49df3-5873-433c-8b52-72d291c7469d}
device                  ramdisk=[F:]\sources\boot.wim,{ae5534e0-a924-466c-b836-758539a3ee3a}
path                    \Windows\system32\boot\winload.efi
description             Windows 11 Sysprep Editions
locale                  en-US
inherit                 {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
                        {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
osdevice                ramdisk=[F:]\sources\boot.wim,{ae5534e0-a924-466c-b836-758539a3ee3a}
systemroot              \Windows
resumeobject            {8801932e-e70e-4ce9-a7d7-47f8e63192d7}
bootmenupolicy          Standard
detecthal               Yes
winpe                   Yes
systemroot \Windows
resumeobject {8801932e-e70e-4ce9-a7d7-47f8e63192d7}
bootmenupolicy Standard
detecthal Yes
winpe Yes
[/CODE]
 

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-built
    CPU
    Intel i7 11700K
    Motherboard
    ASUS Prime Z590-A MB
    Memory
    64GB (Waiting for warranty replacement of another 64GB for 128GB total)
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe SSD
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    3 x 512GB 2.5" SSD
    1 x 4TB 2.5" SSD
    5 x 8TB Seagate Barracuda HDD
    PSU
    Corsair HX850i
    Case
    Corsair iCUE RGB 5000X mid tower case
    Cooling
    Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Home Computer Specifications, Configuration, and Usage Notes General Specifications ASUS Prime Z590-A motherboard, serial number M1M0KC222467ARP Intel Core i7-11700K CPU (11th Gen Rocket Lake / LGA 1200 Socket) 128GB Crucial Ballistix RGB DDR4 3200 MHz DRAM (4 x 32GB) Corsair iCUE RGB 5000X mid tower case Noctua NH-D15 chromax.black CPU cooler Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Corsair LL-120 RGB Fans (Qty. 3)
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    The five 8TB drives and three 512GB SSDs are part of a DrivePool using StableBit DrivePool software. The three SSDs are devoted purely to caching for the 8TB drives. All of the important data is stored in triplicate so that I can withstand simultaneous failure of 2 disks.

    Networking: 2.5Gbps Ethernet and WiFi 6e
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor

Latest Support Threads

Back
Top Bottom