Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 does not see windows already install on my computer (dual installation)

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.

share|improve this question
    
Why don't you try custom installation by defining Ubuntu's partitions manually .After installation completes , i am pretty sure it will be sorted out .If not then run sudo update-grub from installed Ubuntu OS. –  atenz Jun 24 '12 at 19:14
1  
Problem solved. I use the "boot-repair" tool, and choose "recommended repair". After it finishes everything, I reboot my computer and try to install ubuntu again. The option "install ubuntu alongside with windows 7" is there. Bingo! –  Jerry Jun 24 '12 at 19:15
    
Fine , post this as your answer and accept it. So others having having same problems can sort out. –  atenz Jun 24 '12 at 19:17
    
Thanks. It seems that I have to wait for 10 hours to answer the question since I am new. –  Jerry Jun 24 '12 at 19:28
    
New problem appears. After the installation, if I select to boot windows 7, it can not start....... eh! It says there is some error and I need to repair the windows. Maybe it is because that I choose the "recommended repair" of the boot-repair tool? –  Jerry Jun 24 '12 at 19:31

2 Answers 2

  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

share|improve this answer

Better go for installing using a live CD, it so easy to create just burn the ISO image in a CD. Then select Install Ubuntu. Surely you will enjoy it.

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.