From e6e13059a92382416f92bcd00aa45e091e7f32e8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 11 Mar 2004 11:38:17 +0000 Subject: disallow lvm on / with no /boot until lilo handles it --- perl-install/fsedit.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'perl-install/fsedit.pm') 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)); -- cgit v1.2.1