Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm not sure how it happened, but I lost the "windows 7" entry from my Grub2 screen after updating ubuntu.

How can I add it ? I knew how to do it in grub legacy, not in grub 2

share|improve this question

2 Answers 2

up vote 2 down vote accepted

You could try installing grub-pc tools to automatically detect all available operating systems

sudo aptitude install grub-pc

and then update grub2 for your next restart

sudo update-grub2

if Windows is correctly installed it should now be added to grub.cfg

share|improve this answer
    
Doesn't seem to find windows ... arg maybe my partition is corrupted in some way :'( –  Manu Jan 20 '11 at 13:26
    
In that case I'd backup everything from the Windows partition as soon as possible and reinstall. Can you browse the windows partition when logged in Ubuntu? –  bruno077 Jan 20 '11 at 15:21
    
yes, I can see all my files ... my windows partition commited suicide, there's no other explanation. –  Manu Jan 20 '11 at 17:54

This article seems to answer the question :

How to add Vista/Windows 7 partition to Grub 2 (Ubuntu 9.10, Karmic Koala)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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