From e5f6dd2bc9724c56ab73994aeb53e76313132bb0 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sun, 2 Apr 2017 19:34:39 +0100 Subject: Force reinitialisation of partition suggestions after wiping disk. When the "Use entire disk" partitioning solution is chosen in a UEFI install, any existing ESP will be deleted, so we must force the partition suggestions to be updated to ensure we create a new one. (this matches what is done in the diskdrake auto-allocate routine) --- perl-install/fs/partitioning_wizard.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index eef836c55..8a15ec559 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -274,7 +274,7 @@ filesystem checks will be run on your next boot into Microsoft Windows®")) if $ fsedit::partition_table_clear_and_initialize($all_hds->{lvms}, $hd, $in); # FIXME: reread all_hds: # re add suggestions if needed (as we might just have erased eg Boot BIOS partition): - fsedit::init_mntpnt_suggestions($all_hds); + fsedit::init_mntpnt_suggestions($all_hds, 1); fsedit::auto_allocate($all_hds, $partitions, $hd); 1; } ]; -- cgit v1.2.1