diff options
-rwxr-xr-x | perl-install/standalone/drakboot | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot index ade6207de..f2ed2b921 100755 --- a/perl-install/standalone/drakboot +++ b/perl-install/standalone/drakboot @@ -1,6 +1,7 @@ #!/usr/bin/perl use lib qw(/usr/lib/libDrakX); +use MDK::Common; use standalone; #- warning, standalone must be loaded very first, for 'explanations' @@ -38,7 +39,13 @@ sub lilo_choice { my $bootloader = bootloader::read(); local ($_) = `detectloader`; - $bootloader->{methods} = { lilo => 1, grub => !!/grub/i, if_(arch() =~ /ppc/, yaboot => 1) }; + $bootloader->{methods} = { + if_(arch() =~ /ppc/, yaboot => 1), + if_(arch() =~ /sparc/, silo => 1), + if_(arch() =~ /ia64/, elilo => 1), + if_(arch() =~ /i.86|x86_64/, lilo => 1), + if_(arch() =~ /i.86/, grub => !!/grub/i) + }; my ($all_hds) = fsedit::get_hds(); my $fstab = [ fsedit::get_all_fstab($all_hds) ]; |