From 129fca26580ae00989b6311d8d7b92e3d6260ea7 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 11 Oct 2013 04:10:34 +0200 Subject: LVM need to be installed in /target. --- partition.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/partition.sh b/partition.sh index f13c295..a1f0f78 100755 --- a/partition.sh +++ b/partition.sh @@ -53,6 +53,7 @@ fripost_encrypt $part_system system_crypt \ # Create logical volumes for /, swap and /home using LVM2 vg=$(hostname) +apt-install lvm2 || true # LVM need to be installed in the target chroot pvcreate -ff -y /dev/mapper/system_crypt vgcreate $vg /dev/mapper/system_crypt -- cgit v1.2.3