On Tue, May 15, 2018 at 2:54 PM Pascal Hambourg <[email protected]>
wrote:

> Le 15/05/2018 à 06:57, David Collier a écrit :
>
> "ls" does not show only boot partitions (whatever "boot" means), it
> shows all detected partitions. Detecting partitions requires that the
> disk holding them is detected and the module supporting the partition
> table format is loaded.
>
> insmod part_msdos
> insmod part_gpt
>
>
I guess have been asking the wrong question all along,  Frankly I don't
care at all about automated detection of the boot partitions and creating
the menu, I am totally fine manually creating a file in /etc/grub.d

What I was missing  it looks like is that modules have to be loaded
explicitly even to see the partitions.

Now I just added the proper insmod command to the /etc/grub.d/40_custom and
voila - I have a valid windows entry in the grub menu now!

Man, sorry it took me so long to understand, and thank you again for your
patience, Pascal :)

-dc

If you want to boot Windows manually from GRUB, you can use the
> following commands, assuming hd0 is the boot disk containing the EFI
> partition (sdc) :
>
> set root=(hd0,gpt2)
> insmod fat
> chainloader /efi/Microsoft/Boot/bootmgfw.efi
> boot
>
> _______________________________________________
> Help-grub mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-grub
>
_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to