bcdedit /create /d "Windows 10 on D:" /application osloader This returns a GUID like xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx . Copy it.

bcdedit /set GUID device partition=D: bcdedit /set GUID osdevice partition=D: bcdedit /set GUID path \Windows\system32\winload.efi bcdedit /displayorder GUID /addlast

Then set the partition and OS path:

Note: Easier to use GRUB. But for direct boot:

bcdedit /create /d "Ubuntu Linux" /application osloader bcdedit /set GUID device partition=G: bcdedit /set GUID path \ubuntu\vmlinuz bcdedit /set GUID options "root=/dev/sda3 ro"

Mastodon

Subscribe to foojay updates:

https://foojay.io/feed/
Copied to the clipboard

Add Boot Option Windows 11 Fixed 【macOS FREE】

bcdedit /create /d "Windows 10 on D:" /application osloader This returns a GUID like xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx . Copy it.

bcdedit /set GUID device partition=D: bcdedit /set GUID osdevice partition=D: bcdedit /set GUID path \Windows\system32\winload.efi bcdedit /displayorder GUID /addlast add boot option windows 11

Then set the partition and OS path:

Note: Easier to use GRUB. But for direct boot: bcdedit /create /d "Windows 10 on D:" /application

bcdedit /create /d "Ubuntu Linux" /application osloader bcdedit /set GUID device partition=G: bcdedit /set GUID path \ubuntu\vmlinuz bcdedit /set GUID options "root=/dev/sda3 ro" add boot option windows 11