Question

Corrupt Boot sectors / incorrect MBR - xp will not boot

Asked by: pnpcs

hello all, new member and my first post - i've been struggling with this for weeks and now i'm turning to you for some help! basically I have a thinkpad t60 that will not boot.
Initially I got the black screen with an error "error loading operating system"
i think the computers main C partition was NTFS(55gb) and a second "recovery partition" FAT32(5gb).

If i plug the drive into a working computer - the main partition is displayed as unformatted.

I would very much like to get my files off this partition.

i tried a program called TESTDISK....the Analysis lists the first partition [NTFS] twice which which according to the testdisk wiki "points to a corrupted partition or an invalid partition table entry"
It also lists a second partition [FAT32] (the factory installed IBM recovery partition).

after being advised to run FIXBOOT and FIXMBR via the recovery console - I did so - and now when i attempt to boot i get black screen & the message "missing NTLDR"

in addition to that change - i now get different results from a TESTDISK scan....

it no longer shows the NTFS partition - but a new (and way too small) FAT12 partition and the "recovery partition"

can anyone help?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-05-13 at 11:13:57ID24405909
Tags

mbr

,

boot sector

,

testdisk

,

recovery console

,

fixboot

,

fixmbr

,

partition table geometry

,

error loading operating system

,

NTLDR

Topics

Windows XP Operating System

,

Disaster Recovery

Participating Experts
2
Points
500
Comments
24

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. mbr qn
    i'm writing an mbr for i86 pcs in assembler... 1) is all memory aside from that taken up by the bios/rom available for use? 2) is only 1 sector off the active partition read into 0:7c00? 3) does the boot record have any expectations on register values when loading? (by boo...
  2. MBR
    My computer will not boot into WINME where my very important files are stored - I am dual booting with winme primary disk and where part info is written and a seperate hard drive for WIN 2000 - know it comes up boot options of Windows Me and WIN 2000 - how can i get this off ...
  3. Erasing MBR
    I have installed a software utility that has created a small disk partition for its own purposes. Moreover, when I use FDISK, FDISK fails to show the new small partition and thus I cannot romove it. That is problem #1. Problem #2 is that I have reformatted my disk and reinsta...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: flubbsterPosted on 2009-05-13 at 11:25:48ID: 24378002

I see you tried fixboot and fixmbr through recovery console. I would do all that again, but follow the steps here in the order listed pls.


Execute the following commands:

chkdsk /r  (will take a while to check the drive)
fixboot  (repairs the boot sector if damaged)
fixmbr ( repairs the master boot record if damaged)

attrib -h c:\ntldr
attrib -s c:\ntldr
attrib -r c:\ntldr

attrib -h c:\ntdetect.com
attrib -s c:\ntdetect.com
attrib -r c:\ntdetect.com

This step assumes that the CD is device "D". If not, use the proper drive letter. You can look at the mapped drives by typing "map" (without quotes) and hitting enter.

copy d:\i386\ntldr c:\ntldr
reply "Y" to overwrite
copy d:\i386\ntdetect.com c:\ntdetect.com
reply "Y" to overwrite

attrib +h c:\ntdetect.com
attrib +s c:\ntdetect.com
attrib +r c:\ntdetect.com

attrib +r c:\ntldr
attrib +h c:\ntldr
attrib +s c:\ntldr

exit recovery console and reboot.

 

by: pnpcsPosted on 2009-05-13 at 12:08:59ID: 24378466

finally looks like i've reached someone who knows what they're talking about:) Thanks for your quick reply.

I will try the steps you've outlined and report back soon - Thanks...

 

by: pnpcsPosted on 2009-05-13 at 13:48:32ID: 24379508

before I continue I should say that the Recovery Console is only giving me one option for the question: "which Windows installation would you like to log onto:"

that option is: 1: "D:\minint"

This appears to be the ThinkPad's "recovery partition"

presumably the choice I want to show up here is C:....

should I just choose D: and go ahead with your suggestion?

please advise, thank you!

 

