Solved

MBR on XP Pro

Posted on 2014-03-10
10
323 Views
Last Modified: 2014-03-14
Hi All,

Situation - Failed MBR on windows XP Professional

I have a Production PC (Manufacturing equipment controller) with Windows XP Pro that resides inside a turret (yes, this pc spins in circles 23 hours a day). Anyway, it's a vital piece of equipment for our manufacturing line. About every 18 months we have hard drive failures that lead to disassembly of the equipment to remove the PC and change the hard drive out. I keep 2 spares (imaged) at all times for just this problem.

Recently (this weekend due to our Ice Storm that blew out power repeatedly) we lost the drive in the middle of production. I removed the PC and swapped the drive so we could continue to run. I have just pulled up the hard drive on my PC (Windows 7) to check its status and it seems fine.... My guess is the MBR was corrupted from the repeated failures from power.

So, Is it possible to reconstruct the MBR in this drive as a it's a slave drive on my machine currently? If so, what file am I looking for to edit?
0
Comment
Question by:SDBrooks
10 Comments
 
LVL 13

Accepted Solution

by:
Santosh Gupta earned 76 total points
ID: 39917777
Hi,

Please follow the below steps.
(unplug your Good OS HDD, to avoid confusion)

1. make your corrupted MBR XP disk to primary.
2. boot the machine with XP bootable CD.
3. When prompted, press R to repair a Windows XP installation.
4. Enter the administrator password if prompted.
5. To fix the MBR, use the following command: FIXMBR
6. Type y and ENTER to fix the MBR.
7. Type exit to leave the recovery console and reboot.
0
 
LVL 22

Assisted Solution

by:Adam Leinss
Adam Leinss earned 76 total points
ID: 39917778
If you boot from a XP disc, you should be able to do a fixboot and fixmbr from the Recovery Console.  However, the drive will have to be connected directly to the motherboard for it to see it from this environment.
0
 
LVL 34

Assisted Solution

by:Dan Craciun
Dan Craciun earned 152 total points
ID: 39917779
You can just boot from an XP (to be safe) CD to recovery console with only that drive attached and run FixMBR.

HTH,
Dan
0
 
LVL 34

Expert Comment

by:Dan Craciun
ID: 39917782
Wow, 3 (pretty much identical) answers in 26 seconds :)
0
 

Author Comment

by:SDBrooks
ID: 39917847
thanks for the input.... very valid points ... however as I said, this is a production machine... it has a drive in it now that's fresh. We do not have another machine like this anywhere.. and would have to be ordered from the equipment manufacturer.

So, I don't have a "machine to load this drive to and run the fixboot/fixmbr: commands.

I have the drive... set a slave drive on my Win7 workstation. I simply need to edit the mbr record and put back on the shelf as "Spare 3".

Help here is appreciated. I am going to hold this disk for a few days before reimaging the disk as its checked out fine and I feel confident with was simply a corrupt mbr. But to know how to repair these disk "Offline" rather than hold the production up is a better scenario.

thanks again
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 34

Assisted Solution

by:Dan Craciun
Dan Craciun earned 152 total points
ID: 39917854
You don't need to put it back in the production machine.
Just keep it in your workstation, decouple your win 7 hdd and boot from a XP disk...

The MBR is not motherboard dependent, AFAIK.
0
 

Author Comment

by:SDBrooks
ID: 39917866
ok, ill give it shot.. I thought the MBR was hard independent
0
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 39918548
Have you thought about installing an SSD drive to save the constant trips to replace/fix the hard disk?  A spinning disk is not a good thing to have in this environment.. I'd be curious as to the amount of G forces involved here..
0
 
LVL 91

Assisted Solution

by:nobus
nobus earned 76 total points
ID: 39919872
here the full details - if needed :
Boot using the Windows XP installation disk, press R. Then type the following commands:
note : you can test after each command

      FIXMBR
      FIXBOOT
      BOOTCFG /rebuild

      cd\
      copy E:\i386\NTLDR c:\
      ATTRIB -arsh ntldr
      copy e:\i386\NTDETECT.COM
      ATTRIB -arsh ntdetect.com c:\

E: should be the location of your CDRom where you have the Windows install disk located.
and check if those files are in the root :   NTLDR   boot.ini     ntdetect.com

Contents of the boot.ini file :
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect

check this too for more info :  http://tinyempire.com/notes/ntldrismissing.htm#What_if_none_of_the_optio
0
 

Author Closing Comment

by:SDBrooks
ID: 39930195
Cool.. thanks all. Never tried to rebuild MBR outside of the actual machine. I thought it WS mb dependent. Guess not. Thanks again
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: When experiencing some peculiar problem with the functioning of your PC, how many times has it happened that you look for a solution and even google can’t help? It could be that you are one of the only few people on earth who ma…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now