Replies: 1 comment
-
Did you work out the solution to this? i've just started using btrfs and grub-btrfs and i'm not sure how that works. @diddiman |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So in grub i have my three recent kernels that i boot from normally. I also have the snapshots in submenu in grub
In btrfs i have /var as a subvolume so i can boot my snapshots in RO mode.
Imagine i boot into one snapshot, what is the easiest way to just apply that snapshot to my default boot entry?
So if i for instance boot normally, accidentally remove /etc/fstab or just break it. Restart and i can no longer boot. I go to my snapshot in RO mode. How do i copy everything in the snapshot to main? Or how do i just make this snapshot the default for my laptop? any best practices for this?
My guess is that if i for instance
boot into
ROOT.20240717T2207
, that i would simply just do a copy? So if i want to fully repair /etc/I'd do
cp -rf /btrbk_snapshots/ROOT.20240717T2207/etc /
Is that correct? or am i missing something?Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions