[Bug 2101853] [NEW] Install trying to use partition other than #1 for /boot fails with error.

Launchpad Bug Tracker 2101853 at bugs.launchpad.net
Tue Mar 11 13:35:36 UTC 2025


You have been subscribed to a public bug:

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/by-id/scsi-35000c5008ce144a0
finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring partition: disk0-boot

-----------

#cloud-config
autoinstall:
  version: 1
  refresh-installer:
    update: false
  early-commands:
    - /custom-installation/pre.sh
  late-commands:
    - /custom-installation/post.sh
  ssh:
    install-server: true
  storage:
    version: 2
    config:
      - id: disk0
        type: device
        path: /dev/disk/by-id/scsi-35000c5008ce144a0
        grub_device: false
        preserve: true
      - id: disk0-boot
        type: partition
        number: 3
        device: disk0
        flag: boot
        size: 255852544
        preserve: false
        resize: false
        grub_device: true
      - id: disk0-root
        type: partition
        number: 8
        device: disk0
        preserve: true
        resize: false
        size: 10000269312
        grub_device: false
      - 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
        grub_device: false
      - 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/firstboot.sh

** Affects: subiquity (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment
-- 
Install trying to use partition other than #1 for /boot fails with error.
https://bugs.launchpad.net/bugs/2101853
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to subiquity in Ubuntu.



More information about the foundations-bugs mailing list