diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-09-11 15:54:30 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-09-11 15:54:30 +0000 |
commit | 6010c5693eff384e6b559b7e1577097b8ae1d510 (patch) | |
tree | 09627d484d2f6db84d75057a40e95e4771412d08 | |
parent | 3d789cb439fd37a38bc028de78a48ec76fb55431 (diff) | |
download | drakx-backup-do-not-use-6010c5693eff384e6b559b7e1577097b8ae1d510.tar drakx-backup-do-not-use-6010c5693eff384e6b559b7e1577097b8ae1d510.tar.gz drakx-backup-do-not-use-6010c5693eff384e6b559b7e1577097b8ae1d510.tar.bz2 drakx-backup-do-not-use-6010c5693eff384e6b559b7e1577097b8ae1d510.tar.xz drakx-backup-do-not-use-6010c5693eff384e6b559b7e1577097b8ae1d510.zip |
for lilo, do not have table=/dev/xxx if the device is not a primary
partition (otherwise lilo dies)
-rw-r--r-- | perl-install/bootloader.pm | 4 |
1 files changed, 3 insertions, 1 deletions
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}) }); } |