From 9891f350e692121f3661cc77f845e89ac4f0c79a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 10 Jun 2016 22:22:56 +0200 Subject: MBR limit really is 2TiB, not 4 so use GPT for disks > 2TiB, thus fixing using invalid MBR on disks between 2 & 4 TiB --- perl-install/NEWS | 3 +++ perl-install/install/NEWS | 2 ++ perl-install/partition_table.pm | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index 1f4ea0fb6..82b22b5ee 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- diskdrake: + o MBR limit really is 2TiB, not 4, so use GPT for disks > 2TiB + Version 17.34 - 6 June 2016 - drakboot: diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 167989e83..3e55c85d0 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -2,6 +2,8 @@ - debug build: o gdb needs python3 instead of python2 (and guile as well) o fix loadkeys in debug mode on tty1 +- partionning: + o MBR limit really is 2TiB, not 4, so use GPT for disks > 2TiB Version 17.35.1 - 7 June 2016 diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm index 39c029899..08fa8ab25 100644 --- a/perl-install/partition_table.pm +++ b/perl-install/partition_table.pm @@ -222,8 +222,8 @@ sub get_normal_parts_and_holes { sub _default_type { my ($hd) = @_; - # default to GPT on UEFI systems and disks > 4TB - is_uefi() || $hd->{totalsectors} > 4 * 1024 * 1024 * 2048 ? 'gpt' : "dos"; + # default to GPT on UEFI systems and disks > 2TB + is_uefi() || $hd->{totalsectors} > 2 * 1024 * 1024 * 2048 ? 'gpt' : "dos"; } sub initialize { -- cgit v1.2.1