如何使用bcdedit. 例如,我尝试了以下步骤,但未添加启动项。
bcdedit /create /d "LinuxLoader" /application osloader
Run Code Online (Sandbox Code Playgroud)
这将返回一个新的 guid(比如 newguid)
bcdedit /set {newguid} device partition=S:
bcdedit /set {newguid} path \boot\efi\bootx64.efi
bcdedit /set {fwbootmgr} displayorder {newguid} /addfirst
Run Code Online (Sandbox Code Playgroud)
提前致谢。