From 6010c5693eff384e6b559b7e1577097b8ae1d510 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 11 Sep 2001 15:54:30 +0000 Subject: for lilo, do not have table=/dev/xxx if the device is not a primary partition (otherwise lilo dies) --- perl-install/bootloader.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 59fdfeb36..8446e7ba6 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -380,7 +380,9 @@ wait %d seconds for default boot. type => 'other', kernel_or_dev => "/dev/$_->{device}", label => $label . ($nbs{$label}++ ? $nbs{$label} : ''), - table => "/dev/$_->{rootDevice}", + if_($_->{device} =~ /[1-4]$/, + table => "/dev/$_->{rootDevice}" + ), unsafe => 1 }) if isNT($_) || isFat($_) && isFat({ type => fsedit::typeOfPart($_->{device}) }); } -- cgit v1.2.1