Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does the tool support booting read-only snapshots in overlayfs mode? #27

Closed
developer91234 opened this issue Mar 3, 2024 · 4 comments
Closed

Comments

@developer91234
Copy link

This is something present in grub-btrfs but I'd prefer a simpler tool because grub is too much of a black hole.

@maximbaz
Copy link
Owner

maximbaz commented Mar 3, 2024

To be honest I don't know what an overlayfs is, this tool will simply boot in your snapshot, and if your snapshot is readonly, then it will remain readonly...

@developer91234
Copy link
Author

developer91234 commented Mar 3, 2024

To be honest, I don't know either - otherwise I'd implement it myself lol - but here is the implementation:
https://github.com/Antynea/grub-btrfs/blob/master/initramfs/readme.md

Apparently it's the only foolproof way to boot btrfs snapshots. Although I suppose if var is its own subvolume then it shouldn't be a problem.

@maximbaz
Copy link
Owner

maximbaz commented Mar 3, 2024

Thanks for the link, no this is not supported then, this simply boots into whatever snapshot you have. I don't think doing overlayfs is in scope for this project to be honest, I was always able to boot into a readonly snapshot and fix my system when I needed to.

@maximbaz
Copy link
Owner

maximbaz commented Apr 1, 2024

Closing for now, but if you or anyone else wants to continue discussing this idea, please just continue posting here on in a new thread. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants