From 8275995e0c89984c0cd506ca7dc40d5857005349 Mon Sep 17 00:00:00 2001 From: lub Date: Thu, 26 Mar 2020 21:27:20 +0100 Subject: [PATCH] bind mount /run into chroot without this lvm2 and update-grub hang for a long time and don't work correctly --- setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.sh b/setup.sh index fe79a5d..f2b2dcf 100755 --- a/setup.sh +++ b/setup.sh @@ -47,6 +47,7 @@ debootstrap --variant=minbase --arch=amd64 buster "$chroot" https://deb.debian.o mount -t proc none "$chroot/proc" mount -t sysfs none "$chroot/sys" mount -o bind /dev "$chroot/dev" +mount -o bind /run "$chroot/run" # set hostname