I recently came across an unexpected problem when trying to change the ThinkPad's default boot to rEFInd. Whereas on my HP Probook 450 I could do that with the Windows command:
bcdedit /set {bootmgr} path \EFI\refind\refindx64.efi
that command failed when entered in a W10 'Powershell (admin)' terminal session on the ThinkPad: "Invalid option: /set"
But - after searching the Internet for a solution - I found the following construct did work:
bcdedit /set '{bootmgr}' path \EFI\refind\refindx64.efi
!!
The first command works only in a standard old-style Windows shell; as you've discovered, the nwer "Power shell" changes the syntax a bit.
Log in to post a comment.
I recently came across an unexpected problem when trying to change the ThinkPad's default boot to rEFInd.
Whereas on my HP Probook 450 I could do that with the Windows command:
bcdedit /set {bootmgr} path \EFI\refind\refindx64.efi
that command failed when entered in a W10 'Powershell (admin)' terminal session on the ThinkPad: "Invalid option: /set"
But - after searching the Internet for a solution - I found the following construct did work:
bcdedit /set '{bootmgr}' path \EFI\refind\refindx64.efi
!!
The first command works only in a standard old-style Windows shell; as you've discovered, the nwer "Power shell" changes the syntax a bit.