From c7534660ee2c55a5689e1a21bab6b2dff6a929d7 Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Wed, 9 Sep 2020 15:26:36 -0500 Subject: [PATCH] Ubuntu: Flatten bootloader partitioning steps This makes it easier to follow (and specifically, harder to miss the second step). Reported-by: Niall Douglas Issue #54 --- .../Ubuntu/Ubuntu 20.04 Root on ZFS.rst | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 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 81a1b9b..089630c 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 @@ -326,20 +326,18 @@ Step 2: Disk Formatting sgdisk -n1:1M:+512M -t1:EF00 $DISK - **Note:** This partition is setup for UEFI support. For legacy (BIOS) - booting, this will allow you to move the disk(s) to a new - system/motherboard in the future without having to rebuild the pool (and - restore your data from a backup). Additionally, this is used for - ``/boot/grub`` in single-disk installs, as :ref:`discussed below - `. - - For legacy (BIOS) booting:: - + # For legacy (BIOS) booting: sgdisk -a1 -n5:24K:+1000K -t5:EF02 $DISK - **Note:** For simplicity and forward compatibility, this HOWTO uses GPT - partition labels for both UEFI and legacy (BIOS) booting. The Ubuntu - installer uses an MBR label for legacy (BIOS) booting. + **Note:** While the Ubuntu installer uses an MBR label for legacy (BIOS) + booting, this HOWTO uses GPT partition labels for both UEFI and legacy + (BIOS) booting. This is simpler than having two options. It is also + provides forward compatibility (future proofing). In other words, for + legacy (BIOS) booting, this will allow you to move the disk(s) to a new + system/motherboard in the future without having to rebuild the pool (and + restore your data from a backup). The ESP is created in both cases for + similar reasons. Additionally, the ESP is used for ``/boot/grub`` in + single-disk installs, as :ref:`discussed below `. #. Create a partition for swap: