From 331a06df873fdb3b419f4f2800f1c84bf07e9750 Mon Sep 17 00:00:00 2001 From: "jose.marcos.lopez" Date: Wed, 3 Dec 2025 12:35:41 +0100 Subject: [PATCH 1/3] Correct missing package related to a bug reported in trixie --- docs/Getting Started/Debian/Debian Trixie Root on ZFS.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/Getting Started/Debian/Debian Trixie Root on ZFS.rst b/docs/Getting Started/Debian/Debian Trixie Root on ZFS.rst index fa6c3fd6f..146dd4192 100644 --- a/docs/Getting Started/Debian/Debian Trixie Root on ZFS.rst +++ b/docs/Getting Started/Debian/Debian Trixie Root on ZFS.rst @@ -136,6 +136,10 @@ Step 1: Prepare The Install Environment sudo -i +#. Install missing prerequisites in zfsutils-linux package (`bug 1091428 `_):: + + apt install --yes linux-headers-generic + #. Install ZFS in the Live CD environment:: apt install --yes debootstrap gdisk zfsutils-linux From 03921ea683406e0a14ce2624e67df18b713f66d8 Mon Sep 17 00:00:00 2001 From: "jose.marcos.lopez" Date: Wed, 3 Dec 2025 12:46:32 +0100 Subject: [PATCH 2/3] Debian Trixie uses tmpfs in /tmp by default --- .../Debian/Debian Trixie Root on ZFS.rst | 31 ++----------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/docs/Getting Started/Debian/Debian Trixie Root on ZFS.rst b/docs/Getting Started/Debian/Debian Trixie Root on ZFS.rst index 146dd4192..cab7eabf9 100644 --- a/docs/Getting Started/Debian/Debian Trixie Root on ZFS.rst +++ b/docs/Getting Started/Debian/Debian Trixie Root on ZFS.rst @@ -453,8 +453,6 @@ Step 3: System Installation zfs create -o com.sun:auto-snapshot=false rpool/var/cache zfs create -o com.sun:auto-snapshot=false rpool/var/lib/nfs - zfs create -o com.sun:auto-snapshot=false rpool/var/tmp - chmod 1777 /mnt/var/tmp If you use /srv on this system:: @@ -491,22 +489,8 @@ Step 3: System Installation zfs create rpool/var/www - A tmpfs is recommended later, but if you want a separate dataset for - ``/tmp``:: - - zfs create -o com.sun:auto-snapshot=false rpool/tmp - chmod 1777 /mnt/tmp - - The primary goal of this dataset layout is to separate the OS from user - data. This allows the root filesystem to be rolled back without rolling - back user data. - - If you do nothing extra, ``/tmp`` will be stored as part of the root - filesystem. Alternatively, you can create a separate dataset for ``/tmp``, - as shown above. This keeps the ``/tmp`` data out of snapshots of your root - filesystem. It also allows you to set a quota on ``rpool/tmp``, if you want - to limit the maximum space used. Otherwise, you can use a tmpfs (RAM - filesystem) later. + **Note:** As tmpfs is used by default by Debian Trixie, all ``/tmp`` related operations + in previous versions are now obsolete. **Note:** If you separate a directory required for booting (e.g. ``/etc``) into its own dataset, you must add it to @@ -727,17 +711,6 @@ Step 4: System Configuration ``-d DISK-part3`` (replace ``DISK`` with the correct device path) to the ``zpool import`` command. -#. Optional (but recommended): Mount a tmpfs to ``/tmp`` - - If you chose to create a ``/tmp`` dataset above, skip this step, as they - are mutually exclusive choices. Otherwise, you can put ``/tmp`` on a - tmpfs (RAM filesystem) by enabling the ``tmp.mount`` unit. - - :: - - cp /usr/share/systemd/tmp.mount /etc/systemd/system/ - systemctl enable tmp.mount - #. Optional: Install SSH:: apt install --yes openssh-server From 169d0b89a667c848b74d9d1e9368b3b0231c7efc Mon Sep 17 00:00:00 2001 From: "jose.marcos.lopez" Date: Wed, 3 Dec 2025 12:49:36 +0100 Subject: [PATCH 3/3] tasksel not installed by default in debian trixie debootstrap --- docs/Getting Started/Debian/Debian Trixie Root on ZFS.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/Getting Started/Debian/Debian Trixie Root on ZFS.rst b/docs/Getting Started/Debian/Debian Trixie Root on ZFS.rst index cab7eabf9..e09512a93 100644 --- a/docs/Getting Started/Debian/Debian Trixie Root on ZFS.rst +++ b/docs/Getting Started/Debian/Debian Trixie Root on ZFS.rst @@ -1001,6 +1001,7 @@ Step 8: Full Software Installation #. Install a regular set of software:: + apt install tasksel tasksel --new-install **Note:** This will check "Debian desktop environment" and "print server"