Skip to content

Ubuntu with Dracut, GRUB and RO snapshots - overlayfs #399

@Payne-X6

Description

@Payne-X6

#help-needed
My issue seems to be related to #214, but for some reason it is closed withou solution (??)

I have Ubuntu 25.10 intalled using debootstrap (not using standard installer).. Still, for me, everything seems to works just fine, but when change snapshot from grub, it's still in RO state...

I have add dracut module for overlayfs

/etc/dracut.conf.d/90-overlayfs.conf

add_dracutmodules+=" overlayfs "

and recompiled it.. Add kernel parameter for snapshots to GRUB-BTRFS config

/etc/default/grub-btrfs/config

GRUB_BTRFS_SNAPSHOT_KERNEL_PARAMETERS="rd.live.overlay.overlayfs=1"

and generated grub entries (seems right - with overlay settings from config file)...

But after "rollback", classic GNOME errors about gdm3, snapd, ... systemd service show up... I'm pretty sure it happens because it's RO, still...

I was trying to create btrfs subvolumes for /var/lib/gdm3, AccountsService (from Kali linux documentation), but it's getting out of hand really fast. now I need another subvol for snapd, and maybe others in the future... This does not look for me as an right path... I need overlayfs (or some alternative, I noticed that experiments with the systemd.volatile are not feasible)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions