doc: update Grub configuration instructions for Ubuntu (Service VM)

Update the "Using Ubuntu as the Service OS" tutorial to tweak the instructions
pertaining to the Grub bootloader configuration. Specifically, update to reflect
the content of '/etc/default/grub' in Ubuntu 18.04 and also make loading the
Service OS kernel the default.

Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
This commit is contained in:
Geoffroy Van Cutsem 2020-02-06 16:53:39 +01:00 committed by deb-intel
parent 920f02706a
commit db6fe1e347

View File

@ -173,7 +173,7 @@ You can download latest Service OS kernel from
.. code-block:: none .. code-block:: none
menuentry 'ACRN ubuntu SOS' { menuentry 'ACRN ubuntu SOS' --id ubuntu-service-vm {
recordfail recordfail
load_video load_video
insmod gzio insmod gzio
@ -194,14 +194,15 @@ You can download latest Service OS kernel from
The command line for the kernel in /etc/grub.d/40_custom should be all The command line for the kernel in /etc/grub.d/40_custom should be all
as a single line, not as multiple lines. Otherwise the kernel will fail to boot as a single line, not as multiple lines. Otherwise the kernel will fail to boot
* Modify the ``/etc/default/grub`` file to make the grub menu visible when booting. * Modify the ``/etc/default/grub`` file to make the grub menu visible when booting
There are a couple of lines to be modified, as shown below. and make it load the Service OS kernel by default.
There are a few lines to be modified, as shown below.
.. code-block:: none .. code-block:: none
GRUB_DEFAULT=ubuntu-service-vm
#GRUB_TIMEOUT_STYLE=hidden #GRUB_TIMEOUT_STYLE=hidden
#GRUB_HIDDEN_TIMEOUT=0 GRUB_TIMEOUT=3
GRUB_HIDDEN_TIMEOUT_QUIET=false
* Update Grub on your system * Update Grub on your system