diff --git a/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst b/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst index f9130d7..7ebced4 100644 --- a/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst +++ b/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst @@ -489,6 +489,11 @@ Step 3: System Installation zfs create -o com.sun:auto-snapshot=false rpool/var/lib/nfs + Mount a tmpfs at /run:: + + mkdir /mnt/run + mount -t tmpfs tmpfs /mnt/run + A tmpfs is recommended later, but if you want a separate dataset for ``/tmp``:: @@ -1044,8 +1049,6 @@ If needed, you can chroot into your installed environment:: mount --rbind /dev /mnt/dev mount --rbind /proc /mnt/proc mount --rbind /sys /mnt/sys - mount -t tmpfs tmpfs /mnt/run - mkdir /mnt/run/lock chroot /mnt /bin/bash --login mount /boot mount -a 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 3534a60..598f980 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 @@ -615,6 +615,11 @@ Step 3: System Installation zfs create -o com.ubuntu.zsys:bootfs=no bpool/grub + Mount a tmpfs at /run:: + + mkdir /mnt/run + mount -t tmpfs tmpfs /mnt/run + A tmpfs is recommended later, but if you want a separate dataset for ``/tmp``:: @@ -697,8 +702,6 @@ Step 4: System Configuration mount --rbind /dev /mnt/dev mount --rbind /proc /mnt/proc mount --rbind /sys /mnt/sys - mount -t tmpfs tmpfs /mnt/run - mkdir /mnt/run/lock chroot /mnt /usr/bin/env DISK=$DISK UUID=$UUID bash --login **Note:** This is using ``--rbind``, not ``--bind``.