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 grub-btrfs now support boot from snapshots by default? #282

Open
tav1229 opened this issue Apr 29, 2023 · 4 comments
Open

Does the grub-btrfs now support boot from snapshots by default? #282

tav1229 opened this issue Apr 29, 2023 · 4 comments

Comments

@tav1229
Copy link

tav1229 commented Apr 29, 2023

From what I watched on youtube there are extra steps need to be done before we can boot into the snapshot from the btrfs menu, but somehow I didn't need to is this because grub-btrfs now do that automatically or my snapshots are writable?

@tav1229
Copy link
Author

tav1229 commented Apr 29, 2023

despite being able to boot to those snapshots, I can't run snapper-rollback from there, it says can't create /btrfsroot because file system is read only,

I have /var/log on a separate volume, idk if this has anything to do

@Schievel1
Copy link
Collaborator

Can you provide a link to what you watched on YouTube? This is all quite confusing without context

@tav1229
Copy link
Author

tav1229 commented Apr 29, 2023

Can you provide a link to what you watched on YouTube? This is all quite confusing without context

https://youtu.be/FDTkITEKS9g
from 32:20 to 51:45

Summary: The snapshots are read only so he needed to add some script to make a writable copy of that snapshot to boot into it.
I don't know why but I didn't need the script, I can boot from the grub btrfs menu without any extra steps

@geckolinux
Copy link

On spirallinux.github.io in the "Special thanks to" section you can find all the references that helped me eventually reach a workable solution for SpiralLinux. It did require patching snapper-rollback though, you can find my modified version in /usr/sbin/snapper-rollback .

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

3 participants