How to add a Windows 7 partition to grub2's list of available OS?

6,980

Solution 1

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

Solution 2

This article seems to answer the question :

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

Share:
6,980

Related videos on Youtube

Manu
Author by

Manu

European of French nationality. Web developer & UX enthusiast.

Updated on September 17, 2022

Comments

  • Manu
    Manu almost 2 years

    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

  • Manu
    Manu over 13 years
    Doesn't seem to find windows ... arg maybe my partition is corrupted in some way :'(
  • bbonamin
    bbonamin over 13 years
    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?