summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup-disk.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup-disk.in b/setup-disk.in
index afb985b..e008c3c 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -1420,6 +1420,10 @@ esac
dmesg -n1
+if [ -n "$USE_LVM" ] && ! grep -w -q device-mapper /proc/misc; then
+ modprobe dm-mod
+fi
+
# native disk install
case "$DISK_MODE" in
sys) native_disk_install$USE_LVM $diskdevs;;