On booting **Leap 42.3 **on /dev/sda2 (one of the two SSD installed) I get the following errors:
"error:file `/@/.snapshots/495/snapshot/boot/vmlinuz-4.4.180-102-default´ not found"
"You need to load the kernes first"
Before in Leap 15.1 on other SSD on /dev/sdc (with only ext4), in Yast snapper management , some snapshots on /dev/sda2 suddenly disappeared without me having done anything that could cause that. Sounds silly, probably is.
Anyways. On Leap 15.1 I mount the Leap 42.3 “/” to following mountpoint
Please run bootinfoscript (can be run from other instance, e.g. Leap 15.1) and post result to http://susepaste.org/. It will give some overview of your current bootloader configuration.
please notice that there are two more HDD in the system that should not interfere with the boot process. They contain old opensuse systems. They are /dev/sdd/ and /dev/sdb/
set btrfs_relative_path="yes"
search --fs-uuid --set=root aa16966c-954a-437e-b35e-ec7ce171fe86
set prefix=(${root})/boot/grub2
source "${prefix}/grub.cfg"
GRUB is setup to resolve pathnames on btrfs relative to default subvolume, but os-prober generated pathnames relative to filesystem root. Deleting this line reverted GRUB to default behavior that matches grub.cfg content. As your Leap 15.1 is using ext4 as root, it is not affected by this change.
Try running “grub2-mkconfig -o /tmp/grub.cfg” and check generated file. Do you see the same paths starting with /@/ for Leap 42.3 or they look more “correct” now? If in doubt, upload to susepaste.
arvidjaar, thanks for still helping me with this problem!
output in case its interesting…
grub2-mkconfig -o /tmp/grub.cfg
GRUB-Konfigurationsdatei wird erstellt …
Thema gefunden: /boot/grub2/themes/openSUSE/theme.txt
Linux-Abbild gefunden: /boot/vmlinuz-4.12.14-lp151.28.16-default
initrd-Abbild gefunden: /boot/initrd-4.12.14-lp151.28.16-default
openSUSE Leap 42.3 auf /dev/sda2 gefunden
openSUSE 13.1 (Bottle) (x86_64) auf /dev/sdb1 gefunden
openSUSE 11.4 (x86_64) auf /dev/sdd2 gefunden
erledigt
and check generated file. Do you see the same paths starting with /@/ for Leap 42.3 or they look more “correct” now? If in doubt, upload to susepaste.
sorry, I cant see if it is more correct. Snappshots 179 and 180 appear in the grub.cfg file now. Same snapshots as listed in bootmenu when 42.3 didn’t boot. These snapshots are not the ones I found in
No, it is not. And I now know what happens. This is actually a bug in os-prober which ignores SUSE_BTRFS_SNAPSHOT_BOOTING if system is not on btrfs itself. If you would open bug report and post reference here I would add more technical explanation.
Workaround for you (as long as you do not use btrfs root for Leap 15.1) is to change SUSE_BTRFS_SNAPSHOT_BOOTING to “false” in /etc/default/grub and run “update-bootloader --reinit”. Then check /boot/efi/EFI/opensuse/grub.cfg that it does not contain line you deleted earlier. This should survive future Leap 15.1 updates.