Debian/Ubuntu: Create /mnt/run/lock

The fix for #97, 66233a1138, seems to have
created another issue.

Closes #100

Signed-off-by: Richard Laager <rlaager@wiktel.com>
This commit is contained in:
Richard Laager
2021-01-05 00:01:01 -06:00
parent 66233a1138
commit d06e1a9b13
2 changed files with 2 additions and 0 deletions

View File

@@ -1045,6 +1045,7 @@ If needed, you can chroot into your installed environment::
mount --rbind /proc /mnt/proc mount --rbind /proc /mnt/proc
mount --rbind /sys /mnt/sys mount --rbind /sys /mnt/sys
mount -t tmpfs tmpfs /mnt/run mount -t tmpfs tmpfs /mnt/run
mkdir /mnt/run/lock
chroot /mnt /bin/bash --login chroot /mnt /bin/bash --login
mount /boot mount /boot
mount -a mount -a

View File

@@ -698,6 +698,7 @@ Step 4: System Configuration
mount --rbind /proc /mnt/proc mount --rbind /proc /mnt/proc
mount --rbind /sys /mnt/sys mount --rbind /sys /mnt/sys
mount -t tmpfs tmpfs /mnt/run mount -t tmpfs tmpfs /mnt/run
mkdir /mnt/run/lock
chroot /mnt /usr/bin/env DISK=$DISK UUID=$UUID bash --login chroot /mnt /usr/bin/env DISK=$DISK UUID=$UUID bash --login
**Note:** This is using ``--rbind``, not ``--bind``. **Note:** This is using ``--rbind``, not ``--bind``.