How to do a repair from bootup

A

Alan T

My XP SP2 has a serious problem:
It got hang a couple of times and I need to 'reset' it, now when it pass the
POST and prompt me the following file is corrupted, told me to press 'r' to
repair the system file using the original XP CD.

I boot from my XP cd and run the setup until came up to the selection
screen. I chose 'R' and got to the dos screen.
I have no idea how to do the repair in this dos screen.
 
C

Colin Barnhorst

You need to go past that to the second "R". The first is not what you want.
 
A

Alan T

So are you saying I should go to the 'XP install'? Then 'Repair' at some
point during the 'Installation'?

Just wonder if I choose 'Install' to the partition C, will it overwrite my
original Windows?
 
G

GreenieLeBrun

Alan said:
My XP SP2 has a serious problem:
It got hang a couple of times and I need to 'reset' it, now when it
pass the POST and prompt me the following file is corrupted, told me
to press 'r' to repair the system file using the original XP CD.

I boot from my XP cd and run the setup until came up to the selection
screen. I chose 'R' and got to the dos screen.
I have no idea how to do the repair in this dos screen.

How to perform an in-place upgrade (reinstallation) of Windows
http://support.microsoft.com/default.aspx?scid=kb;en-us;315341

How to Perform a Windows XP Repair Install
http://michaelstevenstech.com/XPrepairinstall.htm
 
U

Uncle Grumpy

Alan T said:
So are you saying I should go to the 'XP install'? Then 'Repair' at some
point during the 'Installation'?

Yup. It will ask you if you want to repair or to install.
 
P

Patrick Keenan

Alan T said:
My XP SP2 has a serious problem:
It got hang a couple of times and I need to 'reset' it, now when it pass
the
POST and prompt me the following file is corrupted, told me to press 'r'
to
repair the system file using the original XP CD.

What is the filename? One of these?

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

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

I boot from my XP cd and run the setup until came up to the selection
screen. I chose 'R' and got to the dos screen.
I have no idea how to do the repair in this dos screen.

You are apparently at the Recovery Console, and if the missing or damaged
file is one of the registry files, that is where you would follow the
directions here:
http://support.microsoft.com/kb/307545
or
http://www.kellys-korner-xp.com/xp_sys32.htm

HTH
-pk
 
A

Anna

Alan T said:
My XP SP2 has a serious problem:
It got hang a couple of times and I need to 'reset' it, now when it pass
the POST and prompt me the following file is corrupted, told me to press
'r' to repair the system file using the original XP CD.

I boot from my XP cd and run the setup until came up to the selection
screen. I chose 'R' and got to the dos screen.
I have no idea how to do the repair in this dos screen.


Colin Barnhorst said:
You need to go past that to the second "R". The first is not what you
want.


Alan T said:
So are you saying I should go to the 'XP install'? Then 'Repair' at some
point during the 'Installation'?

Just wonder if I choose 'Install' to the partition C, will it overwrite my
original Windows?


GreenieLeBrun said:
How to perform an in-place upgrade (reinstallation) of Windows
http://support.microsoft.com/default.aspx?scid=kb;en-us;315341

How to Perform a Windows XP Repair Install
http://michaelstevenstech.com/XPrepairinstall.htm


Alan T...
Hopefully the information you rec'd from the above responders has solved
your problem but just let me add a bit more info concerning the XP Repair
process as it pertains to your situation...

First of all, the following assumes that your problem lies with a corrupted
XP OS and no hardware-type issues are involved that are causing your
problem.

But before getting to the Repair install...
In your original post you stated that during the boot you get a message that
"the following file is corrupted". What "file" is that?

In any event, before you undertake a Repair install of the OS, try the
following...

Access the Recovery Console see -
http://support.microsoft.com/kb/314058
and enter the chkdsk /r command. Perhaps you'll be lucky and the chkdsk
repair process will correct any existing OS corruption to the point where
the drive will become bootable & functional once again.

Assuming the chkdsk command does not correct the problem, it probably would
be wise to run a Repair install of the XP OS. I assume you've never done
this before so here's some general info on the process...

Undertaking a Repair install of the OS is a relatively straightforward
process. It would be roughly akin to making a fresh install of the OS, but
in nearly every case your existing programs & user-created data would be
retained. Notice I said "nearly". While it would be a rather rare situation
where data would be lost or corrupted as a result of the Repair install
(even if the Repair install failed), and as unlikely as it may be, it
*could* happen. As a matter of fact it's not unheard of that further data
corruption could be caused by using the chkdsk command referred to above.
Again, it's a relatively rare event that a loss or corruption of data will
occur even when the chkdsk /r command or Repair install is unsuccessful, but
it *can* happen. So I want you to be aware of this.

There are a number of websites that contain step-by-step instructions for
undertaking a Repair install. Let me assure you that it's not a difficult
process and not terribly time-consuming. It's roughly similar to making a
fresh install of the XP OS. If you do a Google search on "XP repair
install", you'll be pointed to many of these sites. Here are a few more
besides the Michael Steven's site GreenieLeBrunone provided you with...
http://www.webtree.ca/windowsxp/repair_xp.htm
http://www.geekstogo.com/forum/index.php?showtopic=138
http://www.windowsreinstall.com/winxppro/installxpcdrepair/indexfullpage.htm

