multi-boot: failure via GRUB tui or gui

hi,

multi-booting can no longer be performed via GRUB tui or gui,
only the partition of last selected os is shown

other os can be accessed via the GRUB command line

running cmd gives similar result from both installed os’s

A780GM-m2<2018-11-04 16:07:33><~>… ! sudo grub2-mkconfig -o /boot/grub2/grub.cfg
[sudo] password for root:
Generating grub configuration file …
Found theme: /boot/grub2/themes/openSUSE/theme.txt
Found linux image: /boot/vmlinuz-4.19.0-4.g9a3b167-default
Found initrd image: /boot/initrd-4.19.0-4.g9a3b167-default
Found openSUSE Tumbleweed on /dev/sda2
done
A780GM-m2<2018-11-04 16:08:55><~>…

anyone any idea how to remedy this situation?

anyone else seeing this?

cheers

os1: A780GM-m1 Kernel: 4.18.15-1-default x86_64
bits: 64 Desktop: KDE Plasma 5.14.2
openSUSE Tumbleweed 20181029

os2: A780GM-m2 Kernel: 4.19.0-3.g6216efb-default x86_64
bits: 64 Desktop: KDE Plasma 5.14.2
openSUSE Tumbleweed 20181029

Hi
A couple of things, if you run the command (as root user);


os-prober

Do you see the other operating systems?

Check /etc/default/grub to make sure the following entry is set;


GRUB_DISABLE_OS_PROBER="false"

hi and thx for the reply,

no os-prober does not detect the other os,

A780GM-m2<2018-11-04 17:03:50>… sudo os-prober
[sudo] password for root:
/dev/sda2: openSUSE Tumbleweed: openSUSE:linux
A780GM-m2<2018-11-04 17:04:16><~>…

installed os-prober is:-

A780GM-m2<2018-11-04 17:05:02>… rpm -q os-prober
os-prober-1.76-1.1.x86_64
A780GM-m2<2018-11-04 17:05:27>…

most recent undate of os-prober:-

A780GM-m2<2018-11-04 17:08:32>… grep “os-prober” *
dif-A780GM-m2-181010-11.txt: os-prober-1.74-6.2.x86_64 > os-prober-1.74-7.1.x86_64
dif-A780GM-m2-181023-24.txt: os-prober-1.74-7.1.x86_64 > os-prober-1.76-1.1.x86_64
A780GM-m2<2018-11-04 17:08:39>…

line 42 of /etc/default/grub shows,
GRUB_DISABLE_OS_PROBER=“false”

cheers

The same problem happened to me with the latest kernel update. (Yes, I used zypper dup,)
There is a text file in /boot/grub2 that instructs to run “grub2-mkconfig -o /boot/grub2/grub.cfg” if a kernel update breaks multiboot.
It has worked before when a kernel update removed the other OS’s - Windows, Mint - but this time it does not work, although it reports detecting the other installed OS’s.

On Sun 04 Nov 2018 04:26:04 PM CST, keellambert wrote:

hi and thx for the reply,

no os-prober does not detect the other os,

A780GM-m2<2018-11-04 17:03:50>… sudo os-prober
[sudo] password for root:
/dev/sda2: openSUSE Tumbleweed: openSUSE:linux
A780GM-m2<2018-11-04 17:04:16><~>…

installed os-prober is:-

A780GM-m2<2018-11-04 17:05:02>… rpm -q os-prober
os-prober-1.76-1.1.x86_64
A780GM-m2<2018-11-04 17:05:27>…

most recent undate of os-prober:-

A780GM-m2<2018-11-04 17:08:32>… grep “os-prober” *
dif-A780GM-m2-181010-11.txt: os-prober-1.74-6.2.x86_64 >
os-prober-1.74-7.1.x86_64
dif-A780GM-m2-181023-24.txt: os-prober-1.74-7.1.x86_64 >
os-prober-1.76-1.1.x86_64
A780GM-m2<2018-11-04 17:08:39>…

line 42 of /etc/default/grub shows,
GRUB_DISABLE_OS_PROBER=“false”

cheers

Hi
So what are the other operating systems? I would report as a bug
against os-prober. It has happened in the past…


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.25-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

It is probably a bug, due to recent grub updates.

I filed a bug report last evening (Chicago time) for bug 1114586. However, a reply suggested that it is a duplicate of bug 1113615. It seems that there’s a fix in the works. Maybe the next snapshot will have it.

hi,

the grub menu now shows the multi-boot entries

changes made:-

file: /usr/lib/linux-boot-probes/50mounted-tests
line 55

type="$(grub-probe -d “$partition” -t fs)"

======================

changed to

======================

type="$(grub2-probe -d “$partition” -t fs)"

======================

file: /usr/lib/os-probes/init/10filesystems
lines 1-3

#!/bin/sh

Make sure filesystems are available.

set -e

======================

replaced by

======================

#!/bin/sh

Make sure filesystems are available.

set +e # ignore errors from modprobe

FILESYSTEMS=‘ext2 ext3 ext4 xfs jfs msdos vfat ntfs minix hfs hfsplus qnx4 ufs btrfs’

FILESYSTEMS="$FILESYSTEMS fuse"

======================

hths

cheers

NB: Maybe best to wait for official update.
Some changes of bug 1113615 were already implemented.

Thanks for the checking, and for the list of changes.

I will probably wait for the update to come through, because this isn’t very important to me. It isn’t affecting my primary boot menu on that system.

However, some other folk reading this might have a more urgent problem, so your list of changes could help them.

hi,

Thanks to all who replied.

The reference to bug 1113615 was very useful.

os-prober still only detects the os in use.

cheers