I have Ubuntu 16.10 with Windows 7. I installed Ubuntu ( first ) then I created a partition for Windows, then installed it on the partition so that deleted GRUB. So I restored GRUB , but now Windows 7 is not appearing in GRUB.

Any solutions on how to add Windows 7 to GRUB?

  • Have you run sudo update-grub yet? That's all you need, probably.
    – user589808
    Oct 23, 2016 at 18:09
  • @CelticWarrior - LOL! Your comment appeared 1/4 second after I submitted my answer. Oct 23, 2016 at 18:12
  • @AndroidDev How did you measured it with such precision?
    – user589808
    Oct 23, 2016 at 18:13
  • @CelticWarrior - Well I can't say that it was that amount of time exactly, but it wasn't there when I hit submit, and it was after I hit submit... Oct 23, 2016 at 18:14
  • 1
    LOL @ two of the world's best Ubuntu Ninja's bumping keyboards on same thread.. I would have posted answer sudo update-grub as a one liner and beaten both of you but I was 5 minutes late to the play-offs :) Oct 23, 2016 at 18:17

2 Answers 2

  1. Boot into Ubuntu

  2. Open a terminal

  3. Run sudo update-grub

  • THANKS, but sorry for the extremely late reply! Nov 20, 2016 at 15:26

Try boot-repair on Ubuntu. It should fix many of the common errors and/or issues related to GRUB.

  • 1
    There's absolutely no need for that tool. This situation is quite simple to solve. Please chack the comments and other answers.
    – user589808
    Oct 23, 2016 at 18:49
  • Ok I posted it because there wasn't a reply if it worked for an hour Oct 24, 2016 at 10:19
  • There were comments and a correct and accepted answer one hour before you posted ;-)
    – user589808
    Oct 24, 2016 at 10:25
  • @darjan2002 that doesn't work on BIOS systems only UEFI systems and I am BIOS Oct 25, 2016 at 17:06
  • @NaiemdaLegend actually, that gpt thing is a dropdown. click it and select the first option (MBR for BIOS) Oct 26, 2016 at 14:41

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