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: I am trying to access the bootsect.exe in order to remove grub

01 Feb 2013   #1
ShayHamblin

Windows 7 Premium Home edition x64
 
 
I am trying to access the bootsect.exe in order to remove grub

I am running an ASUS U-47 laptop and am trying to access the system recovery options. However, when I try and access them, which I have done from both the recovery partition as well as a system repair disc, I am only directed to the restore to jfactory preset wizard, which offers me three options; restore windows to entire HD, just this partition, or 2 partitions. I am trying to access the bootsect.exe in order to remove grub, and as far as I can see, the only way to do that is through the command prompt in the system recovery environment. Any help i can get would be greatly appreciated.


My System SpecsSystem Spec
01 Feb 2013   #2
theog

Microsoft Community Contributor Award Recipient

ME/XP/Vista/Win7
 
 

To Remove Linux, take look at this post:
Error 0xc0000225 on boot

Remove Grub - Restore Windows 7
My System SpecsSystem Spec
01 Feb 2013   #3
ShayHamblin

Windows 7 Premium Home edition x64
 
 

those are both great, but the problem is that I can't access the System recovery options, which both of those tutorials call for. When I try to access the System recovery options by either using the "repair" option in advanced boot options or by using a system repair disc, all that happens is that I am redirected to the ASUS factory reset menu.
My System SpecsSystem Spec
01 Feb 2013   #4
gregrocker
Microsoft MVP

 

Your Recovery partition may have been marked Active forcing it to run at boot. Follow these steps to recover Win7 from GRUB:

Burn the Win7 DVD for your licensed version from Step 5 of Troubleshooting Windows 7 Failure to Start, boot it to access System Recovery Options Command Line to Mark Win7 or it's 100mb System Reserved Partition (preferred if you have it) Active.

Then run Startup Repair - Run up to 3 Separate Times until Windows 7 starts and it's boot partition holds the System Active flags.

If this fails when System Reserved partition is marked Active, move the Active flag to Win7 partition itself and then try the 3 repairs again.

Be aware that sometimes GRUB can corrupt Windows 7 beyond repair when on the same HD. If problems persist I would delete it completely and then for any future Linux Dual Boots use separate HD's booted only via BIOS, or Dual Boot - Windows 7 and Linux - Windows 7 Forums.

If all else fails it may be necessary to wipe the boot sector of interfering code using Diskpart Clean Command before Clean Reinstall - Factory OEM Windows 7 which steps are same for retail.
My System SpecsSystem Spec
01 Feb 2013   #5
ShayHamblin

Windows 7 Premium Home edition x64
 
 

I did make a windows repair disc, what i'm trying to say is that i CANNOT access the windows system recovery options. where as when everyone else boots their system repair disc, they have the option to get to system recovery tools, my system instead brings up the asus recovery partition, which only allow me to reset my system to factory settings, which does nothing to grub.
My System SpecsSystem Spec
02 Feb 2013   #6
gregrocker
Microsoft MVP

 

Is it booting into the disk normally as shown in System Repair Disk tutorial? At what point does it divert to running Recovery?

It sounds like it's not even booting into the disk but instead booting into Recovery partition. 90% of time failure to boot the disk is due to user failure. How to Boot A Computer from CD or DVD - YouTube

Download free Partition Wizard bootable CD, burn to CD using Windows Image Burner. Boot CD to see if Recovery is marked Active. If so then rightclick on 100mb SysReserved (if you have it) or C partition to Modify>Set to Active, click OK, then Apply, try to boot again.

If that fails boot into DVD to run Startup Repair - Run up to 3 Separate Times to repair or rewrite the System boot files to the Active partition.
My System SpecsSystem Spec
02 Feb 2013   #7
ShayHamblin

Windows 7 Premium Home edition x64
 
 

i'll try booting into partition wizard to try that, but yeah, what i'm saying is that it isn't booting into the disc at all, even though i'm choosing to boot into the dvd drive from the bios. instead it is booting directly into the recovery partition.
My System SpecsSystem Spec
02 Feb 2013   #8
gregrocker
Microsoft MVP

 

Are you being prompted to "Press any key to boot CD?" If so this could be a bad CD. Will it boot in another PC?

This is why I first suggested burning the Win7 DVD to try it for repairs, and to have it to if necessary get the superior Clean Reinstall - Factory OEM Windows 7.

The BIOS boot menu key on some Asus's is F8, but it must be triggered quickly or it will try to boot the HD, or if the Active flag has switched possibly the Recovery partition.
My System SpecsSystem Spec
02 Feb 2013   #9
ShayHamblin

Windows 7 Premium Home edition x64
 
 

Windows boots just fine, i have to go through Grub to do it but it's running fine. And I know how to get to the boot menu. Perhaps i'll just do that clean reinstall
My System SpecsSystem Spec
02 Feb 2013   #10
gregrocker
Microsoft MVP

 

I'd wipe the HD first with Diskpart Clean Command, accessing DISKPART At PC Startup.

Then follow the steps in Clean Reinstall - Factory OEM Windows 7 to get a perfect install you can preserve with a backup image.
My System SpecsSystem Spec
Reply

 I am trying to access the bootsect.exe in order to remove grub




Thread Tools





Similar help and support threads
Thread Forum
Remove Grub - Restore Windows 7
You are dual booting with a Linux OS, using the Grub bootloader menu, and now you want to remove Linux and Grub and restore your Windows 7 boot manager. Here's how: This screen shot shows Windows XP, Vista, Windows 7, and my Ubuntu 9.10 installed on logical partitions (volumes) in an extended...
Installation & Setup
How Do I Remove Windows 8 bootsect.exe From Locked Partition?
Okay folks I'm at wits end so, I'm giving up & calling in help. I'll be as detailed as possible. Prerequisites: I have a 500 GB external hard drive that's now only showing 465 GB of empty space. I believe the other 35 GB partition is being locked by Windows 8's bootsect.exe or something to that...
Installation & Setup
Remove Grub & Restore MBR
I just added a 2nd hdd (1) and installed Linux Mint to it. The 1st hdd (0) has the original Win7 x64 that came with my Dell box. How do I get rid of grub bootloader so I can boot as before with original MBR? I want to be able to hit F12 and choose boot order as before. I thought grub would...
Backup and Restore
Remove XP bootsect from flash stick
Hi - I was trying to boot XP installer from my stick and wrote the XP bootsect onto it. Even after formatting stick, it remains to block successful booting of Win7 now. Should I diskpart to clean all the stick? Or is there a command to reverse XP bootsect? Thanks.
Installation & Setup
how to remove grub.. to have windows 7 alone
Hi, I installed ubuntu 9.10 (i think I also installed latest grub or something).. and tried it a bit.. and decided to remove it. I cleaned up the partitions which ubuntu were installed. I followed an instruction from youtube to recover widnows boot.. but it won't work. (Youtube...
Installation & Setup
Remove GRUB with XP as dual boot to install Windows 7?
thank u so much for this good tutorial,i have downloaded the windows 7 7264 for x86,my problem is that now i have two operating systems: 1)XP Sp2 2)Linux Fedora now my boot loader is GRUB and with that i select which of them start,the default is windows Xp, now i want to delete linux and just...
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 19:29.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App