Install trying to use partition other than #1 for /boot fails with error.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 24.04.2
Doing an unattended install where the partition specified for /boot is other than the first one, subiquity fails with the following error:
An error occured handling 'disk0-boot': RuntimeError - Cannot find previous partition on disk /dev/disk/
finish: cmd-install/
-----------
#cloud-config
autoinstall:
version: 1
refresh-
update: false
early-commands:
- /custom-
late-commands:
- /custom-
ssh:
install-server: true
storage:
version: 2
config:
- id: disk0
type: device
path: /dev/disk/
preserve: true
- id: disk0-boot
type: partition
number: 3
device: disk0
flag: boot
size: 255852544
preserve: false
resize: false
- id: disk0-root
type: partition
number: 8
device: disk0
preserve: true
resize: false
size: 10000269312
- id: disk0-boot-format
type: format
preserve: false
fstype: vfat
volume: disk0-boot
- id: disk0-root-format
type: format
fstype: ext4
preserve: false
volume: disk0-root
- id: disk0-root-mount
type: mount
device: disk0-root-format
path: /
- id: disk0-boot-mount
type: mount
device: disk0-boot-format
path: /boot/efi
- id: disk0-swap
type: partition
size: 10000269312
preserve: true
resize: false
number: 6
device: disk0
- id: disk0-swap-format
type: format
fstype: swap
preserve: true
volume: disk0-swap
- id: disk0-swap-mount
type: mount
device: disk0-swap-format
path: none
user-data:
packages:
- nfs-common
- net-tools
runcmd:
- /etc/confluent/
summary: |
- Install trying to use partition other than #1 for /boot + Install trying to use partition other than #1 for /boot fails with + error. |
affects: | ubuntu → subiquity (Ubuntu) |
Note that system is EFI booting, all partitions are primary.