-
Notifications
You must be signed in to change notification settings - Fork 72
Replies: 1 comment · 4 replies
-
Hello,
According to all the information you have provided (thank, this is helpful), |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks for the reply. Following are my results:
Please note, earlier, the path to kernel/initrd was like this:
Because I was not able to rollback kernel updates, (1) I added this to /etc/default/grub file and (2) removed '/@' from the kernel/initrd path
And finally (3) updated the file
Now, I can successfully rollback to the previously kernel with the command
But the sad part is I cannot boot into snapshots from grub-btrfs menu |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks.
So, if the parameter is set to "true" grub2-mkrelpath is executed with the
But
Supporting nested subvolumes is not easy. What snapper users usually do is : |
Beta Was this translation helpful? Give feedback.
All reactions
-
@Antynea, Thanks for reply As far as I can recall, I've tried the step in the link you provided, and it doesn't work in Fedora 35. When you mount .snapshots subvolume as ID=5, it WILL rollback successfully, but when you try to boot from the snapshot from the script you provided, I get the error 'kernel not found'. I've noticed, when the .snapshot subvolume is mounted as ID=5, the But, I'll try again. Perhaps I made some errors. Also, in Fedora 35, the
I'll give it another shot and see what happens. Thanks |
Beta Was this translation helpful? Give feedback.
All reactions
-
Step by step:
Now when snapper creates a snapshot, it will be stored in an independent subvolume, and |
Beta Was this translation helpful? Give feedback.
-
Hello,
I've installed snapper on Fedora 35 and tweaked it such that I can successfully roll back from a previous snapper snapshot. When I installed grub-btrfs, I noticed that I couldn't boot into a snapshot from grub-btrfs menu.
I'm getting the error
error: ../../grub-core/fs/btrfs.c:2041:file '/@/.snapshots/1/snapshot/boot/vmlinuz-5.14.xxx' not found
The reason I found this was because the grub-btrfs script appends '/@' to the beginning of the kernel/initrd path. I could boot into a snapshot if I could only delete '/@' at the beginning from the kernel/initrd path.
It would be really helpful if you could tell me what I need to do to get rid of the '/@' in the kernel path.
My Setup:
Thanks
Beta Was this translation helpful? Give feedback.
All reactions