Results 1 to 2 of 2

Thread: Adding Snapper to GRUB2 /EFI

  1. #1

    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!

  2. #2

    Re: Adding Snapper to GRUB2 /EFI

    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!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •