Skip to content

Commit b1db77e

Browse files
coneypodbkinder
authored andcommitted
doc: Update the grub part and add code for NVMe
1 parent 4b2e7f1 commit b1db77e

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

doc/tutorials/using_ubuntu_as_sos.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,12 @@ the source code, build it, and install it on your device.
117117
118118
sudo umount /boot/efi
119119
sudo lsblk
120+
121+
# For SATA
120122
sudo mount /dev/sda1 /mnt
123+
# For NVMe
124+
sudo mount /dev/nvme0n1p1 /mnt
125+
121126
ls /mnt/EFI/ubuntu
122127
123128
You should see the following output:
@@ -136,9 +141,12 @@ the source code, build it, and install it on your device.
136141
#. Configure the EFI firmware to boot the ACRN hypervisor by default
137142

138143
.. code-block:: none
139-
144+
# For SATA
140145
sudo efibootmgr -c -l "\EFI\acrn\acrn.efi" -d /dev/sda -p 1 \
141146
-L "ACRN Hypervisor" -u "bootloader=\EFI\ubuntu\grubx64.efi"
147+
# For NVMe
148+
sudo efibootmgr -c -l "\EFI\acrn\acrn.efi" -d /dev/nvme0n1 -p 1 \
149+
-L "ACRN Hypervisor" -u "bootloader=\EFI\ubuntu\grubx64.efi"
142150
143151
#. Verify that the "ACRN Hypervisor" is added and make sure it will be booted first
144152

@@ -222,7 +230,8 @@ You can download latest Service OS kernel from
222230
There are a couple of lines to be modified, as shown below.
223231

224232
.. code-block:: none
225-
233+
234+
#GRUB_TIMEOUT_STYLE=hidden
226235
#GRUB_HIDDEN_TIMEOUT=0
227236
GRUB_HIDDEN_TIMEOUT_QUIET=false
228237

0 commit comments

Comments
 (0)