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/partition_table.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/partition_table.pm') 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