summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-06-10 22:22:56 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-06-10 22:25:39 +0200
commit9891f350e692121f3661cc77f845e89ac4f0c79a (patch)
treea418fd8fdf1be2059f7358789fcf2af7b8eb4f39 /perl-install
parent9844b7fc29edb3bf5d9fe1d2880b46177b6316fb (diff)
downloaddrakx-9891f350e692121f3661cc77f845e89ac4f0c79a.tar
drakx-9891f350e692121f3661cc77f845e89ac4f0c79a.tar.gz
drakx-9891f350e692121f3661cc77f845e89ac4f0c79a.tar.bz2
drakx-9891f350e692121f3661cc77f845e89ac4f0c79a.tar.xz
drakx-9891f350e692121f3661cc77f845e89ac4f0c79a.zip
MBR limit really is 2TiB, not 4
so use GPT for disks > 2TiB, thus fixing using invalid MBR on disks between 2 & 4 TiB
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/partition_table.pm4
3 files changed, 7 insertions, 2 deletions
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 {