From 5b898cd75b85c7334fb2f07a56bedbcbc24301d9 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 3 Feb 2015 22:12:26 +0000 Subject: Default to GPT on large disks, not LVM --- 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 0e493ef6f..d167b6521 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) = @_; - is_uefi() ? 'gpt' : - $hd->{totalsectors} > 4 * 1024 * 1024 * 2048 ? 'lvm' : "dos"; #- default to LVM on full disk when >4TB + # default to GPT on UEFI systems and disks > 4TB + is_uefi() || $hd->{totalsectors} > 4 * 1024 * 1024 * 2048 ? 'gpt' : "dos"; } sub initialize { -- cgit v1.2.1