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: How to fix MBR through command prompt?


25 Jul 2009   #11

Windows® 8 Pro (64-bit)
 
 

Quote   Quote: Originally Posted by Tepid View Post
Just a little warning to those who may not know....

Playing with the MBR is a risky thing.
If you don't know how to recover data and haven't done/or don't know how to do a backup.
Then you shouldn't be messing with the MBR at all.

Simply running /fixmbr can and has corrupted it for me several times in the past.
This is not something that a simple windows repair can usually fix, usually.
Appreciate that thought but there's no other option to fix the above mentioned problem hence we had to dig the MBR.

My System SpecsSystem Spec
.

25 Jul 2009   #12

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Did you try setting H hard drive as the first HD in bios boot order - mark the 7 partition Active - run startup repair 4 or 5 times.
My System SpecsSystem Spec
25 Jul 2009   #13

Win 7 Ultimate 32bit
 
 

I don't want to send this off in the wrong direction or give bad info.
But I can tell you what I would try personally in this situation.

If the MBR is toast, then you may have no other choice than to nuke and reload

I do not know if these will work or be compatible with Windows 7 in anyway shape or form, or if OS version even matters...This could make things better or worse.. So, use at your own risk...

You can however try MBRFix and/or MBRWiz

You can also possibly try TestDisk, which is a data recovery program.
And has save my butt a few times.

I do believe both are a part of the UBCD4Win (however you would also need to upgrade some tools plugins as they may be out dated), which you may find very handy in this or many other situations. Every Tech should be aware of it and BartPE (which UBCD4Win is a derivative of).

With all that said.....

You can try DiskPart also....to assign the drive letter you want.
http://technet.microsoft.com/en-us/l...8WS.10%29.aspx
http://support.microsoft.com/kb/300415

I would start with building a UBCD4Win (or BartPE) and boot to it, see if the drive shows up in Drive manager.

If it does, I might try changing the drive letter there, then set as active.
Then if needed run some of the 7 boot option fixes to see if this will repair any BCD problems.

I say might, because I have never had to do this, this would just be a way I would go if all else was failing.

If the drive is not showing up at all in there, then the MBR is toast and you can try the MBRFix or MBRWiz to try and repair it if possible. If these fail, then you can try TestDisk, this may work, but is not likely, however, it may allow you to recover data id it finds it.

If all this fails, with all else you have tried, Personally, I would give up the ghost and nuke and reload.

Once the MBR is toast, there is almost no way to fix it.

Although, someone may know something I don't.
My System SpecsSystem Spec
.


26 Jul 2009   #14

Windows 7 RC 7100
 
 

Quote   Quote: Originally Posted by Tepid View Post
Just a little warning to those who may not know....

Playing with the MBR is a risky thing.
If you don't know how to recover data and haven't done/or don't know how to do a backup.
Then you shouldn't be messing with the MBR at all.

Simply running /fixmbr can and has corrupted it for me several times in the past.
This is not something that a simple windows repair can usually fix, usually.
I had a backup so I just decided to re-install. Windows 7 is fast to install I backup & running within 1 hour.

thanks everyone.
My System SpecsSystem Spec
08 Jul 2012   #15

Windows 7 Enterprise i386
 
 
A note about Bootrec

I was working on an Acer Iconia Tab W500 (tablet PC) this evening, which runs Windows 7 Enterprise (Ultimate) and Ubuntu 12.04. My intentions were to remove Ubuntu, restore the Windows 7 boot loader, and then remove the Ext3 partition containing Ubuntu 12.04.

I use a Sandisk 4GB USB drive as my installation media.
The tablet uses a built in 32GB SSD, and a separate 32GB SDXC card (45MBps).

I found that booting from the actual installation media would not repair the drive. I'm not sure exactly what caused it's confusion, but since Bootrec.exe does not allow you to target the operation to be performed on a specific drive, it's sorta a shot in the dark.

So, I copied the tool to my local drive, and booted up, first triggering my Drive selector, then immediately hitting F8 to trigger the boot-selector menu. This was all while grub was still installed. I was able to locally select the repair mode, and then open a command prompt, and run bootrec against the local drives without using a boot disc. This successfully removed grub, and I can now proceed to removing the ext3 partition and then spanning out the NTFS partition to reclaim the space on that drive, which is tiny to begin with.

If I *do* put another alternative OS on this machine, it'll be Android x86 v4.x or newer. I'll continue to use Windows 7 as it's primary OS until I can update it to Windows 8 Enterprise, and for now I'll continue to use USB drives for running Linux Distributions, which works well anyway. I just need to get a few lower-profile-drives since this *is* a tablet afterall. But I'll give it this, Windows 7 runs like a scalded dog on this Tablet, and Diablo 3 looks pretty sweet on it too!

Share and Enjoy,
StygianAgenda
Storm-9-Net
My System SpecsSystem Spec
12 Jun 2013   #16

windows 7
 
 

I am just reading so many different questions and answers. thanks to all.
My System SpecsSystem Spec
Reply

 How to fix MBR through command prompt?




Thread Tools



Similar help and support threads for2: How to fix MBR through command prompt?
Thread Forum
Command Prompt Tutorials
Help needed executing command prompt command General Discussion
command prompt General Discussion
Run administrative command prompt from command prompt General Discussion
Solved Command Prompt General Discussion
command prompt bug ? General Discussion
Command Prompt command <ipconfig> not working Network & Sharing

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 05:37 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