Adding Snapper to GRUB2 /EFI

Hello,

I did a clean installation and manually created the partitions. Used Btrfs for “/” .

After installation i set a snapper configuration rule for my “/”.

Everything works fine i can create snaps, dif them , change them.

My issue is that my GRUB2 EFI is not configured to start from a a snapshot of the system.

I have the GRUB2 snapper plugin installed.

How can i setup the bootloader to show me the snaphots menu ?

Best!

Hello ,

  • removing the “snapper-zypp-plugin”
  • disabling the Timeline snapshots
  • restarting

Added on /boot/grub2/grub.cfg the following entry:

BEGIN /etc/grub.d/80_suse_btrfs_snapshot

if [ -f “/.snapshots/grub-snapshot.cfg” ]; then
source “/.snapshots/grub-snapshot.cfg”
fi

END /etc/grub.d/80_suse_btrfs_snapshot

So now the menu on the grub2 loader is there. Not hundred percent sure that everything is in order , have to do more fiddling .

At least that fixed this theads issue.

It would be great if there was a page to guide you on this.Or maybe a button on the Yast2 > Snapper or on the Yast2> BooLoader to add this functionality.

Best!