by: flubbsterPosted on 2009-05-13 at 14:57:44ID: 24380107

You can try, but I am not sure if you will be able to access drive C.

First step will be chkdsk c: /r

If that works, then continue. If it says "C not found", then forget it. You need access to the C drive. You could try connecting it as an external drive on another pc and then running chkdsk. In place of C, use whatever drive letter it is.

Try to use the recovery console several times. Sometimes, it will eventually see the proper drive and finish the recovery console boot to C.

 

by: pnpcsPosted on 2009-05-13 at 16:10:45ID: 24380512

Okay, will try and post the result first thing in the morning!
Thanks again....

 

by: pnpcsPosted on 2009-05-14 at 01:58:02ID: 24382824

hi flubbster - here is the result of chkdsk c: /r

"The volume serial number is 0000-0000

The volume appears to contain one or more unrecoverable problems.
10344 kilobytes total disk space.
0 kilobytes are available.

4096 bytes in each allocation unit.
2586 total allocation units on disk.
0 allocation units available on disk.

D:\minint>"

It does appear to have somehow recognized C - but the size seems incorrect... shall I continue on with the rest of the commands?

 

by: NaturaTekPosted on 2009-05-14 at 03:01:20ID: 24383160

I would be safe and pull the files off quickly as possible. Connect drive to a sata/ide to usb adapter, connect to a different working xp machine..pull data off. When you are having partition table errors, they get ugly. Preserve your data then attempt fixes. My opinion, take data off, delete the partition, recreate it, reformat, reinstall. I would run the drive's manufacturer low level format utility to rule out drive errors.

If you attempted to connect to another pc and just cant see any files, perhaps the progress so far crosslinked/corrupted partitions. Connect to a XP machine and use software like winternals disk commander, getdataback, etc, to find the data and pull it off.

There are nice utilities like http://findandmount.com/ but I advise with any tinkering until your data is off. Darn data is irreplaceable, everything else is.

I would verify the correct settings for your hard drive in bios, a client once changed it from automatic to some random manual settings that just screwed up the drive.

 

by: pnpcsPosted on 2009-05-14 at 03:57:24ID: 24383473

Hi NaturaTek, thanks for your feedback - my single goal here is to get my data back :)!
I have already tried the software you've suggested (winternals disk commander, getdataback) plus a few more. all of them can see the file structure of my useless 5gb "recovery partition" but not the file structure of the main NTFS C partition (55gb).
they almost always do correctly identify the size and it's mere existence though.

my belief is that once the partition geometry / boot sector / MBR are corrected I will be fine....

I have reset BIOS to the default.

the FindandMount utility you've suggested looks like it might be worth a shot....

 

by: NaturaTekPosted on 2009-05-14 at 04:22:44ID: 24383622

I hear you. Data is our life. There are tons of utilities out there to help you. You said you tried winternals, getdataback and more? I always had successes with them, I let the scan the drive RAW and it takes hours, depending on size. Once done, you should see a menu on left showing you files/directories. Theres a boot CD out there with nice recovery programs on it, but I can't post name, since a post I mentioned it,  and it was edited with a warning to me.
Other is http://www.partition-recovery.com/
http://www.devhood.com/Tools/tool_details.aspx?tool_id=749
http://www.diydatarecovery.nl/mbrtool.htm
http://www.diydatarecovery.nl/dp_manual/guide_ptrepair.htm
many more out there.

A handful of possibilities may have caused your issue. Spyware/virus, installation of 3rd party boot loader, corruption, even physical defects on the drive (the worst one) can cause issues.

If the data is extremely important and you have good budget, I go with drivesavers.com

 

by: pnpcsPosted on 2009-05-14 at 04:28:43ID: 24383650

hmm.. maybe I did not choose the RAW method..

Which utility do you suggest I use the RAW scan with?

I have the boot CD of which you speak.

 

by: NaturaTekPosted on 2009-05-14 at 06:13:05ID: 24384523

