|
本帖最后由 darkradx 于 2019-4-28 23:03 编辑
我觉得是WIM的问题呢
因为我的BCD就是从ISO的BCD,用微软自家BCDEDIT改来的,
启动其他WIM都没问题
::清理
bcdedit.exe /store _uefibcd /delete {memdiag} /f
bcdedit.exe /store _uefibcd /delete {bootloadersettings} /f
bcdedit.exe /store _uefibcd /delete {hypervisorsettings} /f
bcdedit.exe /store _uefibcd /delete {emssettings} /f
bcdedit.exe /store _uefibcd /delete {dbgsettings} /f
bcdedit.exe /store _uefibcd /delete {globalsettings} /f
::增加{ramdiskoptions}, 避免某些BCD编辑工具操作出问题
::微软用的device, 没用{ramdiskoptions}; 自家BCDEDIT从{default}做copy也没有问题
bcdedit.exe /store _uefibcd /create {ramdiskoptions}
bcdedit.exe /store _uefibcd /set {ramdiskoptions} ramdisksdidevice boot
bcdedit.exe /store _uefibcd /set {ramdiskoptions} ramdisksdipath \boot\boot.sdi
::参数调整和克隆启动项
bcdedit.exe /store _uefibcd /timeout 10
bcdedit.exe /store _uefibcd /set {bootmgr} locale zh-CN
bcdedit.exe /store _uefibcd /set {default} bootmenupolicy legacy
bcdedit.exe /store _uefibcd /set {default} locale zh-CN
bcdedit.exe /store _uefibcd /copy {default} /d "UEFI,[boot]\pe\64\6401.wim"
bcdedit.exe /store _uefibcd /copy {default} /d "UEFI,[boot]\pe\64\6402.wim"
然后用bootice改调用.wim路径
再然后把这个BCD覆盖\efi\microsoft\boot\BCD
|
|