Skip to content

Snapshot btrfs root subvolume after installation when installing on BTRFS #18

@serhepopovych

Description

@serhepopovych

It might be useful to
1) snapshot it as rootfs for containers (e.g. LXC) saving space and benefiting from CoW feature of BTRFS
2) have multiple, isolated from each other, installations with different set of packages (e.g. different desktop environments)
3) have option to recovery system by booting from "original" snapshot.

To implement this we need
1) add grub menu entry to boot from "original" snapshot for recovery purposes
2) inject finish-install.d script that executed by installer after root subvolume unmounted
to create snapshot.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions