Open fhdk opened 6 years ago
I investigate about this. you can see my investigation here https://forum.manjaro.org/t/grub-and-kernel/39470/17?u=scachemaille
it seems that the update-grub process don't find os-prober when pacman is lunch by MSM.
and there is an other problem when the running kernel is updated. details in my forum post.
@Kirek: would it be a quick fix to add update-grub call after the kernel installation was processed? However, I think it get automatically called due to hooks. Maybe a dbus issue?
during my investigation I saw that:
I just echoed the PATH environment variable inside /etc/grub.d/30_os-prober
and it was echoed correctly but it seems it's not exported correctly as if I added export PATH
in /etc/grub.d/30_os-prober
code, it was working correctly.
@scachemaille: Try if grub(-quiet)-2.02.0-5
fixes the issue for you. Currently in unstable.
I tested on my VM with grub 2.02.0-5
as it seems grub-quiet-2.02.0-5
has not your patch.
all seems to work it detected an other manjaro VM disk when I installed a new kernel with MSM.
both versions of grub have the patch. For the quiet version it is here: https://github.com/manjaro/packages-core/commit/bd40fb9bd45e40c0f66e5d1d0c8548e2c3cb6b53#diff-56990a6c3874b0cc7bf7f88ac1cd645aR11
ooh.. yes.. sorry.. I did not realized there was already a patch for the os_prober and that is was just modified. I was not finding the modification to actually use the patch. but it was already existing so..
An old thread just got revived.
https://forum.manjaro.org/t/windows-entry-missing-from-grub-menu-after-kernel-update-with-msm/24075
My post of confirmation https://forum.manjaro.org/t/windows-entry-missing-from-grub-menu-after-kernel-update-with-msm/24075/19
I can confirm that during adding or removing of kernels using MSM the Windows Bootmgr is not included in grub.cfg.
It is however correctly included using
or