The PC

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, October 5, 2009

Windows Won't Boot!

Posted on 2:52 PM by Unknown
If you are trying to boot to Windows NT, 2000, or XP and receive any of the following errors:

Windows could not start because the following file is missing or corrupt:
\WINDOWS\SYSTEM32\CONFIG\SYSTEM


Windows NT could not start because the below file is missing or corrupt:
X:\WINNT\System32\Ntoskrnl.exe


Windows NT could not start because the below file is missing or corrupt:
X:\WINNT\System32\HAL.dll


NTLDR is Missing
Press any key to restart


Invalid boot.ini
Press any key to restart


Your boot.ini file is missing, corrupted, or has errors in it. The boot.ini file contains a list of the operating systems installed on the hard drive and the boot options associated with those operating systems.

To repair the boot.ini file and get Windows booting again, you must use the Recovery Console. The Recovery Console allows users to perform tasks, using a command line interface(CLI), that will allow Windows to boot again. More on the Recovery Console here.

To use the Recovery Console from an install disk, make sure that your PC is configured to boot to your optical drive(that is a CD or DVD drive) and boot to the install disk.

After Windows Setup has finshed loading, you will be presented with a menu like the following:

This portion of the Setup program prepares Microsoft(R)
Windows(R) XP to run on your computer.
  • To set up Windows XP now, press ENTER
  • To repair a Windows XP installation using Recovery Console, press R
  • To quit Setup without installing Windows XP, press F3

Of course, we want to press 'R' and use the Recovery Console.

Next you will be given a menu asking you to choose which Windows installation to log onto. Enter the number corosponding to the installation that needs to be repaired and press enter. Unless you have more than one operating system installed on your hard drive, you will only be presented with one option.

Now enter the Adminstrator password. If there isn't one, just press enter.

Now type 'cd ..' This will change directories to the root directory.

Next we need to delete the boot.ini file. To do so, the hidden, read only, and system file attributes must be removed. Enter the following commands:

C:\>attrib –h boot.ini
C:\>attrib –r boot.ini
C:\>attrib –s boot.ini

Now we can delete it

C:\>del boot.ini

Next we will use the bootcfg command. We will be using it to rebuild the bad boot.ini file that we just deleted. Read more about bootcfg here.

Enter the following command:

C:\>bootcfg /rebuild

After a few moments, you will see see a list of questions. The anwsers to these questions has been included:

Add installation to boot list? (Yes/No/All): Y
Enter Load Identifier: Microsoft Windows XP Professional Edition
Enter OS Load Options: /fastdetect /noexecute=optin

Obviously, the load identifier will change depending on which operating system you are working with. For further reading on the /fastdetect option. For more on /noexecute=optin

Your boot.ini file became corrupted somehow. Therefore, you should run the chkdsk utility to repair any errors on the harddrive. Please understand that this can take quite a while if you have a large hard drive or if you have a lot of errors. Enter the command:

C:\>chkdsk /r

Next enter the command:

C:\>fixboot

fixboot writes a new boot sector to the system partition.

That's all. We're done. You can now reboot by typing exit.

If Windows still won't boot, you will have to do a repair installation. More on that in an upcoming post.

Email ThisBlogThis!Share to XShare to Facebook
Posted in 2000, Boot Problems, NT, Recovery Console, Windows, XP | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • 30 Years in Review: My Experience With The History of Violence in Video Games
    For as long as I can remember playing video games, there has always been violence, whether it be inconsequential or direct, or merely abstra...
  • The Dark Knight Rises: A Worthy and Satisfying Conclusion
    I've  seen a lot of movies based on comic books over the years, and I've learned to spot the good stuff from the crap pretty easily....
  • Protecting Your PC From Malicious Software
    New threats are unleashed upon the internet each day. In this article, threats or malicious software (or malware) refer to a computer virus,...
  • Why Windows 8 Will Fail, at Least In the Desktop Market...
    Well many of you are probably windows users, in fact estimates are that around 90% of all computers are running Microsoft Windows . Of that,...
  • The Right of The People To Not Be Shot: An Examination of The 2nd Amendment.
    "A well regulated militia, being necessary to the security of a free state, the right of the people to keep and bear arms, shall not be...
  • Ulcers, Ulcers, Ulcers, I Hate Them.
    As some of you know I have Crohn's disease . If you're interested in knowing what it is just click on that link. But rather than com...
  • Backup Windows Part 1 -- Backup and Restore
    A couple of days ago was National Backup Day. Okay, we are a little late. Plus, a quick Google search will reveal several National Backup Da...
  • Why I am an Atheist (part four)
    This is part four of this article, here you can find parts one , two and three . Part IV: The Elegant Universe When I was a boy, I ...
  • Some of The Strangest Things in The Universe
    I thought in honor of Halloween, I might blog a little bit about the strange but true. I figured it might be fun to discuss some of the wack...
  • Changing Forgotten Window's Passwords
    Often times a user will forget their Windows login password. Of course, often times that user will be using the sole administrator account o...

