Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Tech Tips & Tricks
Tag Cloud
access audio blue screen boot bsod connection crash dell desktop driver dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor ram recovery registry cleaner router safe mode slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > General Technology > Tech Tips & Tricks >
Tip: Rebuilding XP

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
lotuseclat79's Avatar
Distinguished Member with 14,988 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
01-May-2006, 01:23 PM #1
Tip: Rebuilding XP
The Windows Self-Destruct Button
Ref: http://tech.yahoo.com/bp;_ylt=AowSQV...l&blogpost=115

Using the Windows "Rebuild" command to give your PC a new lease on life:
The simple, streamlined instructions:

* Boot from your XP Setup CD and enter the Recovery Console
* Run "Attrib -H -R -S" on the C:\Boot.ini file
* Delete the C:\Boot.ini file
* Run "Bootcfg /Rebuild"
* Run Fixboot

Langa also offers a more detailed instruction that shows you, literally button by button, what to press to make sure your computer gets rebuilt properly. It's a great step by step explanation of something that can be a little frightening and daunting at first.

Ref: http://www.informationweek.com/story...leID=185301251

-- Tom

P.S. I recommend reading the full article before attempting to rebuild XP.
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein
JohnWill's Avatar
Computer Specs
Moderator with 96,701 posts.
 
Join Date: Oct 2002
Location: South Eastern PA, USA
Experience: Advanced age & experience
01-May-2006, 06:34 PM #2
Interesting article, I'm sure it won't be too long before the opportunity to test this comes along.
lotuseclat79's Avatar
Distinguished Member with 14,988 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
06-Sep-2006, 10:24 AM #3
Quote:
Originally Posted by lotuseclat79
The Windows Self-Destruct Button
Ref: http://tech.yahoo.com/bp;_ylt=AowSQV...l&blogpost=115

Using the Windows "Rebuild" command to give your PC a new lease on life:
The simple, streamlined instructions:

* Boot from your XP Setup CD and enter the Recovery Console
* Run "Attrib -H -R -S" on the C:\Boot.ini file
* Delete the C:\Boot.ini file
* Run "Bootcfg /Rebuild"
* Run Fixboot

Langa also offers a more detailed instruction that shows you, literally button by button, what to press to make sure your computer gets rebuilt properly. It's a great step by step explanation of something that can be a little frightening and daunting at first.

Ref: http://www.informationweek.com/story...leID=185301251

-- Tom

P.S. I recommend reading the full article before attempting to rebuild XP.
Here is a gotcha in the above scheme of using the attrib command from the Recovery Console, i.e.:

* Boot from your XP Setup CD and enter the Recovery Console
* Run "Attrib -H -R -S" on the C:\Boot.ini file
* Delete the C:\Boot.ini file
* Run "Bootcfg /Rebuild"
* Run Fixboot

First, I was unable to issue the attrib command as described above, however,
when I issued it with each parameter in a separate attrib command, then it worked, as in:
* Run "Attrib -H" on the C:\Boot.ini file
* Run "Attrib -R" on the C:\Boot.ini file
* Run "Attrib -S" on the C:\Boot.ini file

Next, if you are able to run the chkdsk c: /r command and it does not report that it fixed or repaired something, you should then attempt to issue the
* Run "bootcfg /scan" or "bootcfg /list" to see if it works and before running the delete command on the c:\boot.ini file which is NOT advised. If the bootcfg command works then it is advised that it is safer to rename the boot.ini file to boot.ini.orig rather than to delete it.

If you get a report back that the bootcfg command is unable to work, probably due to a corrupted file system (although chkdsk c: /r may have worked and did not report any repairs) then it will not be able to work if the /add or /rebuild parameters are issued.

The caveat of not deleting the c:\boot.ini file can help (only if you do not have a corrupted file system) you if you have access to a Linux version with NTFS read/write support from a kernel 2.6.14 or later. However, the NTFS support (i.e. kernel driver) is only for writing an existing file of the same size, so you can modify it, but not make it larger - according to my current understanding.

