Boot loader problems

Undeadish

New member
Local time
6:37 PM
Messages
17
Location
Denmark, Allerød
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 Computer

OS
Windows 7 Enterprise 64 bit retail
CPU
Intel Q9300 Core 2 Quad
Motherboard
Acer EQ45M
Memory
8 GB
Graphics Card(s)
nVidia 260 GTX
Screen Resolution
1920*1080 and 1440*900
Hard Drives
2x 500 GB SATA @ 7200 RPM
PSU
Corsair HX 520 Watt
Case
Coolermaster Storm Sniper
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 Computer

Computer Manufacturer/Model Number
Apple MacBook 5,1
OS
Windows 7 Profesional x86, Mac OS X 10.6 Snow Leopard
CPU
Intel Core 2 Duo 2.4Ghz
Memory
4GB DDR3
Graphics Card(s)
Nvidia 9400m
Monitor(s) Displays
13.3" Internal + 22" DVI + 21.5" USB
Screen Resolution
1280x800 + 1920x1080 + 1920x1080
Hard Drives
Internal SATA 2.5" 500GB (395GB Mac HFS+, 105GB Windows NTFS)
2.48TB RAID consisting of 5 disks (HFS+)
Case
Aluminium Unibody
Keyboard
Apple Late 2009 Wireless Keyboard (US)
Mouse
Apple Magic Mouse
Internet Speed
6.33Mb/s up. 0.36Mb/s down.
Other Info
Harman Kardon Soundsticks II Speakers

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel i7 2600K OC'd @ 4620 MHz
Motherboard
Asus P8Z68-V Pro
Memory
16GB GSkill Sniper 2133 Mhz (4x4GB)
Graphics Card(s)
EVGA GeForce GTX 480 SuperClocked+
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
2x Acer S273HLbmii 27"
Screen Resolution
2 x 1920x1080
Hard Drives
64GB Crucial M4 SSD

Storage: Hitachi 1TB 5400RPM, Samsung 1.5TB 5400RPM
PSU
Corsair HW Series 750w (modular)
Case
Cooler Master HAF 932 Advanced Blue Edition
Cooling
CM Hyper 212+ CPU cooler, 3x 230mm + 1x 140mm case fans
Keyboard
Logitech MK320 (wireless)
Mouse
Logitech MK320 (wireless)
Internet Speed
30 Mb/s : 2 Mb/s
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 Computer

OS
Windows 7 Enterprise 64 bit retail
CPU
Intel Q9300 Core 2 Quad
Motherboard
Acer EQ45M
Memory
8 GB
Graphics Card(s)
nVidia 260 GTX
Screen Resolution
1920*1080 and 1440*900
Hard Drives
2x 500 GB SATA @ 7200 RPM
PSU
Corsair HX 520 Watt
Case
Coolermaster Storm Sniper

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel i7 2600K OC'd @ 4620 MHz
Motherboard
Asus P8Z68-V Pro
Memory
16GB GSkill Sniper 2133 Mhz (4x4GB)
Graphics Card(s)
EVGA GeForce GTX 480 SuperClocked+
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
2x Acer S273HLbmii 27"
Screen Resolution
2 x 1920x1080
Hard Drives
64GB Crucial M4 SSD

Storage: Hitachi 1TB 5400RPM, Samsung 1.5TB 5400RPM
PSU
Corsair HW Series 750w (modular)
Case
Cooler Master HAF 932 Advanced Blue Edition
Cooling
CM Hyper 212+ CPU cooler, 3x 230mm + 1x 140mm case fans
Keyboard
Logitech MK320 (wireless)
Mouse
Logitech MK320 (wireless)
Internet Speed
30 Mb/s : 2 Mb/s
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 Computer

Computer Manufacturer/Model Number
Homebuilt
OS
Windows 7 x64
CPU
i7-2600K
Motherboard
Asus P8Z77-v Pro
Memory
8 G
Graphics Card(s)
GTX 480
Sound Card
Onboard
Monitor(s) Displays
LG W2753V
Screen Resolution
1920x1080
Hard Drives
Crucial M4 128 G SSD
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 Computer

OS
Windows 7 Enterprise 64 bit retail
CPU
Intel Q9300 Core 2 Quad
Motherboard
Acer EQ45M
Memory
8 GB
Graphics Card(s)
nVidia 260 GTX
Screen Resolution
1920*1080 and 1440*900
Hard Drives
2x 500 GB SATA @ 7200 RPM
PSU
Corsair HX 520 Watt
Case
Coolermaster Storm Sniper
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 Computer

