1

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?

Melebius
  • 11,121
  • 8
  • 50
  • 77
genek
  • 11
  • 3

1 Answers1

1

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
Zanna
  • 69,223
  • 56
  • 216
  • 327
Ron
  • 20,518
  • 6
  • 57
  • 72