From 17e0446be129455d16c02375d9482f0fe4ea6e64 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 27 Feb 2013 17:44:19 +0000 Subject: do not forbid installing grub2 on a partition anymore now that we support it reverting commit r7350 from 2013-02-20: "prevent installing grub2 somewhere else than MBR" --- perl-install/any.pm | 8 -------- 1 file changed, 8 deletions(-) (limited to 'perl-install') diff --git a/perl-install/any.pm b/perl-install/any.pm index a8786dc89..990813f74 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -426,14 +426,6 @@ sub setupBootloader__general { $in->ask_from_({ #messages => N("Bootloader main options"), title => N("Bootloader main options"), interactive_help_id => 'setupBootloader', - validate => sub { - if ($b->{method} eq 'grub2' && $b->{boot} =~ /\d$/) { - log::l("Impossible to install Grub2 on something else than a MBR.\nWe should chain load grub2 when not on MBR"); - $in->ask_warn(N("Error"), N("Grub2 cannot be installed on a partition, only on the MBR (whole disk)")); - return 0; - } - return 1; - }, }, [ #title => N("Bootloader main options"), { label => N("Bootloader"), title => 1 }, -- cgit v1.2.1