From f7d9fbed3ca1324c80e4077228b3e614d6374086 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Mon, 19 Oct 2020 19:07:13 +0200 Subject: [PATCH] Ensure to mount /boot even for BTRFS filesystem --- debian/chroot.mount | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/debian/chroot.mount b/debian/chroot.mount index 6681d75..d689de5 100755 --- a/debian/chroot.mount +++ b/debian/chroot.mount @@ -48,13 +48,12 @@ apt install ipcalc mkdir -p -- /target mountpoint -q /target || mount -- /dev/mapper/"${vgname}"-root /target + ### boot - grub + mountpoint -q /target/boot || mount -- ${hdd}1 /target/boot ## if [ "${manage_btrfs}" -eq 0 ]; then printf '%b\n' "The root system is in ${GREEN}BTRFS${RESET}, no extra mount is required." else - ### boot - grub - mountpoint -q /target/boot || mount -- ${hdd}1 /target/boot - #### home LV mountpoint -q /target/home || mount -- /dev/mapper/"${vgname}"-home /target/home #### opt LV