Can not boot into Windows 7 after installing Ubuntu 12.04

You're problem, if it is like mine, requires a more simple solution. If you get the grub loader menu and it shows Windows 7 but when you select that it does not boot, select the line for the system you want to boot and press 'e' on the grub menu. This will bring you to an entry something like as follows:

insmod part_msdos 
insmod ntfs 
Set root = '(hdx, msdosx)'

You usually don't need to worry about the other lines that follow so I've not included them here. Edit the x value so that sdb is hd1 or sda is hd0, for example-get those numbers to match yours. Edit the msdosx value to match yours as well, but the partition number, unlike the disk number starts with 1; not 0.


Since you have not deleted any partition (so the recovery partition of windows 7 is still there) you can proceed like this :

In order to have windows 7 back just run the windows 7 CD in repair mode.

follow this in order to have the console : http://pcsupport.about.com/od/toolsofthetrade/ss/windows-7-startup-repair.htm

Under the console you'll type :

fixboot

and

fixmbr

Those two commands will restore normaly the whole windows 7 boot process. if not follow the procedure of the link I gave you.

So now you are in single boot with windows 7 and Ubuntu is "disabled"

In order to restore Ubuntu and activate the dual boot correctly you may want ubuntu back.

For that follow this link at the easybcd part : http://www.linuxbsdos.com/2011/05/22/how-to-dual-boot-windows-7-and-ubuntu-11-04/2/

I hope It'll fix you everything. Because it's a repair of the boot process be informed that you can loose the boot of both systems. However you don't loose any data. The best thing is to have another computer next to you or print the links in case of more complex situation. Also have an ubuntu cd that will help you to access to internet in case of that kind of situation.

Best regards,


I just had the same problem and I solved it.

I fixed my Windows 7's boot loader as Antoine recommends.

Then there was only Windows 7 and no sign of Ubuntu.

I installed EasyBCD -it's free for personal use and can be downloaded from this address.

Then I ran the app and I added the Ubuntu boot menu alongside the Windows 7.

With this app it's easy. Now it's working properly. If you chose the Grub 2 boot loader, it will be easier to configure the loader.

Thanks.


Are you using AHCI/UEFI in your BIOS (instead of MBR partitioning)?

I have the same problem and the options are either to reformat and use Windows with MBR and then Ubuntu and Windows will boot properly or keep AHCI/UEFI and you have to disconnect physically the drive containing the Ubuntu OS.