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: Boot loader problems

09 Jun 2010   #1
Undeadish

Windows 7 Enterprise 64 bit retail
 
 
Boot loader problems

Hi.

Recently I decided that I wanted to dual boot Ubuntu. Partitionated my secondary harddrive for linux. Went through the process until I got to the installation point, where my dog ran over my power cable and the installation messed up. Now I have an incomplete installation of Ubuntu along with my Windows 7 installation, and my boatloader has changed to GRUB.

The problem is, that I want to delete the partition with the unfinished ubuntu installation, but doing so will delete GRUB aswell, leaving me with no bootloader.

I googled a bit, and found that I need to restore the original bootloader using my Windows 7 installation disc before deleting the partition.

I do not have the CD.


Is there any solution?

Thanks


My System SpecsSystem Spec
.
09 Jun 2010   #2
osholt

Windows 7 Profesional x86, Mac OS X 10.6 Snow Leopard
 
 

Hi I think you can fix this problem by opening an elevated command prompt in Windows 7 and typing "bcdboot %WinDir% /l en-US" without the quotes (assuming You are happy with your boot loader in English, if not try what ever your Native language's short code is instead of en-US).

Hopefully this will allow you to get the Windows boot loader back and remove the unwanted partition safely.

For more info on bcdboot please take a look at BCDboot Command-Line Options.

Oli
My System SpecsSystem Spec
09 Jun 2010   #3
Jonathan_King

Windows 7 Professional x64
 
 

You can create a CD, actually: System Repair Disc - Create
My System SpecsSystem Spec
.

09 Jun 2010   #4
Undeadish

Windows 7 Enterprise 64 bit retail
 
 

Hi, thanks for your replies.

So I can either use the elevated command prompt or create a system repair disc.
Should I fix the bootloader before I delete the partitions or the other way around?

Thanks.
My System SpecsSystem Spec
09 Jun 2010   #5
Jonathan_King

Windows 7 Professional x64
 
 

I suggest doing a startup repair first. That's the easiest method.

Startup Repair
My System SpecsSystem Spec
09 Jun 2010   #6
gregrocker

 

As long as WIn7 is marked Active, Startup Repair will repair or write the MBR back onto it when run up to 3 times with reboots.

However it is best to wipe the GRUB off of the HD first as it can interfere. Use free Partition Wizard bootable CD to Wipe (GRUB) Partition with at least one set of zeros.

Partition - Mark as Active
My System SpecsSystem Spec
09 Jun 2010   #7
Saltgrass

Windows 7 x64
 
 

The bootsect.exe command should restore the Win 7 boot.

Put the Install DVD in the drive and then type the following in an administrative command window. The drive letter should be that of your DVD drive.

D:\boot\bootsect /nt60 all

See this Microsoft site..
My System SpecsSystem Spec
10 Jun 2010   #8
Undeadish

Windows 7 Enterprise 64 bit retail
 
 

Hi everyone, thanks for your posts, it's greatly appreciated!

The multiple answers (which I really appreciate) has made me a bit confused...

I am going to do this, is it the right way?

1) I burned a repair disc. I'm going to stick it in and boot from that.
2) Go to the administrative command prompt and put in either "E:\boot\bootsect /nt60 all" or "bcdboot %WinDir% /l da-DK"
3) Now I am no longer using the GRUB bootloader, and am capable of booting using the default Windows bootloader.
4) Delete the partition with failed the Ubuntu installation on.
5) Create a new partition on my secondary drive.
6) Download | Ubuntu - use this to install ubuntu to the partition on the secondary drive (looks like installing it this way will not install GRUB)
7) Done


Is this correct?

Thanks for your time, you're really helping out a windows noob here!
My System SpecsSystem Spec
10 Jun 2010   #9
osholt

Windows 7 Profesional x86, Mac OS X 10.6 Snow Leopard
 
 

Yes, that should work fine.

Just make sure to make a backup of your system just incase something goes horribly wrong (it's happened to me before!) but the chances of something going horribly wrong aren't that high.

It may be worth mentioning that there is an automated repair my PC option on the recovery disk which may (or may not, I'm not sure in this case) fix the boot loader for you, it's worth running anyway to see if it finds anything and fixes it.

It's the first one on the list of recovery options when you boot into the disk.

If you want to install Ubuntu uninvasively you may want to consider using Wubi.

Oli
My System SpecsSystem Spec
10 Jun 2010   #10
Undeadish

Windows 7 Enterprise 64 bit retail
 
 

Hi, thank you for your post.

I am going to do the steps I mentioned and then use Wubi.

Thanks
My System SpecsSystem Spec
Reply

 Boot loader problems




Thread Tools




Similar help and support threads
Thread Forum
USB boot loader ?'s
Just built a new htpc, want to install windows 7 via a USB flash drive. Used Rufus to create bootable flash drive from iso, uefi / gpt partition. OK so here is the questions, motherboard not showing flash drive in boot option priorities, read in a few places that I may need to disable fast boot and...
Installation & Setup
Dual boot WinXP/7 - How to hide Windows 7 from boot loader and XP?
Working in a corporate environment, we use Windows XP now but are needing to upgrade to Windows 7. I have dual boot Windows XP and 7 machine, thats the easy part, but I need to hide Windows 7 from the boot menu OR have a keyboard shortcut that can boot Win 7. The goal is I do not want users to...
Installation & Setup
one question about boot loader
hi. my friend's laptop has two windows:xp and vista wih dual boot he formated the vista partition and now he has just windows xp. as you know when he starts his laptop the dual boot screen appears but he don't want it. what shoud i do? i think it's ok to edit boot.ini and delete the line of...
General Discussion
Want to get rid of Boot Loader
I followed the Microsoft guidelines for a "clean" install of Windows 7. Unlike other Windows installations in the past I did not get an option to format the drive and subsequently ended up with the Boot Manager displaying every time I switch on the machine. I have subsequently removed XP from the...
General Discussion
Cant Boot windows, Linux boot loader has taken over
I had windows 7 originally Installed on my Laptop. I then Installed Ubuntu 9.10 Desktop version, and it installed the grub boot loader (All on 1 single HD, each OS is on its own partition.) This boot loader was used to dual boot between windows and Linux. However now the grub boot loader...
Installation & Setup
Need some help with the boot loader
Well for about 2 months I've been dual booting XP and 7. This past weekend I was trying to get a peak score in 3DMark06 with my PC and due to the high overclock I received a BSOD in XP, upon restarting my boot loader seemed to be corrupt. I was able to boot into 7 but not XP. This was a problem...
General Discussion


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 18:58.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App