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:
@@ -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
|
||||||
|
|||||||
@@ -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``.
|
||||||
|
|||||||
Reference in New Issue
Block a user