4

This question already has an answer here:

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?

marked as duplicate by LiveWireBT, Anwar, Wild Man, David Foerster, Eric Carvalho Nov 14 '16 at 12:30

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.

  • Have you run sudo update-grub yet? That's all you need, probably. – user589808 Oct 23 '16 at 18:09
  • @CelticWarrior - LOL! Your comment appeared 1/4 second after I submitted my answer. – Android Dev Oct 23 '16 at 18:12
  • @AndroidDev How did you measured it with such precision? – user589808 Oct 23 '16 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... – Android Dev Oct 23 '16 at 18:14
  • 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 :) – WinEunuuchs2Unix Oct 23 '16 at 18:17
6
  1. Boot into Ubuntu

  2. Open a terminal

  3. Run sudo update-grub

  • THANKS, but sorry for the extremely late reply! – Naiem da Legend Nov 20 '16 at 15:26
2

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 '16 at 18:49
  • Ok I posted it because there wasn't a reply if it worked for an hour – darijan2002 Oct 24 '16 at 10:19
  • There were comments and a correct and accepted answer one hour before you posted ;-) – user589808 Oct 24 '16 at 10:25
  • @darjan2002 that doesn't work on BIOS systems only UEFI systems and I am BIOS – Naiem da Legend Oct 25 '16 at 17:06
  • @NaiemdaLegend actually, that gpt thing is a dropdown. click it and select the first option (MBR for BIOS) – darijan2002 Oct 26 '16 at 14:41

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