No 'Boot from snapshot' option in TW Grub menu

Hi all. I hope someone can help me.

Problem I do not have a “Start bootloader from a read-only snapshot” menu item on my Grub menu

Context I have a triple boot system on an AMD CPU, first installed about 2 years ago. As well as my main TW, I have Windows and another (fallback) TW install on separate partitions of an NVME SSD. I am using UEFI Secure Boot. I have installed open Nvidia drivers (G06) from the TW repositories.
The Grub boot menu looks like this:

As far as I know, I have never had a Grub menu option to roll back to a previous snapshot. Fortunately, I’ve never needed it which is maybe why I only noticed this recently, but I would like to fix it if possible in case I need the feature at a later date.

Setup
/etc/default/grub includes the line SUSE_BTRFS_SNAPSHOT_BOOTING="true"

/etc/fstab includes

UUID=<...>  /                       btrfs  defaults                      0  0
UUID=<...>  /var                    btrfs  subvol=/@/var                 0  0
UUID=<...>  /usr/local              btrfs  subvol=/@/usr/local           0  0
UUID=<...>  /srv                    btrfs  subvol=/@/srv                 0  0
UUID=<...>  /root                   btrfs  subvol=/@/root                0  0
UUID=<...>  /opt                    btrfs  subvol=/@/opt                 0  0
UUID=<...>  /home                   btrfs  subvol=/@/home                0  0
UUID=<...>  /boot/grub2/x86_64-efi  btrfs  subvol=/@/boot/grub2/x86_64-efi  0  0
UUID=<...>  /boot/grub2/i386-pc     btrfs  subvol=/@/boot/grub2/i386-pc  0  0
UUID=<...>  /boot/efi               vfat   utf8                          0  2
UUID=<...>  swap                    swap   defaults                      0  0
UUID=<...>  /.snapshots             btrfs  subvol=/@/.snapshots          0  0

Running ls -l /etc/grub.d gives

total 108
-rwxr-xr-x. 1 root root 12096 Mar 17 06:40 00_header
-rwxr-xr-x. 1 root root  1097 Feb 22 19:49 00_tuned
-rwxr-xr-x. 1 root root  1425 Mar 17 06:40 05_crypttab
-rwxr-xr-x. 1 root root 15476 Mar 17 06:40 10_linux
-rwxr-xr-x. 1 root root 20312 Mar 17 06:40 20_linux_xen
-rw-r--r--. 1 root root   786 Mar 17 06:40 25_bli
-rwxr-xr-x. 1 root root 12878 Mar 17 06:40 30_os-prober
-rwxr-xr-x. 1 root root  1452 Mar 17 06:40 30_uefi-firmware
-rwxr-xr-x. 1 root root   744 Feb 26 13:35 35_fwupd
-rwxr-xr-x. 1 root root   214 Mar 17 06:40 40_custom
-rwxr-xr-x. 1 root root   215 Mar 17 06:40 41_custom
-rwxr-xr-x. 1 root root   937 Mar 17 06:40 80_suse_btrfs_snapshot
-rwxr-xr-x. 1 root root  1259 Mar 17 06:40 90_persistent
-rwxr-xr-x. 1 root root   270 Mar 17 06:40 95_textmode
-rw-r--r--. 1 root root   483 Mar 17 06:40 README

Running ls -l /.snapshots gives

drwxr-xr-x. 1 root root   32 Jan 29  2024 1
drwxr-xr-x. 1 root root   66 Mar 23 17:18 626
drwxr-xr-x. 1 root root  104 Mar 23 17:18 627
...
drwxr-xr-x. 1 root root  104 Apr  1 13:35 635
-rw-r-----. 1 root root 1304 Apr  1 13:53 grub-snapshot.cfg

Running /sbin/btrfs filesystem show gives

Label: none  uuid: <...>
	Total devices 1 FS bytes used 63.87GiB
	devid    1 size 120.00GiB used 83.07GiB path /dev/nvme0n1p7

Running grub2-mkconfig -o /boot/grub2/grub.cfg gives

Generating grub configuration file ...
Found theme: /boot/grub2/themes/openSUSE/theme.txt
Found linux image: /boot/vmlinuz-6.19.10-1-default
Found initrd image: /boot/initrd-6.19.10-1-default
Found linux image: /boot/vmlinuz-6.19.9-1-default
Found initrd image: /boot/initrd-6.19.9-1-default
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
7541.734816 | DM multipath kernel driver not loaded
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Found openSUSE Tumbleweed on /dev/nvme0n1p8
Adding boot menu entry for UEFI Firmware Settings ...
done

I would be really grateful for any pointers to help fix this problem (or reasons if it cannot be fixed).

What is displayed when you choose “Advanced options for xxx”?

I’m obviously not the OP, but in my years using openSUSE, it’s always been my experience that:

  1. There is an explicit entry for “Boot from snapshot” entry, as you see in the first screenshot:


.
2. And for the “Advanced Options …” menu choice, if selected, results in what we see in the below screenshot … it will show all the bootable Kernel versions. (in this case for this new 16.1 Leap install, there’s only one Kernel version installed). As newer Kernel versions are installed, we will see more Kernel choices.
.

.
However, if the OP chooses “Advanced option” and IT DOES show “Snapshot” choices, then their configuration is goofed up :+1:

1 Like

Did you press the down key in the Grub2 menu several times? There is no scrollbar in the Grub menu, thus some entries might be hidden at the bottom…

2 Likes

Bingo! I admit I was sceptical when I read your reply, but you are absolutely correct, I had no idea that there could be additional menu items down there. Thank you for educating me

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.