[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

Gnome ubuntu 20.04 icons missing

I want to start off by saying that if I click on the deal on the bottom of the icon bar to show all of your applications I have an

Ubuntu Dsicussions 0 Comments

Getting a simple AST working in Python

Hi all – For a very long time, I’ve had problems understanding abstract syntax trees and how to implement them for interpreters or compilers. I don’t have a problem with

Ubuntu Dsicussions 0 Comments

Ubuntu 20.04.01 LTS Not Running on VirtualBox After Turning the Pc Back On

Hello guys, Yesterday I installed Oracle’s Virtual Box and Ubuntu on it and the OS ran fine, I even installed a few software on it. Today I turned on my


No Comments Yet!

You can be first to comment this post!

Leave a Reply