Debian/Ubuntu: Add a note about ZFS_INITRD_ADDITIONAL_DATASETS

Putting /etc on a separate dataset leads to a bad time.

Closes #356
This commit is contained in:
Richard Laager
2023-01-05 22:46:22 -06:00
parent 2af017fe58
commit 33de2eef4b
3 changed files with 15 additions and 0 deletions

View File

@@ -580,6 +580,11 @@ Step 3: System Installation
to limit the maximum space used. Otherwise, you can use a tmpfs (RAM
filesystem) later.
**Note:** If you separate a directory required for booting (e.g. ``/etc``)
into its own dataset, you must add it to
``ZFS_INITRD_ADDITIONAL_DATASETS`` in ``/etc/default/zfs``. Datasets
with ``canmount=off`` (like ``rpool/usr`` above) do not matter for this.
#. Mount a tmpfs at /run::
mkdir /mnt/run