From 124b8e3360ab2d5def420fabf0217e15c52acb6c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 14 Sep 2003 17:46:11 +0000 Subject: add a warning for / on LVM: "You may not be able to install lilo (since lilo doesn't handle a LV on multiple PVs)" --- perl-install/fsedit.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl-install') diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index fbde3609b..f3c5b763d 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -532,6 +532,9 @@ No bootloader is able to handle this without a /boot partition. Please be sure to add a /boot partition") if $mntpoint eq "/" && isRAID($part) && !has_mntpoint("/boot", $all_hds); die \N("You can't use a LVM Logical Volume for mount point %s", $mntpoint) if $mntpoint eq '/boot' && isLVM($hd); + cdie \N("You may not be able to install lilo (since lilo doesn't handle a LV on multiple PVs)") + if arch() =~ /i.86/ && member($mntpoint, '/', '/boot') && isLVM($hd) && @{$hd->{disks} || []} > 1; + cdie \N("This directory should remain within the root filesystem") if member($mntpoint, qw(/root)); die \N("This directory should remain within the root filesystem") -- cgit v1.2.1