On Tue, 17 Mar 2020 03:00:59 -0500, Dutch Ingraham wrote:

> Also from [1], with emphasis added "30_os-prober this script uses
> **os-prober to search for Linux** and other operating systems and places
> the results in the GRUB 2 menu.
> 
> A review of the scripts 10_linux and 30_os-prober supplied by Gentoo
> with the grub and os-prober packages seems to confirm the Ubuntu
> documentation's accuracy.
> 
> Regardless of which script is responsible, the problem remains that
> running 'grub-mkconfig -o /boot/grub/grub.cfg' under the circumstances
> outlined in my original post should find the other Linux operating
> systems, but doesn't.

You're right, either things have changed since the days I used GRUB
extensively or I am losing it. No, that's not a multiple choice question!

Have you tried running the script with "sh -x" to see just what it is
doing? I wonder if it could be this part

if ! command -v os-prober > /dev/null || ! command -v linux-boot-prober 
>/dev/null ; then 
  # missing os-prober and/or linux-boot-prober
  exit 0
fi

If the os-prober command is missing the script will fail successfully, as
you experience. Is sys-boot/os-prober installed?


-- 
Neil Bothwick

A consultant is a person who borrows your watch, tells you what time it
is, pockets the watch, and sends you a bill for it.

Attachment: pgpbBSU1Tb2lt.pgp
Description: OpenPGP digital signature

Reply via email to