Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: cannot boot windows 7 after installing ubuntu!

12 May 2010   #1
civint

Windows 7 Professional (build 7600)
 
 
cannot boot windows 7 after installing ubuntu!

I was running on my laptop a vista (OEM install from HP) which was installed over 2 partitions, one for the OS and another "recovery" partition. When installed windows 7, I shrank the vista partition and installed windows 7 onto the free space, leaving the recovery partition, so I ended up with vista, win7, HP recovery partition, which worked fine.

I just installed ubuntu 10.04 over windows vista, and the menu recognizes
Quote:
windows vista (loader) (on /dev/sda3)
which is the recovery partition, and when I select that it goes to the menu for vista to repair an installation.

I have 2 questions:
1: how can I get windows 7 working again? (reinstall bootloader?)
2: to get windows 7 working again should I delete the HP Recovery partition? since windows 7 doesnt make any use of it...

Many thanks!


My System SpecsSystem Spec
.
12 May 2010   #2
zigzag3143

Win 8 Release candidate 8400
 
 

Quote   Quote: Originally Posted by civint View Post
I was running on my laptop a vista (OEM install from HP) which was installed over 2 partitions, one for the OS and another "recovery" partition. When installed windows 7, I shrank the vista partition and installed windows 7 onto the free space, leaving the recovery partition, so I ended up with vista, win7, HP recovery partition, which worked fine.

I just installed ubuntu 10.04 over windows vista, and the menu recognizes
Quote:
windows vista (loader) (on /dev/sda3)
which is the recovery partition, and when I select that it goes to the menu for vista to repair an installation.

I have 2 questions:
1: how can I get windows 7 working again? (reinstall bootloader?)
2: to get windows 7 working again should I delete the HP Recovery partition? since windows 7 doesnt make any use of it...

Many thanks!

You need to use a program like bcdedit. instructions on how to usse it are here. BCDEDIT - How to Use

Yes you can delete the recovery partition.

Ken
My System SpecsSystem Spec
12 May 2010   #3
civint

Windows 7 Professional (build 7600)
 
 

thanks for quick reply!
will give it a look
many thanks

--edit--
how do I run bcedit if I can't boot windows?
My ubuntu install runs fine, buthow do I get to an elevated win7 command prompt?
My System SpecsSystem Spec
.

12 May 2010   #4
zigzag3143

Win 8 Release candidate 8400
 
 

Quote   Quote: Originally Posted by civint View Post
thanks for quick reply!
will give it a look
many thanks



My pleasure, let us know if you need help


ken
My System SpecsSystem Spec
12 May 2010   #5
gregrocker

 

Mark Win7 partition active, boot Win7 DVD Repair console or Repair CD, click through to Recovery Tools list to run Startup Repair up to 3 separate times with reboots to write the MBR to Win7 and start it up.

Next install EasyBCD 2.0 beta after doing quick forum registrration to use beta, add Ubuntu using Linux tab on Add/Remove.

This is how to use a Windows-managed dual boot, however it may not work if you have GRUB which needs to be cleaned off the HD before it can be overridden. Read here: Dual-Boot Windows 7 and Ubuntu in Perfect Harmony - windows 7 - Lifehacker
My System SpecsSystem Spec
12 May 2010   #6
wee

XP/W7/Lucid/Arch
 
 

The autorepair will probably not work nor the bcd edit. There is a problem with Ubuntu installs that it gives you the option to put grub into all partitions if you don't know where to put it, when it should be in the MBR of the HD that it is installed to.

Post this boot script in code tags if theses other methods don't work. SourceForge.net: Boot Info Script - Project Web Hosting - Open Source Software

Might I suggest that all you gurus check out this script, it will give you the complete lowdown on where grub has been installed where the boot is and other pertinent information.

What I see on this site is a lot of 3rd party usage that is never needed due to a misunderstanding of how grub works, and thinking that a autorepair will work. You have to run the commands individually with a chkdsk to work. I don't just suggest these things because I think it's correct but I know that it is I have reloaded W7/XP/Grub multiple times with no problems. But if grub has been put in the ntfs partitions there is even a easier way to fix it with testdisc, and keep the MS bootloader intact and grub.

The problems you guys are running into with Ubuntu installs is more then often due to grub being put in partitions rather then the MBR.
My System SpecsSystem Spec
Reply

 cannot boot windows 7 after installing ubuntu!




Thread Tools




Similar help and support threads
Thread Forum
Unable to boot windows after installing ubuntu
I previously had windows 7 operating system.For some use I also needed the ubuntu operating system.I have the ubuntu 12.04 64 bit on a cd.In order to use the new operating system.....I had the need for a new drive.But I've got a Hewlett Packard laptop....so in order to create a new drive for...
Installation & Setup
Encrypted Windows 7 partition will not boot after installing Ubuntu.
Windows 7 seems to be located in my /dev/sda1 partition. However, ever since I installed Ubuntu (not using wubi) my fully encrypted HDD/partition will not prompt me with the password but instead boots straight to ubuntu. Ubuntu does not even recognize my windows partition. More interestingly, I did...
General Discussion
Boot folder in C: after installing ubuntu
I just installed ubuntu but after doing that I got folders like boot, boot-sav and files like bootmgr, grldr e.t.c in my c: When I checked disk management it is showing ubuntu drives also. As far as i know ubuntu drives(ext4) doesn't get recognized by windows. What's wrong with it? And my...
General Discussion
Installing Windows 7 over Vista on dual boot with Ubuntu
I want to upgrade Vista to Windows 7, but without disturbing my Ubuntu installation, which is dual boot with Vista. I would prefer to do a clean install of Windows 7 over Vista, which has had niggling little issues (I resolve them and new ones appear) ever since I bought the pc. I don't have the...
Installation & Setup
Dual boot problem while installing ubuntu 10.10 with windows 7 on hp
Hello friends, I am trying to make my new laptop hp- dv6 3174 dual boot with two operating systems Windows 7(which is preinstalled) and Ubuntu 10.10. But after i install ubuntu, windows is getting erased. I tried repairing with system repair disc but not possible. Even if i put system repair...
Installation & Setup
Win 7 won;t boot after installing Ubuntu dual boot
Hopefully I'm sticking this in the right forum, seems the closest to me at least. Sorry for the wall of text, but I'm trying to provide as much info as possible. Anyway, I can't get Win 7 to boot after setting up dual boot (Ubuntu 10.10) on my GF's laptop. Been trying to solve this with help...
Installation & Setup


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:19.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App