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

2025-03-17 Thread Matthew Steele
Note that this can be worked around if the first partition has a
definition in the user-data configuration, even if it isn't used at all
during the install. From my initial example, adding this stanza to user-
data appears to work around the problem:

      - id: disk0-dummy
        type: partition
        number: 1
        device: disk0
        flag: boot
        size: 254803968
        resize: false
        preserve: true
        grub_device: false

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2101853

Title:
  Install trying to use partition other than #1 for /boot fails with
  error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/2101853/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2025-03-11 Thread Matthew Steele
** Package changed: ubuntu => subiquity (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2101853

Title:
  Install trying to use partition other than #1 for /boot fails with
  error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/2101853/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2025-03-11 Thread Matthew Steele
Note that system is EFI booting, all partitions are primary.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2101853

Title:
  Install trying to use partition other than #1 for /boot fails with
  error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2101853/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2025-03-11 Thread Matthew Steele
Public bug reported:

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: 1269312
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: 1269312
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: ubuntu
 Importance: Undecided
 Status: New

** Summary changed:

- Install trying to use partition other than #1 for /boot
+ Install trying to use partition other than #1 for /boot fails with error.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2101853

Title:
  Install trying to use partition other than #1 for /boot fails with
  error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2101853/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2025-03-11 Thread Matthew Steele
Adding curtin installer log.

** Attachment added: "curtin-install.log"
   
https://bugs.launchpad.net/ubuntu/+bug/2101853/+attachment/5863737/+files/curtin-install.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2101853

Title:
  Install trying to use partition other than #1 for /boot fails with
  error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2101853/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs