summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-03-11 11:38:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-03-11 11:38:17 +0000
commite6e13059a92382416f92bcd00aa45e091e7f32e8 (patch)
treeb134ba2111ba27323cbb6dd2b90b51dcb11992d9
parent19772d1d6649f9bcea2bed1619f5c8fe0b74f0ca (diff)
downloaddrakx-e6e13059a92382416f92bcd00aa45e091e7f32e8.tar
drakx-e6e13059a92382416f92bcd00aa45e091e7f32e8.tar.gz
drakx-e6e13059a92382416f92bcd00aa45e091e7f32e8.tar.bz2
drakx-e6e13059a92382416f92bcd00aa45e091e7f32e8.tar.xz
drakx-e6e13059a92382416f92bcd00aa45e091e7f32e8.zip
disallow lvm on / with no /boot until lilo handles it
-rw-r--r--perl-install/fsedit.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index ec8f5a634..bb6348a6e 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -539,8 +539,11 @@ 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've selected a LVM Logical Volume as root (/).
+The bootloader is not able to handle this without a /boot partition.
+Please be sure to add a /boot partition") if $mntpoint eq "/" && isLVM($part) && !has_mntpoint("/boot", $all_hds);
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;
+ if 0; # arch() =~ /i.86/ && $mntpoint eq '/' && isLVM($hd) && @{$hd->{disks} || []} > 1;
cdie \N("This directory should remain within the root filesystem")
if member($mntpoint, qw(/root));