You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bootc: composefs switch/upgrade fails with GRUB and a separate /boot partition #35
The Composefs Stable board's copy of this item said:
Found by rhel-bootc-examples' composefs e2e test (Workstream PVTI_lAHOAQ_SPs4Bj2Gizg82lWI). Upstream: bootc-dev/bootc.
On a composefs + GRUB (BLS) install with a separate /boot filesystem, bootc switch and bootc upgrade fail:
error: Switching: Composefs Switching: Performing Upgrade Operation: Setting up BLS boot: Getting sorted Type1 boot entries: No such file or directory (os error 2)
The boot filesystem is mounted at /boot (install adds a systemd.mount-extra karg), and /sysroot/boot is an empty directory on the physical root. setup_composefs_bls_boot() (BootSetupType::Upgrade, crates/lib/src/bootc_composefs/boot.rs) always uses root_path /sysroot, so it reads and writes /sysroot/boot. bootc-dev/bootc#2440 fixed the same for status (get_boot_dir_for_grub), not for this path. bcvk's to-disk layout has no separate /boot, so CI doesn't hit it; image-builder disks always have one.
Repro: an unsealed composefs image (GRUB, ext4) installed with bootc install to-filesystem --composefs-backend onto a disk with a separate ext4 /boot (e.g. an image-builder qcow2), boot, bootc switch <another image>.
Activity
cgwalters-bot commentedon Sep 26, 2026
The Composefs Stable board's copy of this item said:
cgwalters-bot commentedon Oct 2, 2026
Fixed by bootc-dev/bootc#2516, merged on 2026-10-01 (the gate D1, #237, waited on). Closing.
Generated-by: https://github.com/cgwalters/#llms