From 73be19583489229f6893e4dc69d0d63e05e0ee80 Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Sat, 30 May 2020 00:17:43 -0500 Subject: [PATCH] Ubuntu 20.04: Fix formatting This fixes the formatting for Step 5, item 6, "Install the bootloader". Signed-off-by: Richard Laager --- .../Ubuntu/Ubuntu 20.04 Root on ZFS.rst | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst b/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst index ff5f020..46423f8 100644 --- a/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst +++ b/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst @@ -807,27 +807,29 @@ Step 5: GRUB Installation #. Install the boot loader: - #. For legacy (BIOS) booting, install GRUB to the MBR:: + Choose one of the following options: - grub-install $DISK + - For legacy (BIOS) booting, install GRUB to the MBR:: - Note that you are installing GRUB to the whole disk, not a partition. + grub-install $DISK - If you are creating a mirror or raidz topology, repeat the ``grub-install`` - command for each disk in the pool. + Note that you are installing GRUB to the whole disk, not a partition. - #. For UEFI booting, install GRUB to the ESP:: + If you are creating a mirror or raidz topology, repeat the + ``grub-install`` command for each disk in the pool. - grub-install --target=x86_64-efi --efi-directory=/boot/efi \ - --bootloader-id=ubuntu --recheck --no-floppy + - For UEFI booting, install GRUB to the ESP:: - For a mirror or raidz topology, run this for the additional disk(s), - incrementing the “2” to “3” and so on for both ``/boot/efi2`` and - ``ubuntu-2``:: + grub-install --target=x86_64-efi --efi-directory=/boot/efi \ + --bootloader-id=ubuntu --recheck --no-floppy - cp -a /boot/efi/EFI /boot/efi2 - grub-install --target=x86_64-efi --efi-directory=/boot/efi2 \ - --bootloader-id=ubuntu-2 --recheck --no-floppy + For a mirror or raidz topology, run this for the additional disk(s), + incrementing the “2” to “3” and so on for both ``/boot/efi2`` and + ``ubuntu-2``:: + + cp -a /boot/efi/EFI /boot/efi2 + grub-install --target=x86_64-efi --efi-directory=/boot/efi2 \ + --bootloader-id=ubuntu-2 --recheck --no-floppy #. Fix filesystem mount ordering: