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: Attempted to install ubuntu on windows 7 but now cannot reboot


09 Apr 2012   #1

windows 7
 
 
Attempted to install ubuntu on windows 7 but now cannot reboot

hello all
I am somewhat new to the dual boot arena. I attempted but failed miserably to install ubuntu over windows 7. Now i can only run ubuntu from the cd and apparently when i remove the ubuntu install cd i get this error during start up

error: no such device : a2ecb941 blah blah blah
grub rescue >ls
(hd0) (hd0, msdos3) (hd0, msdos2) (hd0,msdos1) (cd)

i did not create a recovery cd before i did this so im even more screwed. I do have an runnin windows 7 on another computer. Should i just make a recovery cd from this and then try to run in on my desktop with both ubuntu and windows 7 and try to run the boot/fixmbr fromt he command prompt?
I also tried to install windows vista but when i tried to perform a system repoair it gave me the error noharddisk and no operating system came up for me to load the respective drive
please somebody assist me with this. At this point i just want ubuntu off my operating system and fix my bootmanager to boot from windows 7 if it still exists

My System SpecsSystem Spec
.

09 Apr 2012   #2

Windows 7 Ultimate x64
 
 

The reason it isn't booting is because Ubuntu uses a GRUB boot loader which is different then what windows 7 uses. I had the same problem and what i ended up doing to fix it is, I put in my windows 7 disk and booted from that, then i went to Repair windows and then went to the CMD. from there u can use the fixmbr command in order to re-wright it onto your hard drive. i just googled "fix mbr in cmd" it was like the 3rd link. Hope that helps.
My System SpecsSystem Spec
09 Apr 2012   #3

windows 7
 
 
thanks

hello...thank you for your reply..problem is i do not have a windows recovery cd as i did not create it before i put ubuntu on there....can i just use a recovery cd from another windows 7 computer
My System SpecsSystem Spec
.


09 Apr 2012   #4
Microsoft MVP

 

You said you installed Ubuntu over Windows 7. Why would you expect Windows 7 to boot in that case?

If you did in fact overwrite Windows 7 then you'll have to try running Factory Recovery from it's partition if you have a Recovery partition on board, or you'll have to Clean Reinstall - Factory OEM Windows 7 using the Product Key on COA sticker if it came with Windows 7 installed. Retail Windows 7 steps are the same.

I would also wipe the HD first with Clean command as GRUB can corrupt Windows 7 beyond repair and foul the boot sector for reinstall: SSD - HDD Optimize for Windows Reinstallation
My System SpecsSystem Spec
09 Apr 2012   #5

Windows 7 Ultimate x64
 
 

I am not positive if a recovery CD will work. sorry for not being clear, I was talking about the windows 7 Install CD that you use to install a new copy of windows. A recovery CD from any computer may work because all u need is a command prompt, but i wouldn't know for sure. Sorry
My System SpecsSystem Spec
09 Apr 2012   #6
Microsoft MVP

 

Recovery disks which are made from a Recovery partition on preinstalled Windows 7 must be for the same make and model. Did you make your Recovery disks earlier?

Is this preinstalled Windows? Do you have a Recovery partition still intact?

If not where did you get Windows 7?
My System SpecsSystem Spec
09 Apr 2012   #7

windows 7
 
 

gregrocker
i am sorry . I typed in the wrong description. I attempted to install ubuntu alongside windows(dual boot). I can either make a recovery cd from a newly installed windows 7 on my other computer or i could use a new copy of windows 7 that is provided by our university. Once i get to the command prompt shoulb i type in the boot.fix/mbr command to enable windows
My System SpecsSystem Spec
09 Apr 2012   #8
Microsoft MVP

 

Try to set up the Dual Boot this way: Dual boot Ubuntu-Win7

To restart Windows 7 boot into the Win7 System Repair Disk or System Recovery Options on the Windows 7 Installation DVD found here: Clean Reinstall - Factory OEM Windows 7

First from Command Line try

bootrec.exe /fixmbr
bootrec.exe /fixboot
bootsect.exe /rebuildbcd

then Reboot to see if Windows 7 starts.

If not mark Windows 7 partition Active: Partition - Mark as Active (Method Two)

Then run Startup Repair - Run 3 Separate Times
My System SpecsSystem Spec
09 Apr 2012   #9

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

That should do it.

Use either the install dvd , or the Windows 7 repair cd.

If you boot the Windows 7 install dvd - you get a window saying "Install Now".

When you see that window, press shift+f10 for command prompt.
My System SpecsSystem Spec
09 Apr 2012   #10

windows 7
 
 

OK forgive me once again but onc ei am in command prompt what commands should i type in...remember i dont care about ubuntu i just want windows back
My System SpecsSystem Spec
Reply

 Attempted to install ubuntu on windows 7 but now cannot reboot




Thread Tools



Similar help and support threads for2: Attempted to install ubuntu on windows 7 but now cannot reboot
Thread Forum
New drive fails to install windows 7 but will install ubuntu Installation & Setup
Solved SFC couldn't repair files. Attempted to retrieve from install CD Performance & Maintenance
Windows 7 BSOD (Clean install attempted) BSOD Help and Support
Windows 7 Install Disc fails to see hard disk after Ubuntu install Installation & Setup
My laptop does not detect any OS after i attempted to install WinXp BSOD Help and Support
Internet missing after system reboot: all attempted fixes failed Browsers & Mail
Dead laptop after attempted RC install 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 11:56 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