Os-prober bindet Opensuse nicht ein

I’m unable to get my opensuse Installation into the Grub menu.

Here is the output from Update-grub.
GRUB-Konfigurationsdatei wird erstellt …
Thema gefunden: /usr/share/grub/themes/manjaro/theme.txt
Linux-Abbild gefunden: /boot/vmlinuz-linux-lqx
initrd-Abbild gefunden: /boot/amd-ucode.img /boot/initramfs-linux-lqx.img
Found initrd fallback image: /boot/initramfs-linux-lqx-fallback.img
Linux-Abbild gefunden: /boot/vmlinuz-5.15-x86_64
initrd-Abbild gefunden: /boot/amd-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Warnung: Zur Erkennung anderer bootfähiger Partitionen wird os-prober ausgeführt.
Dessen Ausgabe wird zur Erkennung bootfähiger Programmdateien und Erzeugen neuer Boot-Einträge verwendet.
mount: /var/lib/os-prober/mount: mount(2)-Systemaufruf ist fehlgeschlagen: Datei oder Verzeichnis nicht gefunden.
dmesg(1) könnte nach einem fehlgeschlagenen mount-Systemaufruf
weitere Informationen liefern.
Windows Boot Manager auf /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi gefunden
openSUSE Tumbleweed auf /dev/nvme0n1p5 gefunden
Manjaro Linux (21.2.4) auf /dev/sda1 gefunden
Bootmenü-Eintrag für UEFI-Firmware-Einstellungen wird hinzugefügt …
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: Warnung: Unbekannter Gerätetyp nvme0n1.
abgeschlossen

If os-prober finds opensuse, why it is not able to put it into the grub menu?
what want os-prober mount to /var/lib/os-prober/mount and cannot find which filename?
If I create a directory /var/lib/os-prober/mount it removed by update-grub!
At this time I had to use the efi Boot menu from the BIOS by hitting F7 during booting to start opensuse.

Can please help me anyone?

kannst du mal mit

cat /etc/default/grub 

schauen ob es den parameter 

GRUB_DISABLE_OS_PROBER 

gibt. falls nicht muss

GRUB_DISABLE_OS_PROBER=false


hinzugefügt werden und grub updaten

[um700 ~]# cat /etc/default/grub
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR=“Manjaro”
GRUB_CMDLINE_LINUX_DEFAULT=“quiet apparmor=1 security=apparmor udev.log_priority=3”
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true

# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU=y

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES=“part_gpt part_msdos”

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command ‘videoinfo’
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format “root=/dev/xxx” instead of “root=/dev/disk/by-uuid/xxx”
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment this option to enable os-prober execution in the grub-mkconfig command
GRUB_DISABLE_OS_PROBER=false

# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL=“light-gray/black”
GRUB_COLOR_HIGHLIGHT=“green/black”

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE=“480 440 1”

# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically. We use ‘fsck’ by default, which
# needs ‘rw’ as boot parameter, to avoid delay in boot-time. ‘fsck’ needs to be
# removed from ‘mkinitcpio.conf’ to make ‘systemd-fsck’ work.
# See also Arch-Wiki: fsck - ArchWiki
#GRUB_ROOT_FS_RO=true

Das wird es wohl nicht gewesen sein, os-prober meckert ja auch das es was nicht mounten kann nach /var/lib/os-prober/mount. Aber was will es dorthin mounten?
opensuse ist auf /dev/nvme0n1p5 installiert.
Kann das am Dateisystem btrfs von opensuse liegen? aber ich kann mit dolphin einfach auf die partition schauen, kann dann ja eigentlich nicht.
Das ist mir echt zu hoch.

schon möglich das es mit btrfs zusammenhängt.

mkinitcpio -P

schaden kann es nicht, versuch macht kluch

Bleibt dabei, opensuse tumbleweed wird nicht ins bootmenü aufgenommen, obwohl os-prober es auflistet. Manjaro-Budgie wir auf der 2.Festplatte gefunden und hinzugefügt.

Bin jetzt gezwungen im Bios auf Opensuse umzustellen, das findet beide manjaros und ich kann vom Opensuse grubmenü alle 3 Os starten. auch ein Würgherum ehm Workaround.

würde aber gern verstehen wo der Hase im Pfeffer liegt.

im AUR gibt es ein mit zusätzlichen Patches für btrfs Systeme versehenes os-prober.

Das deutet schon darauf hin, dass es im Zusammenspiel os-prober und btrfs noch Probleme geben kann. Kannst es ja testweise mal installieren.

https://aur.archlinux.org/packages/os-prober-btrfs

hatte keinen erfog mit installation von os-prober-btrfs. Opensuse wird von osprober zwar gefunden, aber nicht ins bootmenü eingebunden.
Liegt auch nicht an der speziellen Hardware, ist auf einem 2. System genau der gleiche Ärger.

Hast Du grub-btrfs installiert? Keine Ahnung, ob das hilft, aber ist vielleicht einen Versuch wert …

Ach so, und: wenn der Bootloader auf der SUSE-Partition besser funktioniert, dann stell den doch als default im UEFI ein. Das geht ganz einfach mit efibootmgr.

1 Like