Fix efibootmgr command to install HOS to physical machine
This commit is contained in:
parent
6b715c9051
commit
59890868c1
@ -2,10 +2,15 @@
|
||||
|
||||
To install HOS to an EFI partition, follow these steps:
|
||||
|
||||
1. copy build/hello/BOOTX64.EFI to /boot/efi/EFI/HOS.EFI (as root).
|
||||
1. Copy build/hello/BOOTX64.EFI to EFI partition EFI/HOS.EFI. For example, from Linux:
|
||||
|
||||
sudo cp build/hello/BOOTX64.EFI /boot/efi/EFI/HOS.EFI
|
||||
|
||||
2. Register EFI loader for HOS (one time only) with command:
|
||||
|
||||
efibootmgr -c -d /dev/nvme1n1p2 -l '\EFI\HOS.EFI' -L HOS
|
||||
efibootmgr -c -d /dev/nvme1n1 -p 2 -l '\EFI\HOS.EFI' -L HOS
|
||||
|
||||
(Update the -d device parameter and -p partition parameter as appropriate)
|
||||
|
||||
3. Set boot order to desired boot order. Exact order will be system dependent. Example:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user