I want a BCD boot menu with multiple WinPE versions, that have their descriptions displayed. I made a thumb drive, and later PXE, that supports booting to multiple WinPE environments - from version 3.1 to 10, x64 and x32. Problem is that when creating BCD store to boot to PE, you have to use {ramdiskoptions} clause. In this case, upon booting, menu doesn't display "descriptions" from each entry - it displays description from {ramdiskoptions} entry only, so I ended up with multiple options named "Ramdisk Options". I will demonstrate how I did this (assume %STR% is full path to BCD store and %GUID% is explained below example):
1) bcdedit /createstore %STR%
2) bcdedit /store %STR% /create {ramdiskoptions} /d "Ramdisk Options"
3) bcdedit /store %STR% /set {ramdiskoptions} ramdisksdidevice Boot
4) bcdedit /store %STR% /set {ramdiskoptions} ramdisksdipath \Boot\boot.sdi
5) bcdedit /store %STR% /create /d "WinPE x86 3.1" /application osloader
6) bcdedit /store %STR% /set %GUID% systemroot \Windows
7) bcdedit /store %STR% /set %GUID% detecthal Yes
8) bcdedit /store %STR% /set %GUID% winpe Yes
9) bcdedit /store %STR% /set %GUID% osdevice ramdisk=[boot]\Boot\winpex86-31.wim,{ramdiskoptions}
10) bcdedit /store %STR% /set %GUID% device ramdisk=[boot]\Boot\winpex86-31.wim,{ramdiskoptions}
11) (repeat lines 5 to 10 as needed)
12) bcdedit /store %STR% /create {bootmgr} /d "Windows Boot Manager"
13) bcdedit /store %STR% /set {bootmgr} displayorder %GUID% ........
So I repeat lines 5 to 10 for WinPE v5 x86, v3.1 x64, v5 x64 and v10. Everytime I set new description at line 5, get new %GUID%, set appropriate image at line 9 and 10, finally I do displayorder with every %GUID% just created. Then I boot the drive, which says:
Ramdisk Options
Ramdisk Options
Ramdisk Options
Ramdisk Options
Ramdisk Options
I want it to show my descriptions from every entry, like WinPE x86 3.1. Please advise as to what might I be doing wrong. I also tried to use easy-bcd to modify entries, but I did not succeed.
EDIT
Fiddling some more, I've created another store and created only {ramdiskoptions} in there. I've issued two commands and here's their output (just displaying ID and type):
d:\!@>bcdedit /store %str% /enum all /V
Setup Ramdisk Options
---------------------
identifier {ae5534e0-a924-466c-b836-758539a3ee3a}
d:\!@>bcdedit /store %str% /enum all
Setup Ramdisk Options
---------------------
identifier {ramdiskoptions}
So I think, that all boils down to creating another entry of type "Setup Ramdisk Options", but I can't find proper command for that in bcdeditor's help. BTW Visual BCD craps out random errors about external programs modifying store and is useless.