I installed Ubuntu 10.04 about a week ago and have been able to dual boot between it and Windows 7 without any difficulty. A few days ago I went to boot windows and it wasn't in GRUB's menu. Per another question, I installed startupmanger, but it doesn't seem to offer any options for adding a new OS.

How do I restore Windows 7 to my GRUB2 menu?

Edit: Given that I don't have a /boot/grub/menu.lst I'm assuming I'm using GRUB2

link|improve this question
You should not just "assume" grub2. – Roland Taylor May 8 '11 at 2:08
1  
10.04 came with GRUB2 by default (for fresh installations) so it's safe to assume that's what he's using. – htorque May 8 '11 at 7:27
feedback

2 Answers

up vote 1 down vote accepted

According to ubuntu's wiki you have to run this command

sudo update-grub2

Edit : Here is the page of the wiki i mentioned.

link|improve this answer
This ran successfully, but did not find the windows . It did find the Windows recovery boot sector, but that was already listed. This computer only has one drive, so its odd that its finding some and not others. – amccormack May 8 '11 at 1:39
Then the only idea i can get is restoring the windows bootloader manually (you can find the way here kb.acronis.com/content/1507) and then manually restoring grub through the same command as above from a live cd (because windows' bootloader will probably become default when you recover it) It's probably not the best way but it's the only one i can think of. – Chriskin May 8 '11 at 1:51
feedback

Run Boot Info Script From a Live-CD or USB and post the results.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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