Categories

  • 0-day
  • 2000
  • ACTA
  • Add-ons
  • Adele
  • Alanis Morissette
  • Amy Lee
  • Anonymous
  • antitrust
  • anycast
  • art
  • assholes
  • atom
  • Avril Lavigne
  • backbone
  • Backup
  • Batman
  • Bill Maher
  • biology
  • bittorrent
  • blood
  • Boot Problems
  • botnet
  • browser
  • censorship
  • children
  • clone
  • comic
  • congress
  • conservative
  • constitution
  • consumer
  • copy protection
  • copyright
  • corporatocracy
  • crack
  • crohn's
  • data-mining
  • DDOS
  • democracy
  • disease
  • DMCA
  • DNA
  • DNS
  • documentary
  • DRM
  • emotion
  • evolution
  • Facebook
  • FBI
  • federal
  • female
  • film
  • firewall
  • FISA
  • freedom
  • galaxy
  • games
  • God
  • government
  • hacker
  • higgs boson
  • Homeland Security
  • homosexuality
  • intellectual property
  • interface
  • internet
  • Internet Explorer
  • intestines
  • ipad
  • ISO
  • ISP
  • Jewel
  • kernel
  • Keyboard
  • Keyboard Shortcuts
  • liberal
  • loss aversion
  • mac
  • male
  • Malware
  • MegaUpload
  • meme
  • metro
  • microsoft
  • movie
  • MPAA
  • nature
  • NT
  • Office
  • open source
  • OS
  • oscdimg
  • Outlook
  • pain
  • particle
  • passwords
  • patent
  • PIPA
  • piracy
  • Poe
  • poetry
  • President
  • Printers
  • privacy
  • programming
  • progress
  • public domain
  • quantum mechanics
  • Recovery Console
  • red flag
  • religion
  • remix
  • replication
  • reproduction
  • RIAA
  • ribbon
  • rootkit
  • script
  • security
  • sex
  • singer
  • software
  • songwriter
  • SOPA
  • spore
  • spyware
  • star
  • supernova
  • Supreme Court
  • the big bang
  • tracking
  • trojan horse
  • tyranny
  • UBCD
  • ulcer
  • unintuitive
  • universe
  • upgrade
  • USB
  • violence
  • Virus
  • Vista
  • VPN
  • wars
  • White House
  • Windows
  • Windows 7
  • wiretapping
  • women
  • xcopy
  • xerox
  • XP

Blog Archive

  • ►  2013 (8)
    • ►  October (1)
    • ►  August (1)
    • ►  May (2)
    • ►  March (1)
    • ►  February (1)
    • ►  January (2)
  • ►  2012 (42)
    • ►  December (2)
    • ►  November (4)
    • ►  October (2)
    • ►  September (2)
    • ►  July (3)
    • ►  June (4)
    • ►  May (4)
    • ►  April (4)
    • ►  March (7)
    • ►  February (10)
  • ►  2011 (7)
    • ►  April (4)
    • ►  March (3)
  • ►  2010 (3)
    • ►  July (2)
    • ►  June (1)
  • ▼  2009 (5)
    • ►  November (1)
    • ▼  October (4)
      • Windows Keyboard Shortcuts
      • Windows Won't Boot!
      • Missing 'Safely Remove Hardware' Icon
      • Keyboard Skipping in Internet Explorer
Powered by Blogger.

About Me

Unknown
View my complete profile