BCD: naming multiple WinPE with {ramdiskoptions} clause

خرید بک لینک

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 Bootboot.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]Bootwinpex86-31.wim,{ramdiskoptions}
10) bcdedit /store %STR% /set %GUID% device ramdisk=[boot]Bootwinpex86-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.

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 217 تاريخ: پنجشنبه 3 تير 1395 ساعت: 14:38

صفحه بندی