Recover corrupt W2K boot code

ANALYSIS
When a Windows 2000 user gets an error message or a blinking cursor on startup, the usual suspects are a boot sector virus or corruption of the master boot record. But it's also possible the user has a damaged or deleted Ntldr file. Fortunately, problems with Ntldr are easy to diagnose and even easier to fix. Here, I'll show you how to use common troubleshooting tools, such as the manual repair option and Recovery Console, to handle Ntldr problems. Signs of a corrupted Ntldr
The signs of a corrupted Ntldr depend upon the location of the bad code in the file. By using a hex editor to overwrite portions of the file and copying the bad Ntldr to a virtual OS in VMware, you can test the results of tampering without danger to your main system. In some cases, you may see the bootstrap menu and be able to select an operating system to run, only to have the machine hang at the Starting Windows progress bar. In others, your system may freeze immediately after the CMOS power-up test. In either case, the file may be damaged in a way that prevents any error messages from being displayed. In some cases, you may still be able to boot directly into the Recovery Console, if it's installed. Mimicking a corrupt Ntldr
Other computer problems can look like a missing or corrupt Ntldr. For instance, if your machine is configured with an NTFS file system and the computer hangs during startup, it could be a symptom of a fragmented system hive. This problem was fixed in a later version of Ntldr included in Service Pack 2 (as of this writing, the latest version is Service Pack 3, released Aug. 1, 2002). If you haven't yet installed this Service Pack, I recommend that you do so. There's a workaround for this problem, given in Microsoft Knowledge Base article 265509:
  1. Start the Recovery Console.
  2. Change to the \Winnt\System32\Config directory.
  3. Type rename system system.org.
  4. Type copy system.org system.
  5. Exit.
Copying the file to its original name creates a new, unfragmented (or nearly unfragmented) file. Though Microsoft doesn't spell this out, you can erase system.org after you boot back in to Windows 2000. Here are some other possible startup problems that can mimic Ntldr problems, and their fixes: Tools for fixing Ntldr problems
If all signs point to Ntldr as the culprit (Figure A), you can use the Windows 2000 Recovery Console or the manual repair option to fix the problem.
Figure A
Your first clue to Ntldr problems will be an error message at bootup.
Insert your Windows 2000 CD into the machine and boot from the CD. After the message "Setup is inspecting your computer's hardware configuration," the Windows 2000 Setup screen will appear. When Windows Setup is finished copying the necessary files, you'll see a menu allowing you to set up Windows 2000, repair a Windows 2000 installation, or quit (Figure B). Choose R to repair a Windows 2000 installation.
Figure B
Boot from the Windows 2000 CD and choose the repair option.
Why not use an installed Recovery Console?
As you know, you can install the Recovery Console so that it appears at boot time. You may be wondering why I don't advise booting into the Recovery Console from the bootstrap menu. Well, it's because many problems that are associated with Ntldr prevent the bootstrap menu from appearing. Therefore, you can't get to the Recovery Console, because a failed Ntldr prevents the bootstrap menu from appearing.

Talkback

This article is very good e objective. Thanks Michael.

via Facebook 3 July, 2004 16:14
Reply

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

45283

I think WinRT is fantastic. I just wish it was an option for people that didn't want to go through Microsoft's App Store with its attendant...

2 hours ago by 45283 on Why Windows 8 needs architectural hygiene for WOA
Burn-IT

Nine people? £30m? Who's back pocket is that lot going in? And IF they say it is for new buildings, what about all the ones the government has...

3 hours ago by Burn-IT on Police set to launch three £30m e-crime hubs
ewallace

Just to be clear, nobody knows what is in the text of ACTA, here is a photograph of the text of ACTA http://twitpic.com/8h9iju as submitted to the...

3 hours ago by ewallace on ACTA: Facts, misconceptions and questions
fgvrg56

Unfortunately main issue is that ASUS is refusing to accept that they make some mistake on this version of asus Transformer prime. 1 - GPS sensor...

5 hours ago by fgvrg56 on Asus Eee Pad Transformer Prime Wi-Fi & GPS problems?
Ben Woods

@Marcus A fair question. Just talked with Archos which said it was working on an announcement for next week....

6 hours ago by Ben Woods on Archos confirms G9 Ice Cream Sandwich update schedule
Marcus Karlsson

Any update on this, considering the claimed "first week of February"?

7 hours ago by Marcus Karlsson via Facebook on Archos confirms G9 Ice Cream Sandwich update schedule
apexwm

Bill Goodrich : Just as al_langevin pointed out, with Windows Server 2008 there is no Services for Macintosh anymore. It's gone, not available....

15 hours ago by apexwm on Windows Server 2008 drops the ball for Mac compatibility
txtrainguy

Replying to an old topic that I'm currently facing with my CEO (who is on a Mac). Our servers are primarily Windows Servers, office is about...

22 hours ago by txtrainguy on Windows Server 2008 drops the ball for Mac compatibility
k0tcs3

Sure, that makes perfect sense. Pay wrong-doers money and thank them for breaching your security and pointing out your flaws, that would surely...

22 hours ago by k0tcs3 on US indicts Romanian over NASA climate change hack
Random_Error

I think he's referring specifically to Android apps, as Apple do regulate their App Store, but Google seem to let any old crap onto the Android store!

22 hours ago by Random_Error on RIM: BlackBerry will keep 'garbage' apps out of store
Paul Fezziwig

Keep the crap apps out?! How will they compete with Android and Apple's claim to fame of having so many life changing apps? I wonder if the media...

1 day ago by Paul Fezziwig via Facebook on RIM: BlackBerry will keep 'garbage' apps out of store
Aigars Mahinovs

It has been shown time after time that if there is an author store that sells the songs at even 1$ per song and gives you a high-quality digital...

1 day ago by Aigars Mahinovs via Facebook on Copyright isn't working, says European Commission
awbMaven

""As a result of Butyka's alleged conduct, researchers were unable to use the computers for more than two months while NASA removed the malicious...

1 day ago by awbMaven on US indicts Romanian over NASA climate change hack
subhorup

It simultaneously worries me and uplifts me that a self-proclaimed group of internet activists name themselves after Indian mythical figures....

2 days ago by subhorup on Anonymous activists release PCAnywhere source code
naviathan

It's actually far easier to work anonymously on the internet than you think. With tools like Tor bouncing your traffic around the world before...

2 days ago by naviathan on Anonymous activists release PCAnywhere source code
Agnostic_OS

1000272134 and bluedalmatian with you both there but then I'm still in 10.04 land (and happy with it)

2 days ago by Agnostic_OS on Ten factors that make Ubuntu 11.10 a hit
apexwm

Interesting article and definitely see your points on the products mentioned. One of the top products for our Help Desk (approximately 20% of all...

2 days ago by apexwm on Ten flawed products that derail productivity
Paul Hutchinson

Absolutely - this should obviously not be handled my isp - but handled by their hosting operator. What's been suggested here is that my isp police...

2 days ago by Paul Hutchinson via Facebook on MPs urge ISPs to take down terrorist material
Techs UK

Looks like a great phone. I don't notice any deficiencies in WP7. used IOS before, that's pretty good. I don't spend much time in Apps, all i need...

2 days ago by Techs UK on Nokia pins US 're-entry' hopes on Lumia 900
Larry Bloggy

Now with the help of these apps you are always synced with MS outlook while on the move. Just download apps like xobni or outlookreflex and get...

2 days ago by Larry Bloggy via Facebook on Outlook Social Connector beta 2 and the LinkedIn connector