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: Dual Boot Ubuntu cant remove loader

18 May 2010   #1
cclloyd9785

Windows 7 Home Premium x64, Mac OS X 10.6.2 x64
 
 
Dual Boot Ubuntu cant remove loader

I recently installed ubuntu 10.04 LTS on my system, and now, even when the windows partition is active, it boots into the ubuntu loader, then the windows bootloader. How can I remove the ubuntu bootloader?


My System SpecsSystem Spec
.
18 May 2010   #2
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Boot into Win 7 , D/l this bootsect.zip .

Copy bootsect.exe file into win 7 c:\windows\system32.

Open an elevated command prompt and type ( assuming win7 partition sees itself as C )

bootsect /nt60 C: /mbr

press enter.

That's it


My System SpecsSystem Spec
19 May 2010   #3
cclloyd9785

Windows 7 Home Premium x64, Mac OS X 10.6.2 x64
 
 

Attachment 73878

That was the result. And iv been getting that I/O message ever since i had the message

boot0:
boot0:
boot0: success

at startup. Any ideas?
My System SpecsSystem Spec
.

19 May 2010   #4
wee

XP/W7/Lucid/Arch
 
 

Quote   Quote: Originally Posted by cclloyd9785 View Post
Attachment 73878

That was the result. And iv been getting that I/O message ever since i had the message

boot0:
boot0:
boot0: success

at startup. Any ideas?
So it would be helpful if you explained what your trying to do. Do you want the MS bootloader to load Lucid when you want it? Or have you removed Lucid and just want to run MS. I am surprised you were given a command to remove grub without any questions. As a open source user my self mainly, and also using XP and W7 I would never rely on the MS bootloader it is problematic in reading other operating systems and will only read a MS system automatically. If you had a dualboot working with W7 and Lucid, then you probably should have just left it alone, there is a program called startup manager in Ubuntu that will adjust the countdown boot time and what you want to be the default boot.

If you just want to reload the MS boot loader do this.

You will need to boot with your Windows 7 installation disk. Hit Enter at the language selection prompt then hit "R" to get to the repair section. You can then select the automatic boot repair tool, but it often will not do any good. Then select the command prompt (console) and type in the following commands:
BootRec.exe /fixmbr
chkdsk /r
BootRec.exe /FixBoot
BootRec.exe /ScanOs
BootRec.exe /RebuildBcd
My System SpecsSystem Spec
23 May 2010   #5
cclloyd9785

Windows 7 Home Premium x64, Mac OS X 10.6.2 x64
 
 

thank you that fixed both my problems. +1
My System SpecsSystem Spec
23 May 2010   #6
Night Hawk

W7 Ultimate x64/W10 Pro x64 dual boot main build-remote pc W10 Pro x64 Insider Preview/W7 Pro x64
 
 

When going to install ubuntu onto a flash drive I ended up trashing the 7 mbr on one occasion where I simply booted from the 7 dvd itself to use the startup repair tool in the repair tools. Once that was done and the restart was seen the dual boot at the time showed "Windows 7 Ultimate(recovered)".
My System SpecsSystem Spec
23 May 2010   #7
wee

XP/W7/Lucid/Arch
 
 

Quote   Quote: Originally Posted by Night Hawk View Post
When going to install ubuntu onto a flash drive I ended up trashing the 7 mbr on one occasion where I simply booted from the 7 dvd itself to use the startup repair tool in the repair tools. Once that was done and the restart was seen the dual boot at the time showed "Windows 7 Ultimate(recovered)".
Your lucky the auto-repair worked, but if you had just checked the advanced button in the last gui of the install you would have seen that grub was defaulting to the hard drive rather then the thumbs mbr.
My System SpecsSystem Spec
23 May 2010   #8
wee

XP/W7/Lucid/Arch
 
 

The only thing I would like to add here is that I like a auto-system fix and a shiny gui, I'm not a code writer or a big command line user, but sometimes that is what you have to do if you have mixed MS with open source. I think this is basically MS's fault since to them open source is a very small part of the desktop market. But open source is used on over 50% of the severs on the web, and in Governments, and the fastest super computers run a Linux variant, with about 70% running a Linux setup. Unix and Linux are usually behind the MS desktop in many situations it is more stable and safer.

Really if you are just cruising the web and not gaming a open source or even apple is a better setup out of the box, and most open source is free. Don't be brainwashed into running just MS, it is now quite better with W7, but any on line banking or using a credit card should never be run on a MS setup. The operating system was never designed for safety and has to be seriously locked down and cleaned regularly. And because it has the market share of the desktop market, it has a huge bulls-eye on it for the crackers. Don't get me wrong here it is a inter mixture of problems that make using a MS system only that makes it problematic.

