You are not logged in.

#1 2019-03-22 18:25:57

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 290
Website

Configuration for btrfs/snapper rollback of /, /boot on vfat

I have a btrfs root, and a vfat /boot that contains grub and and EFI to make it bootable either way.

I'd like to be able to "snapper rollback" in case of a botched system.

This seems to work fine, except that if there was a kernel upgrade between the snapshot I'm rolling back to and the most recent update, I am still booting the new kernel (/boot was not rolled back -- it's vfat) against a rolled-back /, and that, probably among other problems that I haven't seen yet :-) fails to load any kernel modules as they are in the wrong directory for the running kernel version.

I can think of a number of ways of attempting to solve this, but all of them are ugly I'm afraid ... so I am wondering what other people are doing to address this?

Offline

#2 2019-03-26 23:45:31

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 290
Website

Re: Configuration for btrfs/snapper rollback of /, /boot on vfat

In which case, it appears I need to implement something ugly :-)

Offline

Board footer

Powered by FluxBB