Hello!
I’m not able to access the system snapshots made with snapper on GRUB, I checked and the paramter SUSE_BTRFS_SNAPSHOT_BOOTING="true"
is there. I also regenerated grub config.
I’ve read that the reason can be because I have /boot on a separate partition, since my main partition is encrypted. I was wondering: is it possible to have my snapshots nonetheless on GRUB? If not… worst case scenario, how can I boot into one of those snapshots?
Thanks
Hi welcome to these forums.
When on the system, open a terminal window and do:
sudo snapper list
That gives you a list of snapshots, numbered. Let’s say you want to rollback to snapshot #1111, then you do
sudo snapper rollback 1111
Does this answer your question?
1 Like
In general you cannot. While you can replace root=...
with reference to a snapshot, this snapshot may not have your current kernel in /boot
anymore, so kernel modules will not be available. And vice versa, while you can load kernel directly from the snapshot, the corresponding initrd will have been removed already.
Why do you think booting from snapshot was not implemented for the separate /boot
- just to annoy users?
Yes, but what if I can’t login into the system? Can’t I boot into a snapshot from grub in this case?
/boot
in the encrypted partition was supported for as long as I remember. Any reason you need a separate unencrypted /boot
partition in the first place?
I have this because otherwise also grub gets encrypted and since it must use software decryption it’s really slow. And I don’t want to put the same password two times
I have this because otherwise also grub gets encrypted and since it must use software decryption it’s really slow.
I mean…that’s kind of hardware dependent. In most cases(relatively mid-end hardware) from the time of powering on, you’re looking at less than 30 seconds to decrypt. If you want to call that slow.
And I don’t want to put the same password two times
You wouldn’t have to if it was all on one partition.