From d06e1a9b134e4b32661dff0e8e5b44b36a52f950 Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Tue, 5 Jan 2021 00:01:01 -0600 Subject: [PATCH] Debian/Ubuntu: Create /mnt/run/lock The fix for #97, 66233a11389d392094d7a17c97a9a88dbc775cc8, seems to have created another issue. Closes #100 Signed-off-by: Richard Laager --- docs/Getting Started/Debian/Debian Buster Root on ZFS.rst | 1 + docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst | 1 + 2 files changed, 2 insertions(+) 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 1f9b732..f9130d7 100644 --- a/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst +++ b/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst @@ -1045,6 +1045,7 @@ If needed, you can chroot into your installed environment:: 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 10b0943..3534a60 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 @@ -698,6 +698,7 @@ Step 4: System Configuration 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``.