From c2187f20c25a5bfc0b6319c27db59cba1586dc51 Mon Sep 17 00:00:00 2001 From: "fangfang.shen" Date: Wed, 24 Jun 2020 12:22:27 +0000 Subject: [PATCH] doc: update Ubuntu GSG for ACRN V2.0. Signed-off-by: fangfang.shen Signed-off-by: David B. Kinder --- doc/getting-started/rt_industry_ubuntu.rst | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/getting-started/rt_industry_ubuntu.rst b/doc/getting-started/rt_industry_ubuntu.rst index 0c8e5efb2..a33885924 100644 --- a/doc/getting-started/rt_industry_ubuntu.rst +++ b/doc/getting-started/rt_industry_ubuntu.rst @@ -49,10 +49,12 @@ Install Ubuntu on the SATA disk ------------------------------- .. note:: The WHL Maxtang machine contains both an NVMe and SATA disk. + Before you install the Ubuntu User VM on the SATA disk, either + remove the NVME disk or delete it's blocks. #. Insert the Ubuntu USB boot disk into the WHL Maxtang machine. #. Power on the machine, then press F11 to select the USB disk as the boot - device. Select **UEFI: SanDisk**. Note that the label depends on the brand/make of the USB stick. + device. Select **UEFI: SanDisk**. Note that the label depends on the brand/make of the USB stick, and must start with **UEFI**. #. Install the Ubuntu OS. #. Select **Something else** to create the partition. @@ -83,7 +85,7 @@ Install Ubuntu on the NVMe disk #. Insert the Ubuntu USB boot disk into the WHL Maxtang machine. #. Power on the machine, then press F11 to select the USB disk as the boot - device. Select **UEFI: SanDisk**. Note that the label depends on the brand/make of the USB stick. + device. Select **UEFI: SanDisk**. Note that the label depends on the brand/make of the USB stick, and must start with **UEFI**. #. Install the Ubuntu OS. #. Select **Something else** to create the partition. @@ -351,6 +353,7 @@ Follow these instructions to build the RT kernel. .. code-block:: none + $ cp x86-64_defconfig .config $ make olddefconfig $ make targz-pkg @@ -358,12 +361,10 @@ Follow these instructions to build the RT kernel. .. code-block:: none - $ sudo mount /dev/sda1 /mnt - $ sudo cp arch/x86/boot/bzImage /mnt/EFI/ - $ sudo umount /mnt $ sudo mount /dev/sda2 /mnt - $ sudo cp linux-4.19.72-rt25-x86.tar.gz -P /mnt/usr/lib/modules/ && cd /mnt/usr/lib/modules/ - $ sudo tar zxvf linux-4.19.72-rt25-x86.tar.gz + $ sudo cp arch/x86/boot/bzImage /mnt/boot/ + $ sudo tar -zxvf linux-4.19.72-rt25-x86.tar.gz -C /mnt/lib/modules/ + $ sudo cp -r /mnt/lib/modules/lib/modules/4.19.72-rt25 /mnt/lib/modules/ $ sudo cd ~ && sudo umount /mnt && sync Launch the RTVM