Windows 10 not showing in GRUB boot menu of Linux Mint

A rule of thumb for dual booting Linux and Windows is to install Windows first.

But as anomalies in the Matrix exist, doing so may cause to have only Linux in GRUB boot menu (the linux boot menu that let you choose the operating system you want to boot into).

There are GUI programs to fix this but i will show you the Terminal way. I know the linux Terminal is scary but you’ll se you have nothing to worry about.

Look at the bright side, it’s an exercise for linux Terminal and editing a text file.

So, it’s simple as that:

  1. Open a Terminal.
  2. Type without quotes: “sudo nano /etc/grub.d/40_custom”
  3. Enter your password.
  4. Add this to the file:

menuentry ‘Windows 10′ {

set root='(hd0,msdos1)’

chainloader +1

}

5. Save and exit the text editor.

6. Also on the Terminal, type without quotes: “sudo update-grub2”.

7. Enter your password.

8. Restart and enjoy.