Debian/Ubuntu: Improve cryptsetup notes

There was already a note about ignoring a cryptsetup WARNING, but:
A) cryptsetup also prints an ERROR message, and
B) this also occurs at an earlier step.

Fixes #134

Signed-off-by: Richard Laager <rlaager@wiktel.com>
This commit is contained in:
Richard Laager
2021-03-15 18:21:49 -05:00
parent 284bedff91
commit 32954399c7
2 changed files with 17 additions and 7 deletions

View File

@@ -636,6 +636,11 @@ Step 4: System Configuration
echo REMAKE_INITRD=yes > /etc/dkms/zfs.conf echo REMAKE_INITRD=yes > /etc/dkms/zfs.conf
**Note:** Ignore any error messages saying ``ERROR: Couldn't resolve
device`` and ``WARNING: Couldn't determine root device``. `cryptsetup does
not support ZFS
<https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1612906>`__.
#. For LUKS installs only, setup ``/etc/crypttab``:: #. For LUKS installs only, setup ``/etc/crypttab``::
apt install --yes cryptsetup apt install --yes cryptsetup
@@ -757,9 +762,9 @@ Step 5: GRUB Installation
update-initramfs -c -k all update-initramfs -c -k all
**Note:** When using LUKS, this will print “WARNING could not determine **Note:** Ignore any error messages saying ``ERROR: Couldn't resolve
root device from /etc/fstab”. This is because `cryptsetup does not device`` and ``WARNING: Couldn't determine root device``. `cryptsetup
support ZFS does not support ZFS
<https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1612906>`__. <https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1612906>`__.
#. Workaround GRUB's missing zpool-features support:: #. Workaround GRUB's missing zpool-features support::

View File

@@ -814,7 +814,12 @@ Step 4: System Configuration
**Notes:** **Notes:**
- Ignore the error messages saying ``Module zfs not found`` and - Ignore any error messages saying ``ERROR: Couldn't resolve device`` and
``WARNING: Couldn't determine root device``. `cryptsetup does not
support ZFS
<https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1612906>`__.
- Ignore any error messages saying ``Module zfs not found`` and
``couldn't connect to zsys daemon``. The first seems to occur due to a ``couldn't connect to zsys daemon``. The first seems to occur due to a
version mismatch between the Live CD kernel and the chroot environment, version mismatch between the Live CD kernel and the chroot environment,
but this is irrelevant since the module is already loaded. The second but this is irrelevant since the module is already loaded. The second
@@ -922,9 +927,9 @@ Step 5: GRUB Installation
update-initramfs -c -k all update-initramfs -c -k all
**Note:** When using LUKS, this will print “WARNING could not determine **Note:** Ignore any error messages saying ``ERROR: Couldn't resolve
root device from /etc/fstab”. This is because `cryptsetup does not device`` and ``WARNING: Couldn't determine root device``. `cryptsetup
support ZFS does not support ZFS
<https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1612906>`__. <https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1612906>`__.
#. Disable memory zeroing:: #. Disable memory zeroing::