Ontrack has the RAW mode..in getdataback, choose 'systematic file damage'. I would do a quick scan with each or any..see if you can see the directories, if not, a more thorough scan.

 

by: pnpcsPosted on 2009-05-14 at 06:43:00ID: 24384869

i'll give Ontrack a shot in RAW mode. I've done quick scans with all of them - no directories for C:

Thanks - I will report back...

 

by: pnpcsPosted on 2009-05-14 at 14:02:16ID: 24389752

It did not take *that* long for Ontrack to do the RAW scan - but now it's doing something called "building tree" and it's been  h o u r s. . .  it's a 55gb partition - how long should I wait until i assume it's just "stuck"?
leave it overnight?

 

by: NaturaTekPosted on 2009-05-14 at 20:32:51ID: 24392027

I would just leave it alone
http://support.ontrack.com/cgi-bin/ontrack.cfg/php/enduser/std_adp.php?p_faqid=1006&p_created=1113489943&p_sid=h1JKxQxj&p_accessibility=0&p_redirect=&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MTcsMTcmcF9wcm9kcz00NCZwX2NhdHM9MCZwX3B2PTEuNDQmcF9jdj0mcF9wYWdlPTEmcF9zZWFyY2hfdGV4dD1yYXcgcmVjb3Zlcnk*&p_li=&p_topview=1

Perhaps your drive developed a bad sector or more. If a few bad sectors landed right on the mbr or partition table, this also could screw things up entirely.

Raw recovery goes thru everything. It can take up to 2days. It may even get locked up. You'll kinda know if the operation froze up, but for the most part, leave it alone if you see any activity.

After the raw recovery, you'll see thousands of entries. Then becomes the tedious task of finding what you need. Me, I would just search for *.docx, *.doc, *.jpg, *.mp3 or file extensions of what you need. If it gives you the option of saving the recovery do so to another drive/location.

Its always good to have a extra machine to do recovery work at your home lab.

 

by: NaturaTekPosted on 2009-05-14 at 20:48:51ID: 24392116

I think your hard drive might just be failing. Couldnt tell you for sure.
I would stick it out for 2 days max on the raw recovery, if you do not see anything budge, consider it locked up.

If you are doing this work on your personal machine, maybe take it to a diff computer in your home where it could work untouched for a couple of days.
If frozen, I would restart another scan, go thru some of scan options in the Ontrack menu. Maybe attempt the raw recovery scan again but see if you can scan for specific files. If so, do a scan with just the option of *.doc, just to see how far it gets.

Testdisk http://www.cgsecurity.org/wiki/TestDisk is also on that 'cd'. It can help rebuild the master partition table from a mirror and other tasks. However if your drive is indeed bad sectored some where or other increasing defect, all the working and software in the world won't do anything. The only you can do on your own is data recovery and pull off what you can, it's time consuming depending on your equipment and how bad the drive is.

Getdataback and ontrack or top 2 choices and both have good scan options. Getdataback took nearly 16 hours on a scan, which the drive itself had many bad sectors. Fortunately none of the important data resided in the bad sectors and able to pull it all off. But it was a task.

This might be a reason data recovery can be up to 3,000$  

If it was a clicking sound or the drive cant spin up/start, no matter, you wont be able to do anything. Hardware recovery is what you need. Driversavers is reputable. What they do is find an identical drive and remove your platters and place it in the working one. If the logic board is bad, they replace that. Or they could simply remove your platters and place it on their machine that slowly reads  thru everything.

Give it a couple more shots with ontrack/getdataback, redo the scan if frozen, try systematic file scan in getdataback. Retry ontrack with wild card search.

 

by: flubbsterPosted on 2009-05-15 at 04:30:55ID: 24394265

Once you reach the point where you believe you have all the data you want.... or can get, play a bit. Download Testdisk and try using it to repair the drive.

http://www.cgsecurity.org/wiki/TestDisk

Also, GParted is a great Linux-based program that allow mou8nting, unmounting, converting, sizing, etc of partitions. It can be used to reapir and re-allocate ntfs partitions.

http://gparted-livecd.tuxfamily.org/

 

