I can disable the btrfsmaintenance service and try but the rest looks good. The snapshots folder is mounted, fstab has the entry, the /boot grub config has the menu entry and the source file is available. I guess something happened during the grub install…so what your saying is try the following.
“grub2-mkconfig and grub2-install”
Is this correct for TW to gengerate and reinstall grub?
Thanks,
Neal
mount | grep snap
/dev/sda3 on / type btrfs (rw,relatime,ssd,space_cache,subvolid=303,subvol=/@/.snapshots/26/snapshot)
/dev/sda3 on /.snapshots type btrfs (rw,relatime,ssd,space_cache,subvolid=266,subvol=/@/.snapshots)
/var/lib/snapd/snaps/snapd_8542.snap on /snap/snapd/8542 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/mailspring_488.snap on /snap/mailspring/488 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1506.snap on /snap/gtk-common-themes/1506 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1885.snap on /snap/core18/1885 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/bashtop_112.snap on /snap/bashtop/112 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_9665.snap on /snap/core/9665 type squashfs (ro,nodev,relatime,x-gdu.hide)
tmpfs on /run/snapd/ns type tmpfs (rw,nosuid,nodev,mode=755)
nsfs on /run/snapd/ns/bashtop.mnt type nsfs (rw)
localhost:/home/neal # df -h |grep snap
/dev/sda3 460G 12G 447G 3% /.snapshots
/dev/loop0 30M 30M 0 100% /snap/snapd/8542
/dev/loop1 194M 194M 0 100% /snap/mailspring/488
/dev/loop3 63M 63M 0 100% /snap/gtk-common-themes/1506
/dev/loop2 56M 56M 0 100% /snap/core18/1885
/dev/loop4 24M 24M 0 100% /snap/bashtop/112
/dev/loop5 97M 97M 0 100% /snap/core/9665
localhost:/home/neal # cat /etc/fstab
UUID=3bced946-a98e-4cdb-8037-612743e971ba / btrfs defaults 0 0
UUID=3bced946-a98e-4cdb-8037-612743e971ba /var btrfs subvol=/@/var 0 0
UUID=3bced946-a98e-4cdb-8037-612743e971ba /usr/local btrfs subvol=/@/usr/local 0 0
UUID=3bced946-a98e-4cdb-8037-612743e971ba /tmp btrfs subvol=/@/tmp 0 0
UUID=3bced946-a98e-4cdb-8037-612743e971ba /srv btrfs subvol=/@/srv 0 0
UUID=3bced946-a98e-4cdb-8037-612743e971ba /root btrfs subvol=/@/root 0 0
UUID=3bced946-a98e-4cdb-8037-612743e971ba /opt btrfs subvol=/@/opt 0 0
UUID=3bced946-a98e-4cdb-8037-612743e971ba /home btrfs subvol=/@/home 0 0
UUID=3bced946-a98e-4cdb-8037-612743e971ba /boot/grub2/x86_64-efi btrfs subvol=/@/boot/grub2/x86_64-efi 0 0
UUID=3bced946-a98e-4cdb-8037-612743e971ba /boot/grub2/i386-pc btrfs subvol=/@/boot/grub2/i386-pc 0 0
UUID=FD93-2E41 /boot/efi vfat utf8 0 2
UUID=9bb1e0c7-703f-449a-a5fc-5399e5e77e36 swap swap defaults 0 0
UUID=3bced946-a98e-4cdb-8037-612743e971ba /.snapshots btrfs subvol=/@/.snapshots 0 0
localhost:/home/neal #
neal # cat /boot/grub2/grub.cfg |grep snap
menuentry “Help on bootable snapshot #$snapshot_num” {
echo “Select the default entry of the snapshot boot menu.”
echo “Examine the snapshot, and if it’s OK,”
echo " run ‘snapper rollback’ and reboot."
BEGIN /etc/grub.d/80_suse_btrfs_snapshot
if -f “/.snapshots/grub-snapshot.cfg” ]; then
source “/.snapshots/grub-snapshot.cfg”
END /etc/grub.d/80_suse_btrfs_snapshot
And that file is there:
cat /.snapshots/grub-snapshot.cfg
if -z “$extra_cmdline” ]; then
submenu “Start bootloader from a read-only snapshot” {
if -f “/.snapshots/48/grub-snapshot.cfg” ]; then
source “/.snapshots/48/grub-snapshot.cfg”
fi
if -f “/.snapshots/47/grub-snapshot.cfg” ]; then
source “/.snapshots/47/grub-snapshot.cfg”
fi
if -f “/.snapshots/46/grub-snapshot.cfg” ]; then
source “/.snapshots/46/grub-snapshot.cfg”
fi
if -f “/.snapshots/45/grub-snapshot.cfg” ]; then
source “/.snapshots/45/grub-snapshot.cfg”
fi
if -f “/.snapshots/44/grub-snapshot.cfg” ]; then
source “/.snapshots/44/grub-snapshot.cfg”
fi
if -f “/.snapshots/43/grub-snapshot.cfg” ]; then
source “/.snapshots/43/grub-snapshot.cfg”
fi
if -f “/.snapshots/42/grub-snapshot.cfg” ]; then
source “/.snapshots/42/grub-snapshot.cfg”
fi
if -f “/.snapshots/41/grub-snapshot.cfg” ]; then
source “/.snapshots/41/grub-snapshot.cfg”
fi
if -f “/.snapshots/40/grub-snapshot.cfg” ]; then
source “/.snapshots/40/grub-snapshot.cfg”
fi
if -f “/.snapshots/37/grub-snapshot.cfg” ]; then
source “/.snapshots/37/grub-snapshot.cfg”
fi
if -f “/.snapshots/36/grub-snapshot.cfg” ]; then
source “/.snapshots/36/grub-snapshot.cfg”
fi
if -f “/.snapshots/35/grub-snapshot.cfg” ]; then
source “/.snapshots/35/grub-snapshot.cfg”
fi
if -f “/.snapshots/34/grub-snapshot.cfg” ]; then
source “/.snapshots/34/grub-snapshot.cfg”
fi
if -f “/.snapshots/33/grub-snapshot.cfg” ]; then
source “/.snapshots/33/grub-snapshot.cfg”
fi
if -f “/.snapshots/32/grub-snapshot.cfg” ]; then
source “/.snapshots/32/grub-snapshot.cfg”
fi
if -f “/.snapshots/29/grub-snapshot.cfg” ]; then
source “/.snapshots/29/grub-snapshot.cfg”
fi
if -f “/.snapshots/28/grub-snapshot.cfg” ]; then
source “/.snapshots/28/grub-snapshot.cfg”
fi
if -f “/.snapshots/27/grub-snapshot.cfg” ]; then
source “/.snapshots/27/grub-snapshot.cfg”
fi
if -f “/.snapshots/25/grub-snapshot.cfg” ]; then
source “/.snapshots/25/grub-snapshot.cfg”
fi
if -f “/.snapshots/24/grub-snapshot.cfg” ]; then
source “/.snapshots/24/grub-snapshot.cfg”
fi
if -f “/.snapshots/23/grub-snapshot.cfg” ]; then
source “/.snapshots/23/grub-snapshot.cfg”
fi
if -f “/.snapshots/18/grub-snapshot.cfg” ]; then
source “/.snapshots/18/grub-snapshot.cfg”
fi
if -f “/.snapshots/17/grub-snapshot.cfg” ]; then
source “/.snapshots/17/grub-snapshot.cfg”
fi
if -f “/.snapshots/2/grub-snapshot.cfg” ]; then
source “/.snapshots/2/grub-snapshot.cfg”
fi
if x$snapshot_found != xtrue ]; then
submenu “Not Found” { true; }
fi
}
fi