Ubuntu – How to add Windows 7 loader to GRUB

grub2windows 7

I've successfully installed Ubuntu 11.10 alongside Windows 7. During installation I've manually changed the Windows partition size ( there were 24Gb used, I've changed virtual partition size from 100Gb to 40Gb) and killed the 150Mb partition where Windows stores system recovery data. I've installed Ubuntu on second virtual partition.

So now when the GRUB starts it cannot see the Windows installer. I think it's all OK with windows loader, just GRUB does not know about it.

So I need to specify it manually. Where and how?

Best Answer

Run this from Ubuntu:

sudo update-grub

And reboot.

Windows should be in the Grub menu now.