boot-repair should check partition order in GPT table
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Boot-Repair |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
I have a case with Dell Latitude E6410 (firmware ver A16), That doesn't boot in UEFI mode because EFI partition wasn't the first in partition table (/dev/sda4) where it was in the first on disk (start sector 2048).
That was with fresh Ubuntu 16.04 install and run Boot-Repair after that. I repeat the installation multiple times.
Ubuntu entry appears in UEFI boot menu, selecting it comes with no boot media message.
I would suggest if you have such similar cases that boot-repair fix the partition table order like (gdisk > s). Or at least warn user about partition order issue in GPT table with some UEFI firmwares.
`sudo dmidecode`
BIOS Information
Vendor: Dell Inc.
Version: A16
Release Date: 12/05/2013
...
System Information
Manufacturer: Dell Inc.
Product Name: Latitude E6410
`sudo sfdisk -d /dev/sda`
label: gpt
label-id: 4A4481B5-
device: /dev/sda
unit: sectors
first-lba: 34
last-lba: 976773134
/dev/sda1 : start= 4194304, size= 127924224, type=0FC63DAF-
/dev/sda2 : start= 874115072, size= 98463744, type=0FC63DAF-
/dev/sda4 : start= 2048, size= 409600, type=C12A7328-
/dev/sda5 : start= 154339328, size= 715456512, type=0FC63DAF-
/dev/sda6 : start= 136513536, size= 17825792, type=0657FD6D-
Thanks for the report and sorry for late answer.
What did you do exactly to fix this ?
If I understood correctly, you used gdisk to assign your EFI partition to sda1 instead of sda4, and fixed fstab accordingly?