curtin should support making installed systems BIOS+UEFI hybrid bootable
Bug #1827929 reported by
Steve Langasek
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Since 18.04, Ubuntu Desktop systems by default come with both the shim-signed and grub-pc packages installed, which (with proper partitions setup) is sufficient to make the system bootable whether the firmware is booting in BIOS or UEFI mode.
Curtin should also support this for the subiquity case.
Changed in curtin (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
tags: | added: id-5c93feaf25ac0e77ea3bba88 |
tags: | added: id-5e9774b1afcc9c7952ae4e4d |
To post a comment you must log in.
IIUC
"proper partition setup" for callers of curtin is:
/boot/EFI partition *and* a grub_bios partition.
Something like:
grub_device: true
config:
- id: main_disk
type: disk
ptable: gpt
serial: disk-a
name: main_disk
wipe: superblock
- id: bios_boot
type: partition
size: 1MB
number: 1
- device: main_disk
flag: boot
id: main_disk_part2
number: 2
size: 512M
type: partition
wipe: superblock
The curtin part would be to ensure that shim-signed *and* grub-pc packages are installed into target.