[ubuntu] Grub – Add windows

[ubuntu] Grub – Add windows

Because of the Ubuntu 20.04 update my system (dual boot with Windows 10, dual HD, amd64, UEFI) is a bit of a mess. For instance the boot loader thinks Ubuntu is the only flavor in town. I have been looking around and came up with the following change of the /etc/grub.d/40_custom file:


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 (loader)"{
    insmod part_gpt
    search --no-floppy --set=root --fs-uuid 109C-D028
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi

I tried to reboot but came up looking at a black screen, and no HD action. Clearly the wrong choice.

I also tried:


sudo update-grub
sudo grub-install /dev/sdb1

That did not work out either. What options do I have?


Previous df command shows negative value in 'Used' column
Next How to install FileZilla in Ubuntu 20.04 LTS ?

About author

You might also like

Ubuntu Dsicussions 0 Comments

no wifi (Asus TUF Gaming A17 FX706IU H7145T)

Hello, i try to create dual boot (Windows and ubuntu) But then i try to install ubuntu 16.04 i can install the OS but i can’t access the WIFI. But

Ubuntu Dsicussions 0 Comments

[lubuntu] Display area smaller than screen

L-Ubuntu 16.04 Suddenly (a few days ago) a white margin has appeared at the LHS of my screen, about 2″ wide. If I try to drag a window left, it

Ubuntu Dsicussions 0 Comments

Stepping Down Gracefully

The Snap Store has been designed to enable upstream developers and enthusiastic community contributors to publish snaps. As with most Linux packaging solutions, the wider community are often responsible for


No Comments Yet!

You can be first to comment this post!

Leave a Reply