diff --git a/debian/chroot.mount b/debian/chroot.mount index 014a7a0..fe3e633 100755 --- a/debian/chroot.mount +++ b/debian/chroot.mount @@ -92,7 +92,11 @@ fi ## Mount the system {{{ ### Root mkdir -p -- /target -mountpoint -q /target || mount -- /dev/mapper/"${vgname}"-root /target +if [ -b "/dev/mapper/${vgname}-root" ]; then + mountpoint -q /target || mount -- /dev/mapper/"${vgname}"-root /target +else + mountpoint -q /target || mount -- ${hdd}3 /target +fi ### boot - grub mountpoint -q /target/boot || mount -- ${hdd}1 /target/boot