Skip to main content

Win10, Grub 2 and UEFI

·244 words·2 mins

Short and concise. I had to deal with a broken Grub 2 configuration recently and I always had to boot the windows partition from within the BIOS because Grub wasn’t able to boot it right away.

But I researched a bit again and found this:

I tried this and was instantly happy again because my computer was able to start into Windows 10 again (without the need of telling the BIOS to start from a specific disk).

My laptop runs Arcolinux, so to configure Grub I had to find the specific files. It is /etc/grub.d/proxifiedScripts/custom – which could be also configured in the app grub-customizer (I found that out when I already modified the file).

Not sure what script would load the script when updating the grub configuration in /boot I applied the configuration within grub-customizer and restartet the computer.

The plain file in /etc/grub.d/proxifiedScripts/ looks like this:

# file: "/etc/grub.d/proxifiedScripts/custom"
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Windows 10"{
        search -s root -f /EFI/Microsoft/Boot/BCD
        chainloader /EFI/Microsoft/Boot/bootmgfw.efi
menuentry "Reboot"{

And/Or if you just want to use grub-customizer: go ahead, create the menu entry and insert the part from above (Windows 10).

example screenshot

Save and apply the new configuration, reboot and enjoy the comfort.