From fa5d71d34b1193fea0e290bb0586d0ff02747366 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 27 Jul 2016 17:20:33 +0200 Subject: first usable sector is LBA34 for GPT same rationale as in commit 767048570e8c44061cb0d6faf689698d3313870c for mga#18666 this wasn't an issue as we later round partition on 1MB boundary but it's still cleaner/safer... --- perl-install/NEWS | 2 ++ perl-install/install/NEWS | 2 ++ perl-install/partition_table/gpt.pm | 2 ++ 3 files changed, 6 insertions(+) diff --git a/perl-install/NEWS b/perl-install/NEWS index 932903c0b..c1182f8e1 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- diskdrake: + o first usable sector is LBA34 for GPT - drakboot: o fix .old backup for grub2's grub.cfg - authentication: add support for sha256/sha512 and default to sha512 diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 83e1e0380..3686461a8 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,5 +1,7 @@ - bootloader configuration: o fix .old backup for grub2's grub.cfg +- partionning: + o first usable sector is LBA34 for GPT Version 17.52 - 17 July 2016 diff --git a/perl-install/partition_table/gpt.pm b/perl-install/partition_table/gpt.pm index 47cfa842e..3ac6673d6 100644 --- a/perl-install/partition_table/gpt.pm +++ b/perl-install/partition_table/gpt.pm @@ -14,6 +14,8 @@ my $nb_primary = 128; # See https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs for a list of exitings GUIDs +sub first_usable_sector { 34 } + sub last_usable_sector { my ($hd) = @_; #- do not use totalsectors because backup GPT is at end -- cgit v1.2.1