mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-01 07:49:39 +00:00
doc: Update the grub part and add code for NVMe
This commit is contained in:
parent
4b2e7f1123
commit
b1db77eb81
@ -117,7 +117,12 @@ the source code, build it, and install it on your device.
|
|||||||
|
|
||||||
sudo umount /boot/efi
|
sudo umount /boot/efi
|
||||||
sudo lsblk
|
sudo lsblk
|
||||||
|
|
||||||
|
# For SATA
|
||||||
sudo mount /dev/sda1 /mnt
|
sudo mount /dev/sda1 /mnt
|
||||||
|
# For NVMe
|
||||||
|
sudo mount /dev/nvme0n1p1 /mnt
|
||||||
|
|
||||||
ls /mnt/EFI/ubuntu
|
ls /mnt/EFI/ubuntu
|
||||||
|
|
||||||
You should see the following output:
|
You should see the following output:
|
||||||
@ -136,9 +141,12 @@ the source code, build it, and install it on your device.
|
|||||||
#. Configure the EFI firmware to boot the ACRN hypervisor by default
|
#. Configure the EFI firmware to boot the ACRN hypervisor by default
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
# For SATA
|
||||||
sudo efibootmgr -c -l "\EFI\acrn\acrn.efi" -d /dev/sda -p 1 \
|
sudo efibootmgr -c -l "\EFI\acrn\acrn.efi" -d /dev/sda -p 1 \
|
||||||
-L "ACRN Hypervisor" -u "bootloader=\EFI\ubuntu\grubx64.efi"
|
-L "ACRN Hypervisor" -u "bootloader=\EFI\ubuntu\grubx64.efi"
|
||||||
|
# For NVMe
|
||||||
|
sudo efibootmgr -c -l "\EFI\acrn\acrn.efi" -d /dev/nvme0n1 -p 1 \
|
||||||
|
-L "ACRN Hypervisor" -u "bootloader=\EFI\ubuntu\grubx64.efi"
|
||||||
|
|
||||||
#. Verify that the "ACRN Hypervisor" is added and make sure it will be booted first
|
#. Verify that the "ACRN Hypervisor" is added and make sure it will be booted first
|
||||||
|
|
||||||
@ -222,7 +230,8 @@ You can download latest Service OS kernel from
|
|||||||
There are a couple of lines to be modified, as shown below.
|
There are a couple of lines to be modified, as shown below.
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
|
#GRUB_TIMEOUT_STYLE=hidden
|
||||||
#GRUB_HIDDEN_TIMEOUT=0
|
#GRUB_HIDDEN_TIMEOUT=0
|
||||||
GRUB_HIDDEN_TIMEOUT_QUIET=false
|
GRUB_HIDDEN_TIMEOUT_QUIET=false
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user