Skip to content

Petitboot has no awareness of BTRFS subvolumes (and can't boot OSs installed into one) #110

@nroach44

Description

@nroach44

When installing Debian 12, if btrfs is chosen for the rootfs, the installer places the whole system in a subvolume called @rootfs.

If there is no /boot volume configured, the boot files end up in /<mountpoint>/@rootfs/boot/....

GRUB2 handles this fine (on EFI at least), but petitboot doesn't find the config, so it can't boot the system.

Placing an appropriate config file in the root of the top-level "subvolume" allows a work-around, but naturally that requires preparation.

Perhaps, either all subvolumes should be mounted, or a specific list of subvolumes, if found, should be mounted (and treated as separate devices).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions