partman-efi should follow partman-auto/disk to reuse the ESP.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
partman-efi (Debian) |
New
|
Unknown
|
|||
partman-efi (Ubuntu) |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre | ||
Trusty |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre | ||
Wily |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre |
Bug Description
[Impact]
* It may cause the installation failed when the users use https:/
[Test Case]
* Prepare a computer with UEFI secure boot enabled that has two system storage drives, such as /dev/nvme0n1 and /dev/sda.
* Install the general Ubuntu system on /dev/nvme0n1 first.
* Use debian-installer netboot images with the following d-i preseeds to install another Ubuntu on /dev/sda.
* During the installation on /dev/sda, it will use /dev/nvme0n1p1 instead of /dev/sda1 as the EFI System Partition.
[Regression Potential]
* None
[Other Info]
* This issue is found in Ubuntu OEM projects that used dell-recovery/
----
Current implementation in partman-
first EFI System Partition (abbr. ESP) to use when we provided
some kind of partman-
However if the system has more than two ESPs, partman-efi will still
use the first ESP it found even when we specify what we want in
partman-
For example, when the system has /dev/nvme0n1 and /dev/sda and we
specified partman-auto/disk and partman-
d-i partman-auto/disk string /dev/sda
d-i partman-
ubuntu :: \
100 150 200 free \
500 10000 4000000 ext4 \
105% 150% 200% linux-swap \
.
If there is already another Linux system installed in /dev/nvme0n1,
partman-efi will reuse /dev/nvme0n1p1 and mount it at
/target/boot/efi instead of reusing /dev/sda1 that we specify in
partman-
This should not be the behavior that we expected it will be.
Related branches
- Mathieu Trudel-Lapierre: Approve
-
Diff: 70 lines (+39/-4)2 files modifieddebian/changelog (+6/-0)
fstab.d/efi (+33/-4)
- Sebastien Bacher: Disapprove
-
Diff: 70 lines (+39/-4)2 files modifieddebian/changelog (+6/-0)
fstab.d/efi (+33/-4)
- Mathieu Trudel-Lapierre: Approve
-
Diff: 88 lines (+46/-5)3 files modifieddebian/changelog (+12/-0)
debian/control (+1/-1)
fstab.d/efi (+33/-4)
description: | updated |
Changed in partman-efi: | |
status: | Unknown → New |
affects: | partman-efi → ubuntu |
no longer affects: | ubuntu |
Changed in partman-efi (Ubuntu): | |
importance: | Undecided → Medium |
Changed in debian-installer (Ubuntu): | |
importance: | Undecided → Medium |
Changed in partman-efi (Debian): | |
status: | Unknown → New |
tags: | added: patch |
Changed in partman-efi (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in partman-efi (Ubuntu Wily): | |
importance: | Undecided → Medium |
Changed in debian-installer (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in debian-installer (Ubuntu Wily): | |
importance: | Undecided → Medium |
Changed in partman-efi (Ubuntu): | |
status: | New → Triaged |
Changed in partman-efi (Ubuntu Wily): | |
status: | New → Triaged |
Changed in partman-efi (Ubuntu Trusty): | |
status: | New → Triaged |
no longer affects: | debian-installer (Ubuntu Wily) |
no longer affects: | debian-installer (Ubuntu Trusty) |
no longer affects: | debian-installer (Ubuntu) |
Changed in partman-efi (Ubuntu Trusty): | |
status: | Triaged → In Progress |
Changed in partman-efi (Ubuntu Wily): | |
status: | Triaged → In Progress |
Changed in partman-efi (Ubuntu Trusty): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in partman-efi (Ubuntu Wily): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in oem-priority: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in oem-priority: | |
status: | Triaged → Fix Released |
no longer affects: | ubiquity (Ubuntu) |
Changed in oem-priority: | |
status: | Fix Released → New |
(unsubscribing sponsors from the bug, the merge requests are already in the sponsoring queue)