Interesting Grub issue

Interesting Grub issue

Aharon Schkolnik aschkolnik at gmail.com
Wed Mar 1 21:27:22 IST 2023


Hi.

I have both Fedora and Windows 10 installed on my computer.
I can boot either using bios settings.
I have grub installed, and can boot to it.
The grub menu shows me 3 linux kernels and UEFI firmware.
It does not show me Windows.
In the attached grub.cfg file there is the following entry:

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sdc3)' --class windows --class os
$menuentry_id_option 'osprober-efi-3C10-1AFF' {
        insmod part_gpt
        insmod fat
        set root='hd2,gpt3'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3
--hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  3C10-1AFF
        else
          search --no-floppy --fs-uuid --set=root 3C10-1AFF
        fi
        chainloader /efi/Microsoft/Boot/bootmgfw.efi
}

The entry is there, but it doesn't show when the machine boots/

Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20230301/2dcee929/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub.cfg
Type: application/octet-stream
Size: 7490 bytes
Desc: not available
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20230301/2dcee929/grub.cfg>


More information about the Linux-il mailing list