From 9883c5eae6b783f9102fe26472c07c6d9c12c86d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 29 Aug 2014 15:13:23 +0200 Subject: [PATCH] installer: ignore partitions that are part of LVM. --- installer.sh.in | 1 + 1 file changed, 1 insertion(+) diff --git a/installer.sh.in b/installer.sh.in index c7c690e..171cd96 100644 --- a/installer.sh.in +++ b/installer.sh.in @@ -156,6 +156,7 @@ show_partitions() { fstype=$(lsblk -nfr /dev/$part|awk '{print $2}'|head -1) [ "$fstype" = "iso9660" ] && continue [ "$fstype" = "crypto_LUKS" ] && continue + [ "$fstype" = "LVM2_member" ] && continue fssize=$(lsblk -nr /dev/$part|awk '{print $4}'|head -1) echo "/dev/$part" echo "size:${fssize:-unknown};fstype:${fstype:-none}"