This question already has an answer here:

I have 2 hard drives, one with Windows and one with Ubuntu.

How can I easily add Windows to the boot menu? I've installed GRUB customizer; can it be done with that program?

marked as duplicate by karel, Eric Carvalho, Parto, Kulfy, Thomas Jun 1 at 12:21

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


You have to edit /etc/grub.d/40_custom file by:

sudo -H gedit /etc/grub.d/40_custom

add an entry like:

menuentry 'Windows 7′ {
set root='(hd0,msdos2)’
chainloader +1

Since you have two drives, you should also modify the location of Windows in the above script accordingly.

After that run:

sudo update-grub

Not the answer you're looking for? Browse other questions tagged or ask your own question.