Assuming the chkdsk process or Repair install is successful (or you're able
to use some other process to get back your HDD to a bootable, functional
state), you should use your A-V program to immediately check out your PC for
any virus infestation. Also, you will need to download/install *all* the MS
critical updates since SP2 following a successful Repair install. (I'm
assuming that if you undertake this Repair install of the XP OS, you will be
doing so with a XP installation CD that contains SP2). That, of course, is
one of the downsides re undertaking a Repair install in that it's usually a
onerous task to download all the Critical Updates from MS especially if you
have a dialup phone connection rather than broadband.

Just one other thing...
It is conceivable that you're dealing with some hardware-type problem here
and not just a corruption of the OS. Where a hardware-type problem is the
culprit in cases like the one you describe, it's usually the HDD that's
defective although it's entirely possible some other major component of your
system may be at the root of the problem you're experiencing. In any event,
it's possible that you may be dealing with a defective HDD so it probably
would be wise at this point to check out the HDD with a HDD diagnostic
utility you can (usually) download from the website of the disk's
manufacturer. It's very easy to use - the downloaded program allows you to
create either as a bootable floppy disk or bootable CD containing the HDD
diagnostic program. So give that some consideration.
Anna
 
A

Alan T

Hi Anna,

Thanks for your detailed information/explanation on the recovery console
thing.
 
A

Alan T

What is the filename? One of these?

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

This is the one I got in the POST stage.
 
A

Alan T

Hi,

I have tried to rename the system file under
C:\WINDOWS\system32\config\system
as
C:\WINDOWS\system32\config\system.bak

and also copy the system file from repair directory to
C:\WINDOWS\system32\config\system

However, after I restarted XP, all the things go strange, the system file
from repair directory was dated July 2007, so that my XP has different
configurations. I cannot connect to internet, there is no connection
established under
'Network and Connection'. When the XP started up, the error came up 'Net
service is not installed...' something like that.

Is there a tool to repair my original system file?
C:\WINDOWS\system32\config\system

Because now I can boot up to XP and the original system file was renamed as
system.bak.
 
C

Colin Barnhorst

System File Checker.

Start>Run, type "command" and hit Enter. Then type

sfc /scannow

It may ask for your Windows cd. The cd has to be at the same service pack
level as the XP installed on the hard drive.
 
A

Alan T

Hi,

Should I overwrite the system file(from repair directory) with my original
c:\windows\system32\config\system
?

and then do the scan?
 
A

Alan T

Hi,

I don't have the second 'R'.
So I use the first 'R' to rename the original system file as system.bak.
And copy the system file from the 'repair' folder into
c:\windows\system32\config\system
 
C

Colin Barnhorst

The second R is several screens later. You keep going after the screen that
offers the Repair Console.
 
A

Alan T

Yes, I did not select the first 'R' but chose the install and past several
screen.
Then there was no second 'R' for another selection screen.

From one of the URL the other guys gave, it is possible there is no second
'R' but no way to solve.

 
D

Daave

Alan said:
This is the one I got in the POST stage.

I've been following this thread, Alan. It's a bit confusing, but I think
Patrick nailed it: you seem to have a corrupted registry. You need to
decide if you want to follow the directions from this page:

"How to recover from a corrupted registry that prevents Windows XP from
starting"
http://support.microsoft.com/kb/307545

*or* attempt a Repair Install. Some people are giving you directions for
the method using the Recovery Console (the first "R"). Others are giving
you directions for an actual Repair Install (a totally different
procedure; the second "R").

Hopefully, this page will clear up any confusion you currently have:

"How to Perform a Windows XP Repair Install"
http://www.michaelstevenstech.com/XPrepairinstall.htm

Scroll down to "XP Repair install." Note Step 3. This is the first "R"
everyone is referring to. This is for the Recovery Console. Since the
instructions on this page are for the Repair Install, you are instructed
to *NOT* choose the R at this point (and the R at this point is for you
to access the Recovery Console). Note Step 5. This is the second "R"
that everyone is talking about. And this second R is for the Repair
Install. If you don't see this option, then there is a problem, and you
are instructed to read Warning #2, which informs you that if you choose
to perform a Clean Install, it is extremely important that you save all
your data and settings. Furthermore, if you want to perform a Clean
Install, then you also need to have the installation files/media for all
your programs as well as all the drivers for your hardware.

So, if you never get the second R (for Repair Install) as an option and
you don't necessarily want to perform a Clean Install, you may want to
try the instructions from http://support.microsoft.com/kb/307545 so that
you may fix your registry using the Recovery Console.

I hope this post clears some things up for you!
 
A

Alan T

Thank you for your information.
Yes, I cannot find the second 'R' option, so I think as you said may need to
do a registry repair.

Questions:
1) If I copied the 'system' file from 'repair' directory into the 'config'
directory, does it harm to run the 'scannow' as suggested by one guru?

2) What actually the 'system' file does?

3) I think my XP always has a problem the boot problem from time to time.
This is the second time I installed my XP, my first installation happened
reboot problem from time to time and finally cannot be rebooted. And now it
seems the same problem.
Any idea why the registry get corrupted?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top