[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

[ubuntu] script help

running 20.04 i have this script to output local weather #!/bin/bash curl http://wttr.in however when i run i want to have terminal on maximum size how do i do note

Ubuntu Dsicussions 0 Comments

Cannot boot Windows 10 after installing Ubuntu 20.04 as dual-boot

Hello everyone, I’m very new to Linux, Ubuntu and dual-booting, so please forgive me any dumb mistakes or anything similar. My problem is probably one of the very well known

Ubuntu Dsicussions 0 Comments

[ubuntu] Issue with external Hardrive

Hi all, I have my external usb 4Tb and is not mounting If I do a “fdisk -l” i will only see “partition gpt in /dev/sda” Then I did “fsck


No Comments Yet!

You can be first to comment this post!

Leave a Reply