17
Grub-btrfs troubles
(beehaw.org)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Did you setup this server with a boot partition?
Rolling back the root subvolume with an older kernel could create a mismatch to the boot partitions kernel. Not sure if that's contributing to your problem, but might be worth looking into.
Yes, I have a separate boot partition. How would I fix a mismatch? The only posible solution I've found is to directly edit the grub entries, but that's a bit beyond what I've done with grub before. Thanks for the response!
Only thing I can think of is the subvolumes left over might be causing an issue. I don't know how snapper performs a rollback and I've seen a couple ways to do it. Sometimes its modifying the default subvolume to the snapshot you want to rollback to. This is fine IF your kernel params are NOT specifying the subvol. That would look like this
rootflags=subvol=subvolume_name
.Usually I just rename the subvols and make sure the snapshot I'm renaming to replace the current root subvol is not set to read only.
So rename current root to root.broken Then rename snapshot to root Then set readonly prop to false.
I think you've hit the nail on the head. The way grub-btrfs works is by changing the default root snapshot subvolume. I'm still not sure what I did wrong to get the rollback stuck to the particular kernel. But I'll give what you've written here a try. Thanks again.