<div dir="ltr"><div>So, it turns out that I have two directories (each on their own mount point):</div><div>/boot</div><div>/boot/efi</div><div><br></div><div>The attached grub.cfg was from /boot/efi -missing the windows entry<br></div><div>The correct grub.cfg was in /boot - including the missing windows entry</div><div><br></div><div>That makes sense since I ran grub2-mkconfig -o /etc/grub2-efi.cfg, and /etc/grub2-efi.cfg is linked to /boot/grub2/grub.cfg</div><div><br></div><div>So, the file in /etc is linked to the file in /boot but the boot process uses the file in /boot/efi (/boot/efi/EFI/fedora)</div><div><br></div><div><br></div><div>I would think that on a efi system, the file in /etc should be linked to the file in /boot/efi</div><div><br></div><div>Sound like a bug?</div><div><br></div><div>Any idea how I ended up with bot /boot and /boot/efi</div><div><br></div><div>Any reason not to change the link?</div><div><br></div><div>Any reason not to delete /boot/grub2 and leave /boot/efi?<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 1 Mar 2023 at 21:27, Aharon Schkolnik <<a href="mailto:aschkolnik@gmail.com" target="_blank">aschkolnik@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi.</div><div><br></div><div>I have both Fedora and Windows 10 installed on my computer.</div><div>I can boot either using bios settings.</div><div>I have grub installed, and can boot to it.</div><div>The grub menu shows me 3 linux kernels and UEFI firmware.</div><div>It does not show me Windows.</div><div>In the attached grub.cfg file there is the following entry:</div><div><br></div><div>### BEGIN /etc/grub.d/30_os-prober ###<br>menuentry 'Windows Boot Manager (on /dev/sdc3)' --class windows --class os $menuentry_id_option 'osprober-efi-3C10-1AFF' {<br> insmod part_gpt<br> insmod fat<br> set root='hd2,gpt3'<br> if [ x$feature_platform_search_hint = xy ]; then<br> search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3 3C10-1AFF<br> else<br> search --no-floppy --fs-uuid --set=root 3C10-1AFF<br> fi<br> chainloader /efi/Microsoft/Boot/bootmgfw.efi<br>}</div><div><br></div><div>The entry is there, but it doesn't show when the machine boots/<br></div><div><br></div><div>Any ideas?</div><div><br></div></div>
</blockquote></div></div>