Hello,
Some time ago in the last few weeks, the snapshots option disappeared from my boot menu. I had it and used it way back when the Mesa drivers had issues, so it was there at some point. Not sure what’s happened since then.
I tried the steps mentioned in this older post, but no luck. Namely:
- I do have a
.snapshots
entry in/etc/fstab
(see below) journalctl -b -p 0..4
shows no information about snapshots (hastebin link below)mount -a
didn’t fix itsudo grub2-mkconfig -o /boot/grub2/grub.cfg
didn’t fix it- making a random change in the YaST boot loader tool and saving didn’t fix anything
- I didn’t try disabling btrfsmaintenance; I’m worried about the side-effects that might have on my system. Hoping the issue is elsewhere. If you guys recommend trying that also, I will.
I also found this post mentioning a bug with grub2-mkconfig
but that seems to have been fixed in the meantime, as my grub2-mkconfig
command has the code lines in the order mentioned in the reply.
I leave below some command outputs. Not sure what’s needed and what’s not, but hopefully it’s enough system information.
> sudo cat /etc/fstab
[sudo] password for root:
/dev/system/root / btrfs defaults 0 0
/dev/system/root /var btrfs subvol=/@/var 0 0
/dev/system/root /usr/local btrfs subvol=/@/usr/local 0 0
/dev/system/root /srv btrfs subvol=/@/srv 0 0
/dev/system/root /root btrfs subvol=/@/root 0 0
/dev/system/root /opt btrfs subvol=/@/opt 0 0
/dev/system/home /home btrfs defaults 0 0
/dev/system/root /boot/grub2/x86_64-efi btrfs subvol=/@/boot/grub2/x86_64-efi 0 0
/dev/system/root /boot/grub2/i386-pc btrfs subvol=/@/boot/grub2/i386-pc 0 0
/dev/system/swap swap swap defaults 0 0
/dev/system/root /.snapshots btrfs subvol=/@/.snapshots 0 0
UUID=1137-E969 /boot/efi vfat utf8 0 2
> grep -Ev '^$|^#' /etc/default/grub
GRUB_DISTRIBUTOR=
GRUB_DEFAULT=saved
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=1
GRUB_CMDLINE_LINUX_DEFAULT="splash=silent resume=/dev/system/swap quiet security=apparmor mitigations=auto"
GRUB_CMDLINE_LINUX=""
GRUB_TERMINAL="gfxterm"
GRUB_GFXMODE="auto"
GRUB_BACKGROUND=
GRUB_THEME=/home/shelomoh/Documents/sapiential/os/themes/grub/sleek/theme.txt
SUSE_BTRFS_SNAPSHOT_BOOTING="true"
GRUB_USE_LINUXEFI="true"
GRUB_DISABLE_OS_PROBER="false"
GRUB_ENABLE_CRYPTODISK="n"
GRUB_CMDLINE_XEN_DEFAULT="vga=gfx-1024x768x16"
> grep -Ev '$^|^#' /etc/sysconfig/bootloader
LOADER_TYPE="grub2-efi"
SECURE_BOOT="yes"
TRUSTED_BOOT="no"
UPDATE_NVRAM="yes"
> sudo btrfs subvolume list /
ID 256 gen 28 top level 5 path @
ID 257 gen 80664 top level 256 path @/var
ID 258 gen 80629 top level 256 path @/usr/local
ID 259 gen 78978 top level 256 path @/srv
ID 260 gen 80638 top level 256 path @/root
ID 261 gen 80658 top level 256 path @/opt
ID 262 gen 80338 top level 256 path @/boot/grub2/x86_64-efi
ID 263 gen 70529 top level 256 path @/boot/grub2/i386-pc
ID 264 gen 80660 top level 256 path @/.snapshots
ID 464 gen 2683 top level 264 path @/.snapshots/200/snapshot
ID 493 gen 4311 top level 264 path @/.snapshots/229/snapshot
ID 533 gen 5881 top level 264 path @/.snapshots/269/snapshot
ID 725 gen 69114 top level 257 path @/var/lib/machines
ID 917 gen 80662 top level 264 path @/.snapshots/650/snapshot
ID 1084 gen 72187 top level 264 path @/.snapshots/815/snapshot
ID 1085 gen 72187 top level 264 path @/.snapshots/816/snapshot
ID 1111 gen 75206 top level 264 path @/.snapshots/842/snapshot
ID 1112 gen 75436 top level 264 path @/.snapshots/843/snapshot
ID 1113 gen 75464 top level 264 path @/.snapshots/844/snapshot
ID 1114 gen 75467 top level 264 path @/.snapshots/845/snapshot
ID 1127 gen 77563 top level 264 path @/.snapshots/858/snapshot
ID 1128 gen 77725 top level 264 path @/.snapshots/859/snapshot
ID 1133 gen 78707 top level 264 path @/.snapshots/864/snapshot
ID 1134 gen 78949 top level 264 path @/.snapshots/865/snapshot
ID 1145 gen 79633 top level 264 path @/.snapshots/868/snapshot
ID 1146 gen 79833 top level 264 path @/.snapshots/869/snapshot
ID 1147 gen 80329 top level 264 path @/.snapshots/870/snapshot
ID 1148 gen 80331 top level 264 path @/.snapshots/871/snapshot
ID 1149 gen 80333 top level 264 path @/.snapshots/872/snapshot
ID 1150 gen 80335 top level 264 path @/.snapshots/873/snapshot
ID 1151 gen 80336 top level 264 path @/.snapshots/874/snapshot
ID 1152 gen 80337 top level 264 path @/.snapshots/875/snapshot
ID 1153 gen 80351 top level 264 path @/.snapshots/876/snapshot
ID 1154 gen 80589 top level 264 path @/.snapshots/877/snapshot
> sudo cat /.snapshots/grub-snapshot.cfg
if [ -z "$extra_cmdline" ]; then
submenu "Start bootloader from a read-only snapshot" {
if [ -f "/.snapshots/877/grub-snapshot.cfg" ]; then
source "/.snapshots/877/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/876/grub-snapshot.cfg" ]; then
source "/.snapshots/876/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/875/grub-snapshot.cfg" ]; then
source "/.snapshots/875/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/874/grub-snapshot.cfg" ]; then
source "/.snapshots/874/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/873/grub-snapshot.cfg" ]; then
source "/.snapshots/873/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/872/grub-snapshot.cfg" ]; then
source "/.snapshots/872/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/871/grub-snapshot.cfg" ]; then
source "/.snapshots/871/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/870/grub-snapshot.cfg" ]; then
source "/.snapshots/870/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/869/grub-snapshot.cfg" ]; then
source "/.snapshots/869/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/868/grub-snapshot.cfg" ]; then
source "/.snapshots/868/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/865/grub-snapshot.cfg" ]; then
source "/.snapshots/865/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/864/grub-snapshot.cfg" ]; then
source "/.snapshots/864/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/859/grub-snapshot.cfg" ]; then
source "/.snapshots/859/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/858/grub-snapshot.cfg" ]; then
source "/.snapshots/858/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/845/grub-snapshot.cfg" ]; then
source "/.snapshots/845/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/844/grub-snapshot.cfg" ]; then
source "/.snapshots/844/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/843/grub-snapshot.cfg" ]; then
source "/.snapshots/843/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/842/grub-snapshot.cfg" ]; then
source "/.snapshots/842/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/816/grub-snapshot.cfg" ]; then
source "/.snapshots/816/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/815/grub-snapshot.cfg" ]; then
source "/.snapshots/815/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/269/grub-snapshot.cfg" ]; then
source "/.snapshots/269/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/229/grub-snapshot.cfg" ]; then
source "/.snapshots/229/grub-snapshot.cfg"
fi
if [ -f "/.snapshots/200/grub-snapshot.cfg" ]; then
source "/.snapshots/200/grub-snapshot.cfg"
fi
if [ x$snapshot_found != xtrue ]; then
submenu "Not Found" { true; }
fi
}
fi
Output of journalctl -b -p 0..4
: Hastebin