There is a freely available NTFS read/write facility named Captive which could probably help (have not tried it) at:
http://www.jankratochvil.net/project/captive/
As opposed to other projects this is currently the only software supporting the full read/write access including the possibility to create/delete files, modify directories etc.

If you delete the c:\boot.ini file and your file system is corrupted even though chkdsk completes without repairs, the command: bootcfg /rebuild will not work and it will tell you it is probable a file system corruption causing the problem.

The best you can hope for is then to attempt to do an XP Repair Install and hope it works to correct a corrupted file system, if present. If it works, you should be able to boot up the repaired system. However, I do not know at this point whether running an XP Repair Install over a corrupted file system will repair it and be able to successfully boot up.

If not, you may be able to mount the volume and save your data files before attempting a full clean installtion which will reformat the disk and install a clean version of XP.

-- Tom
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein
RedHelix's Avatar
Senior Member with 607 posts.
 
Join Date: Oct 2005
Location: Boston, Massachusetts
Experience: Sysadmin
11-Sep-2006, 10:46 AM #4
Interesting. I have a machine on the bench at work that's proclaiming it only has a partial XP install, but I can view the well-developed files and folders from a preinstallation environment. I was going to just nuke and reinstall, but I'll give this a try when I go in tomorrow.
gurutech's Avatar
Computer Specs
Distinguished Member with 2,313 posts.
 
Join Date: Apr 2004
Location: Central NJ
Experience: Seasoned Professional
15-Sep-2006, 05:34 PM #5
Why would you delete the BOOT.INI file after booting into recovery console? If you get the menu option to choose to boot into recovery console, then the problem isn't with the BOOT.INI file. It may just need to be edited, not deleted...
lotuseclat79's Avatar
Distinguished Member with 14,988 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
16-Sep-2006, 09:19 AM #6
Hi gurutech,

Only on advice from MS, because the instructions ultimately come from them, so, I suppose that they considered it necessary to generate a new one, and I would guess that their scheme to rebuild it required it to be deleted first (i.e. maybe a Recovery Console limitation on rewriting existing files).

Choosing to boot into the Recovery Console is only available if you have it already expressed in the boot.ini file, and getting into the Recovery Console is usually done with a CD when it is necessary (things are already flakey and need to be fixed somehow and other fixes did not work leaving the RC as the only alternative left standing). The only problem is that if the Registry has not been modified to give the RC commands more breadth of coverage, then it is just very liimited.

I agree with you that it should not be necessary to delete the boot.ini file, and I would instead rename it - so, you can always rename it back from the RC later if necessary.

-- Tom
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein
neos1's Avatar
Computer Specs
Senior Member with 370 posts.
 
Join Date: Feb 2006
Location: upper middle
Experience: Between Beginner and Intermediate
16-Sep-2006, 03:17 PM #7
Quoting LotusClat:
""Choosing to boot into the Recovery Console is only available if you have it already expressed in the boot.ini file, and getting into the Recovery Console is usually done with a CD when it is necessary (things are already flakey and need to be fixed somehow and other fixes did not work leaving the RC as the only alternative left standing).
The only problem is that if the Registry has not been modified to give the RC commands more breadth of coverage, then it is just very liimited.""


How is this accomplished?
__________________
"I know that most men, including those at ease with problems of the greatest complexity, can seldom accept even the simplest and most obvious truth, if it be such as would oblige them to admit the falsity of conclusions which they have delighted in explaining to colleagues, which they have proudly taught to others, and which they have woven thread by thread, into the fabric of their lives". Leo Tolstoy
lotuseclat79's Avatar
Distinguished Member with 14,988 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
16-Sep-2006, 07:21 PM #8
Hi neos1,

"How to make Recovery Console more useful"
http://forums.techguy.org/tech-tips-...y-console.html

-- Tom
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 04:38 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.