by: pnpcsPosted on 2009-05-15 at 04:59:11ID: 24394481

Hi flubbster,

i am running thru some of the very lengthy scans to see if they return anything useful - afterwards, depending on the results I intend to follow your first advice with the seris of commands via Recovery Console. Or do you suggest Testdisk after the file scan attempts?

Thanks for your help - I am still optimistic

 

by: flubbsterPosted on 2009-05-15 at 05:04:34ID: 24394517

If you can boot to the recovery console such that C is at least recognized, I would definitely try the commands I initially posted. meanwhile, take a look at the links I just posted so that you can get familiar with the programs. Perhaps even go ahead and download and create the CD's where needed.

 

by: pnpcsPosted on 2009-05-15 at 08:19:29ID: 24396710

hi flubbster - the only option i get in Recovery Console is D:\minint
does this mean I should not try the commands you first posted?
I do have bootable CD's for both testdisk and gparted.

what's your suggested course of action?

 

by: NaturaTekPosted on 2009-05-15 at 08:39:34ID: 24396957

pnpcs,

Like I previously mentioned, if your drive is corrupt, partition table..You wont be able to see anything at all from recovery console. The only thing you can try from there is fixmbr.
If you connect the drive to another pc, you cant even see your c drive correct? Just the d. You also tried connecting the drive to another pc to see ifyou can pull your data and C doesnt show? The C partition is what's corrupted, fixmbr it's the only thing you can do from recovery console to help you at this moment, but I think you've tried that. You can run chkdsk, but that is only going to do the D drive thats intact. You can't chkdsk C if the partition table/mbr is corrupted not even displaying it.

The testdisk link is in my previous post. See if it can replace the MFT from a mirror. Allow it to rewrite a standard mbr code. If your drive is affected by bad sectors, any partition/mbr work is a gamble. The best thing to do is run recovery software to see if you can recover anything. Testdisk, partitionrecovery, fixmbr are a few of standard tools that remedy most issues. Try running the manufacturers drive tool (included in that cd) and let it run a full scan to detect errors. Assume your drive is in error state at this point. What matters is taking the data off.

Wish I could be of more help.

 

by: pnpcsPosted on 2009-05-15 at 13:27:02ID: 24399409

hi NaturaTek

actually - i DO see the C partition when I connect it to another computer - sometimes it is labeled as E: with 2 partitions (both with the correct sizes). I can even see it in my Macbook's Disk Utility...

but i can only browse the file structure of the small ibm "recovery partition" - when i click on the main one inside of a working windows computer - it tells me it is "unformatted" and asks if i want to format it... (i don't!)

 

by: NaturaTekPosted on 2009-05-15 at 15:45:29ID: 24400301

You can see it on another pc? Something is corrupted. I would work from that pc to the drive, tried the testdisk, here are examples http://www.cgsecurity.org/wiki/Data_Recovery_Examples

On that cd you should also see Diskpatch, http://www.diydatarecovery.nl/DiskPatch.htm  read what it does (actually I just confirmed it, its on cd)

Run that utility.
Read thru these
http://www.diydatarecovery.nl/dp_manual/default.htm
http://www.diydatarecovery.nl/dp_manual/ptable_repair.htm
http://www.diydatarecovery.nl/dp_manual/bs_repair.htm
http://www.diydatarecovery.nl/dp_manual/guide_ptrepair.htm
http://www.diydatarecovery.nl/dp_manual/guide_mbrrefresh.htm
http://www.diydatarecovery.nl/dp_manual/guide_surfacescan.htm

Your problem lies in Corrupt boot sector, Corrupt partition or corrupt MFT. Do a scan and log it with diskpatch and post the log here. Again, if corruption is due to a bad sector recovery is tricky. I still say scan with getdataback, and pull off what you can. It's just time consuming.

 

by: pnpcsPosted on 2009-05-16 at 03:26:12ID: 24401981

those are the best 2 utilities I've seen. hanks. I will do the reading and let you know & post the log files....

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...