Personally though I don't like the key set up for verification, I have a upgrade from XP to W7 that had to be a fresh install to run. And every-time I reinstall it I either have to do the Paul T method or call MS as I don't get the activate it by phone line unless I reset it before trying. This is ridiculous, it is easy for me but I have a bit of a clue as to what to due, I shudder when I see the problems of those that don't.
My System SpecsSystem Spec
23 May 2010   #9
Night Hawk

W7 Ultimate x64/W10 Pro x64 dual boot main build-remote pc W10 Pro x64 Insider Preview/W7 Pro x64
 
 

Quote   Quote: Originally Posted by wee View Post
Quote   Quote: Originally Posted by Night Hawk View Post
When going to install ubuntu onto a flash drive I ended up trashing the 7 mbr on one occasion where I simply booted from the 7 dvd itself to use the startup repair tool in the repair tools. Once that was done and the restart was seen the dual boot at the time showed "Windows 7 Ultimate(recovered)".
Your lucky the auto-repair worked, but if you had just checked the advanced button in the last gui of the install you would have seen that grub was defaulting to the hard drive rather then the thumbs mbr.
The repair also worked well for seeing a second install of 7(stand alone) on another drive added into the BCD store on the host drive. It doesn't take much for Grub to trash the 7 mbr while it doesn't that much to restore it either fortunately!
My System SpecsSystem Spec
23 May 2010   #10
wee

XP/W7/Lucid/Arch
 
 

Quote   Quote: Originally Posted by Night Hawk View Post
Quote   Quote: Originally Posted by wee View Post
Quote   Quote: Originally Posted by Night Hawk View Post
When going to install ubuntu onto a flash drive I ended up trashing the 7 mbr on one occasion where I simply booted from the 7 dvd itself to use the startup repair tool in the repair tools. Once that was done and the restart was seen the dual boot at the time showed "Windows 7 Ultimate(recovered)".
Your lucky the auto-repair worked, but if you had just checked the advanced button in the last gui of the install you would have seen that grub was defaulting to the hard drive rather then the thumbs mbr.
The repair also worked well for seeing a second install of 7(stand alone) on another drive added into the BCD store on the host drive. It doesn't take much for Grub to trash the 7 mbr while it doesn't that much to restore it either fortunately!
I would agree with the easy fix but grub will not trash anything unless directed to do so. That is the problem we see at the Ubuntu Forums is that people see the install gui that asks where should grub go, and if your not sure put it everywhere. That is a bug of a gui, for the in-experienced user, not knowing that the bootloader goes to the mbr most of the time only.

Another thing is that the chkdsk /r options in the command set is a very good tool for checking the file system and fixing any anomalies, every user should run that at least once from a install or recovery disc so that they know how to do it, it will fix a lot of stuff. Here is another link to what is used often for messed up grub installs when grub has been loaded into the windows partition.

SourceForge.net: Boot Problems:Boot Sector - bootinfoscript

I guess since grub never messes up my installs unless I mess up, I am biased to it being user error, but hey anything is possible in the end.
My System SpecsSystem Spec
Reply

 Dual Boot Ubuntu cant remove loader




Thread Tools




Similar help and support threads
Thread Forum
Win 7 , Ubuntu dual boot, windows wont boot, startup disk doesnt help
Hi a couple of months ago my system crashed, windows 7 wouldnt boot, and I misplaced my installation disk. I had the problems several times since obtaining the computer several years ago. (Lenovo IDeaPad y450). I attributed the problem to what I believed was a bad hard disk, so I replaced it with a...
General Discussion
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
Dual-boot, remove Ubuntu
hi i have installed windows 7 then ubuntu alongside it everytime i start the pc up, there is a screen to choose the OS, that's OK i think the boot partition is ubuntu once i removed ubuntu completely from the device and i was unable to boot windows, not even after trying to repair Windows via...
Installation & Setup
Ubuntu still in Windows boot loader after removal
Hi I have just removed Ubuntu 10.10 from my computer by deleting partition that it was on. It was set up by Easybcd so that the option to boot into Ubuntu was through the windows boot loader, and windows seven was the default os. Choosing the Ubuntu option would take you to the Grub menu (it...
Installation & Setup
Backup dual boot loader
I have installed Win 7 and Vista, both 64bit, as a dual boot on the same HDD same as in the tutorial. Win 7 is OEM on the Laptop and installed first and Vista installed second and it is working properly. I have left space at the end of the drive for a linux install I will use one with grub 2. I...
Backup and Restore
dual boot w/ Ubuntu, need to uninstall Ubuntu
Hey all I am new here. I recently did a dual boot install of Ubuntu with my Home Premium Windows 7 machine. I need to figure out how to uninstall Ubuntu and the grub loader... any thoughts? I installed Windows 7 first... Ubuntu 64 desktop edition came after. I shrunk my Windows 7...
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 15:36.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App