1 |
On Tue, 17 Mar 2020 03:00:59 -0500, Dutch Ingraham wrote: |
2 |
|
3 |
> Also from [1], with emphasis added "30_os-prober this script uses |
4 |
> **os-prober to search for Linux** and other operating systems and places |
5 |
> the results in the GRUB 2 menu. |
6 |
> |
7 |
> A review of the scripts 10_linux and 30_os-prober supplied by Gentoo |
8 |
> with the grub and os-prober packages seems to confirm the Ubuntu |
9 |
> documentation's accuracy. |
10 |
> |
11 |
> Regardless of which script is responsible, the problem remains that |
12 |
> running 'grub-mkconfig -o /boot/grub/grub.cfg' under the circumstances |
13 |
> outlined in my original post should find the other Linux operating |
14 |
> systems, but doesn't. |
15 |
|
16 |
You're right, either things have changed since the days I used GRUB |
17 |
extensively or I am losing it. No, that's not a multiple choice question! |
18 |
|
19 |
Have you tried running the script with "sh -x" to see just what it is |
20 |
doing? I wonder if it could be this part |
21 |
|
22 |
if ! command -v os-prober > /dev/null || ! command -v linux-boot-prober >/dev/null ; then |
23 |
# missing os-prober and/or linux-boot-prober |
24 |
exit 0 |
25 |
fi |
26 |
|
27 |
If the os-prober command is missing the script will fail successfully, as |
28 |
you experience. Is sys-boot/os-prober installed? |
29 |
|
30 |
|
31 |
-- |
32 |
Neil Bothwick |
33 |
|
34 |
A consultant is a person who borrows your watch, tells you what time it |
35 |
is, pockets the watch, and sends you a bill for it. |