Computer Manufacturer/Model Number
Apple MacBook 5,1
OS
Windows 7 Profesional x86, Mac OS X 10.6 Snow Leopard
CPU
Intel Core 2 Duo 2.4Ghz
Memory
4GB DDR3
Graphics Card(s)
Nvidia 9400m
Monitor(s) Displays
13.3" Internal + 22" DVI + 21.5" USB
Screen Resolution
1280x800 + 1920x1080 + 1920x1080
Hard Drives
Internal SATA 2.5" 500GB (395GB Mac HFS+, 105GB Windows NTFS)
2.48TB RAID consisting of 5 disks (HFS+)
Case
Aluminium Unibody
Keyboard
Apple Late 2009 Wireless Keyboard (US)
Mouse
Apple Magic Mouse
Internet Speed
6.33Mb/s up. 0.36Mb/s down.
Other Info
Harman Kardon Soundsticks II Speakers
Hi, thank you for your post.

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

Thanks
 

My Computer

OS
Windows 7 Enterprise 64 bit retail
CPU
Intel Q9300 Core 2 Quad
Motherboard
Acer EQ45M
Memory
8 GB
Graphics Card(s)
nVidia 260 GTX
Screen Resolution
1920*1080 and 1440*900
Hard Drives
2x 500 GB SATA @ 7200 RPM
PSU
Corsair HX 520 Watt
Case
Coolermaster Storm Sniper
Hi, thank you for your post.

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

Thanks
You're welcome, post back when you're done.

Oli
 

My Computer

Computer Manufacturer/Model Number
Apple MacBook 5,1
OS
Windows 7 Profesional x86, Mac OS X 10.6 Snow Leopard
CPU
Intel Core 2 Duo 2.4Ghz
Memory
4GB DDR3
Graphics Card(s)
Nvidia 9400m
Monitor(s) Displays
13.3" Internal + 22" DVI + 21.5" USB
Screen Resolution
1280x800 + 1920x1080 + 1920x1080
Hard Drives
Internal SATA 2.5" 500GB (395GB Mac HFS+, 105GB Windows NTFS)
2.48TB RAID consisting of 5 disks (HFS+)
Case
Aluminium Unibody
Keyboard
Apple Late 2009 Wireless Keyboard (US)
Mouse
Apple Magic Mouse
Internet Speed
6.33Mb/s up. 0.36Mb/s down.
Other Info
Harman Kardon Soundsticks II Speakers
Process completed and working. Thanks everybody who replied.
 

My Computer

OS
Windows 7 Enterprise 64 bit retail
CPU
Intel Q9300 Core 2 Quad
Motherboard
Acer EQ45M
Memory
8 GB
Graphics Card(s)
nVidia 260 GTX
Screen Resolution
1920*1080 and 1440*900
Hard Drives
2x 500 GB SATA @ 7200 RPM
PSU
Corsair HX 520 Watt
Case
Coolermaster Storm Sniper
Process completed and working. Thanks everybody who replied.

I'm glad it worked well.

I give the following explanation to all new members so if you already know the following I apologise in advance. It explains how to mark threads as solved etc.

To the top right of this post you will see 3 icons. An orange (+), a set of scales and a red and white warning triangle.

The orange (+) or blue (-) denotes whether a user is on or offline (orange = on, blue = off).

The scales are used to give rep points; click this button if someone has helped you significantly or solved your queries (only give this to posts that you think really deserve it).

The red and white warning triangle is used to denote either an abusive post OR to mark a thread as solved (just put solved in the box that comes up and the admins or moderators will mark it solved).

I'll mark this thread solved this time.

Oli
 

My Computer

Computer Manufacturer/Model Number
Apple MacBook 5,1
OS
Windows 7 Profesional x86, Mac OS X 10.6 Snow Leopard
CPU
Intel Core 2 Duo 2.4Ghz
Memory
4GB DDR3
Graphics Card(s)
Nvidia 9400m
Monitor(s) Displays
13.3" Internal + 22" DVI + 21.5" USB
Screen Resolution
1280x800 + 1920x1080 + 1920x1080
Hard Drives
Internal SATA 2.5" 500GB (395GB Mac HFS+, 105GB Windows NTFS)
2.48TB RAID consisting of 5 disks (HFS+)
Case
Aluminium Unibody
Keyboard
Apple Late 2009 Wireless Keyboard (US)
Mouse
Apple Magic Mouse
Internet Speed
6.33Mb/s up. 0.36Mb/s down.
Other Info
Harman Kardon Soundsticks II Speakers
Back
Top