Ubuntu – Cannot Ubuntu 12.04 detect windows 7 (dual boot)

12.04dual-bootsystem-installationwindows 7

I was trying to install Ubuntu 12.04 alongside with windows 7. I only have one hard drive (1TB), and I first installed window 7 on one partition. Now there are about 500GB unlocated space on the disk, and I'd like to install Ubuntu on that part of that partition.

What I did was to boot from a usb stick to install Ubuntu. I have the same problem with the following post.

Ubuntu 12.04 installer does not see Windows already installed on my computer

In the installation, Ubuntu cannot detect the windows 7, so there is no option "install ubuntu alongside with windows 7". I follow the suggestion provided in the above post, and installed the "boot-repair" tool. Then I use the boot-repair tool to create a Bootinfo summary.

Thu url of the bootinfo: http://paste.ubuntu.com/1057933/

I also use "try ubuntu" to use the terminal.
When I type "sudo os-prober" in the command line, it returns nothing. It seems that ubuntu cannot detect the installed windows 7.

Since my situation is different from that in the previous post. I only have one hard drive, so the problem should not be related to any raid thing.

Can anybody help me on this? What can I to make ubuntu to detect the windows 7.

Best Answer

  1. Your PC uses a recent boot system (EFI), which may be why GRUB (which uses os-prober) did not detect Windows. This is a bug of os-prober that should be reported here.
  2. Repair your Windows boot by booting on a Seven Recovery CD (32bit or 64bit), then type these 2 commands:

    bootrec /fixmbr

    bootrec /fixboot

  3. When you recovered direct access to Windows, use Boot-Repair to recover the GRUB menu

Related Question