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

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, Windows 7, 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

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, Windows 7, 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

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 Windows 7 command prompt?
My System SpecsSystem Spec
.


12 May 2010   #4

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
Microsoft MVP

 

Mark Windows 7 partition active, boot Windows 7 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 Windows 7 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 Windows 7/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 for2: cannot boot windows 7 after installing ubuntu!
Thread Forum
Unable to boot windows after installing ubuntu Installation & Setup
Encrypted Windows 7 partition will not boot after installing Ubuntu. General Discussion
Boot folder in C: after installing ubuntu General Discussion
Installing Windows 7 over Vista on dual boot with Ubuntu Installation & Setup
Solved Dual boot problem while installing ubuntu 10.10 with windows 7 on hp Installation & Setup
Installing Windows 7 over Ubuntu Installation & Setup
Win 7 won;t boot after installing Ubuntu dual boot 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 12:16 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33