Solved

MBR on XP Pro

Posted on 2014-03-10
10
326 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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
 
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 79

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 92

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
move Windows 10 apps to diff disk 39 151
PC will not stay shut down 56 133
Server backups 5 43
VMware Workstation Pro 12.5: "failed to initiate policy on cpu:" on boot 8 50
We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

777 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