summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index e55b866ed..f57a0f152 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -534,12 +534,14 @@ sub setupBootloader($) {
my ($o) = @_;
my @l = (__("First sector of drive"), __("First sector of boot partition"));
+ add2hash_($o->{bootloader}, { onmbr => lilo::suggest_onmbr($o->{hds}) });
+
$o->{bootloader}{onmbr} =
$o->ask_from_list_(_("Lilo Installation"),
_("Where do you want to install the bootloader?"),
\@l,
$l[!$o->{bootloader}{onmbr}]
- ) eq $l[0];
+ ) eq $l[0] unless $::beginner && $o->{bootloader}{onmbr};
lilo::proposition($o->{hds}, $o->{fstab}, $o->{bootloader});