<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Your Tech Knowledge</title>
	<atom:link href="http://youritknowledge.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://youritknowledge.wordpress.com</link>
	<description></description>
	<lastBuildDate>Thu, 14 Aug 2008 05:48:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='youritknowledge.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Your Tech Knowledge</title>
		<link>http://youritknowledge.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://youritknowledge.wordpress.com/osd.xml" title="Your Tech Knowledge" />
	<atom:link rel='hub' href='http://youritknowledge.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How To Improve The Swap Performance On Your Linux Server</title>
		<link>http://youritknowledge.wordpress.com/2008/08/14/how-to-improve-the-swap-performance-on-your-linux-server/</link>
		<comments>http://youritknowledge.wordpress.com/2008/08/14/how-to-improve-the-swap-performance-on-your-linux-server/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 05:48:21 +0000</pubDate>
		<dc:creator>kur3n4in4i</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://youritknowledge.wordpress.com/?p=159</guid>
		<description><![CDATA[When you set up a brand new Linux server, do you create a single 128 MB swap partition? If so, did you know that you are severely limiting swap performance? Would you like to increase swap performance by several orders of magnitude, and to create swap partitions larger than 1 GB? It&#8217;s possible, requiring no [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritknowledge.wordpress.com&amp;blog=4355789&amp;post=159&amp;subd=youritknowledge&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When you set up a brand new Linux server, do you create a single 128 MB swap partition? If so, did you know that you are severely limiting swap performance? Would you like to increase swap performance by several orders of magnitude, and to create swap partitions larger than 1 GB? It&#8217;s possible, requiring no kernel patches or special hardware, just pure geek know-how!</p>
<p>Some of you may not really care about swap. After all, Linux systems are typically very memory efficient, and swap is often barely touched. While often true on desktop systems, servers are another story. Because servers may handle unexpected stresses, such as runaway processes, denial of service attacks, or even the Slashdot effect, they need to have adequate high-speed swap so that they do not grind to a halt and possibly crash when all physical memory (and then some) is exhausted.</p>
<p>Still not convinced that this is a big deal? I&#8217;ll show you how easy it is to bring down a server by launching a massive amount of new processes. (Please, if you try this, do it only on a non-production server that you actually administer!) Let&#8217;s say you have two customized grep commands in /usr/bin, called bobgrep and jimgrep. Now, let&#8217;s assume that bobgrep is simply a shell script that calls the ELF executable jimgrep, as follows:</p>
<table class="code-sample" border="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td>
<pre>#!/bin/bash
jimgrep -r $*</pre>
</td>
</tr>
</tbody>
</table>
<p>Everything looks good so far, but what happens if jimgrep gets accidentally replaced with a symbolic link to bobgrep? Well, in that case, calling bobgrep or jimgrep will cause an infinite loop, causing hundreds of bash processes to be spawned in mere seconds. This actually happened to me once, and believe me, it hurt!</p>
<p>If a server doesn&#8217;t have adequate swap, a situation like this can cause the machine to lock up in much less than a minute. How do we fix the problem? One way is to increase the swap size beyond 128 MB. Fortunately for us, there is absolutely no 128 MB limit on swap under Linux 2.2.x+ and later kernels, as there was in the past. The current limits are approximately 2 GB on x86, PowerPC, and MC680x0 systems, 512 MB on MIPS systems, 128 GB on Alpha, and a whopping 3 Terabytes on UltraSparc platforms!</p>
<p><strong>Swap partition size limits under modern Linux kernels</strong></p>
<table class="code-sample" border="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td>
<pre>x86		    2 Gigabytes
PowerPC		    2 Gigabytes
Motorola 680x0	    2 Gigabytes
Sparc		    1 Gigabyte
MIPS		    512 Megabytes
Alpha		    128 Gigabytes
UltraSparc	    3 Terabytes</pre>
</td>
</tr>
</tbody>
</table>
<p>While it&#8217;s nice to be able to increase swap partition size to beyond 128 MB, how about increasing performance? Ideally, it would be nice if we could set up swap partitions in a RAID 0 stripe, so that reads and writes are equally distributed between all partitions. If these partitions are on separate drives and/or controllers, this will multiply swap file performance, allowing your servers to handle temporary memory usage &#8220;spikes&#8221; without getting dramatically bogged down.</p>
<p>Amazingly, all modern Linux kernels, by default (with no special kernel options or patches) allow you to parallelize swap, just like a RAID 0 stripe. By using the pri option in /etc/fstab to set multiple swap partitions to the same priority, we tell Linux to use them in parallel:</p>
<p><strong>Set multiple swap partitions to the same priority</strong></p>
<table class="code-sample" border="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td>
<pre>/dev/sda2	none	swap	sw,pri=3	0	0
/dev/sdb2	none	swap	sw,pri=3	0	0
/dev/sdc2	none	swap	sw,pri=3	0	0
/dev/sdd2	none	swap	sw,pri=1	0	0</pre>
</td>
</tr>
</tbody>
</table>
<p>In the above example, Linux will use swap partitions sda2, sdb2, and sdc2 in parallel. Since these partitions are on different drives, and possibly even different SCSI controllers, read and write throughput will nearly triple. The fourth swap partition, sdd2, will be used only after the first three partitions have been exhausted.</p>
<p>The pri option is really easy to use. The priority must be a number between 0 and 32767, with 32767 being the highest priority. The swap partitions will be used from highest priority to lowest priority, meaning that a partition with a priority of x will only be used only if all partitions with a priority greater than x are already full. If several partitions have the same priority, Linux will automatically parallelize access between them. This allows you to not only parallelize swap, but also prioritize access so that the partitions on the fastest drives (or regions of the drives) are used first. So, you can set up an emergency swap partition on an old, slower drive that will be used only if all high-speed swap is exhausted first.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/youritknowledge.wordpress.com/159/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/youritknowledge.wordpress.com/159/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youritknowledge.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youritknowledge.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youritknowledge.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youritknowledge.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youritknowledge.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youritknowledge.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youritknowledge.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youritknowledge.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youritknowledge.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youritknowledge.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youritknowledge.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youritknowledge.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youritknowledge.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youritknowledge.wordpress.com/159/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritknowledge.wordpress.com&amp;blog=4355789&amp;post=159&amp;subd=youritknowledge&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://youritknowledge.wordpress.com/2008/08/14/how-to-improve-the-swap-performance-on-your-linux-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/685d42dd084bb682a421fdbf9dcd1d8d?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kur3n4in4i</media:title>
		</media:content>
	</item>
		<item>
		<title>10 things you can do when Windows XP won’t boot</title>
		<link>http://youritknowledge.wordpress.com/2008/08/06/10-things-you-can-do-when-windows-xp-won%e2%80%99t-boot/</link>
		<comments>http://youritknowledge.wordpress.com/2008/08/06/10-things-you-can-do-when-windows-xp-won%e2%80%99t-boot/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 01:51:31 +0000</pubDate>
		<dc:creator>kur3n4in4i</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://youritknowledge.wordpress.com/?p=154</guid>
		<description><![CDATA[When your computer hardware appears to power up okay, but the Windows XP operating system won’t boot properly, you have to begin a troubleshooting expedition that includes getting into the operating system, determining the problem, and then fixing it. To help you get started on this expedition, here are 10 things you can do when [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritknowledge.wordpress.com&amp;blog=4355789&amp;post=154&amp;subd=youritknowledge&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>When your computer hardware appears to power up okay, but the Windows XP operating system won’t boot properly, you have to begin a troubleshooting expedition that includes getting into the operating system, determining the problem, and then fixing it. To help you get started on this expedition, here are 10 things you can do when Windows XP won’t boot.<span id="more-154"></span></h2>
<h2>#1: Use a Windows startup disk</h2>
<p>One of the first things you should reach for when troubleshooting a Windows XP boot problem is a Windows startup disk. This floppy disk can come in handy if the problem is being caused when either the startup record for the active partition or the files that the operating system uses to start Windows have become corrupted.</p>
<p>To create a Windows startup disk, insert a floppy disk into the drive of a similarly configured, working Windows XP system, launch My Computer, right-click the floppy disk icon, and select the Format command from the context menu. When you see the Format dialog box, leave all the default settings as they are and click the Start button. Once the format operation is complete, close the Format dialog box to return to My Computer, double-click the drive C icon to access the root directory, and copy the following three files to the floppy disk:</p>
<ul class="unIndentedList">
<li> Boot.ini</li>
<li> NTLDR</li>
<li> Ntdetect.com</li>
</ul>
<p>After you create the Windows startup disk, insert it into the floppy drive on the afflicted system and press [Ctrl][Alt][Delete] to reboot the computer. When you boot from the Windows startup disk, the computer will bypass the active partition and boot files on the hard disk and attempt to start Windows XP normally.</p>
<h2>#2: Use Last Known Good Configuration</h2>
<p>You can also try to boot the operating system with the Last Known Good Configuration feature. This feature will allow you to undo any changes that caused problems in the <em>CurrentControlSet</em> registry key, which defines hardware and driver settings. The Last Known Good Configuration feature replaces the contents of the <em>CurrentControlSet</em> registry key with a backup copy that was last used to successfully start up the operating system.</p>
<p>To use the Last Known Good Configuration feature, first restart the computer by pressing [Ctrl][Alt][Delete]. When you see the message Please select the operating system to start or hear the single beep, press [F8] to display the Windows Advanced Options menu. Select the Last Known Good Configuration item from the menu and press [Enter].</p>
<p>Keep in mind that you get only one shot with the Last Known Good Configuration feature. In other words, if it fails to revive your Windows XP on the first attempt, the backup copy is also corrupt.</p>
<h2>#3: Use System Restore</h2>
<p>Another tool that might be helpful when Windows XP won’t boot is System Restore. System Restore runs in the background as a service and continually monitors system-critical components for changes. When it detects an impending change, System Restore immediately makes backup copies, called restore points, of these critical components before the change occurs. In addition, System Restore is configured by default to create restore points every 24 hours.</p>
<p>To use System Restore, first restart the computer by pressing [Ctrl][Alt][Delete]. When you see the message Please select the operating system to start or hear the single beep, press [F8] to display the Windows Advanced Options menu. Now, select the Safe Mode item from the menu and press [Enter].</p>
<p>Once Windows XP boots into Safe mode, click the Start button, access the All Programs | Accessories | System Tools menu, and select System Restore. Because you’re running in Safe mode, the only option on the opening screen of the System Restore wizard is Restore My Computer To An Earlier Time, and it’s selected by default, so just click Next. Then, follow along with the wizard to select a restore point and begin the restoration procedure.</p>
<h2>#4: Use Recovery Console</h2>
<p>When a Windows XP boot problem is severe, you’ll need to use a more drastic approach. The Windows XP CD is bootable and will provide you with access to a tool called Recovery Console.</p>
<p>To boot from the Windows XP CD, insert it into the CD-ROM drive on the problem system and press [Ctrl][Alt][Delete] to reboot the computer. Once the system begins booting from the CD, simply follow the prompts that will allow the loading of the basic files needed to run Setup. When you see the Welcome To Setup screen, shown in <strong>Figure A</strong>, press R to start the Recovery Console.</p>
<h4>Figure A</h4>
<h5><img src="http://techrepublic.com.com/i/tr/downloads/images/10winxpboot_a.jpg" border="0" alt="" hspace="0" vspace="0" width="500" height="442" /></h5>
<h6>Recovery console</h6>
<p>You’ll then see a Recovery Console menu, like the one shown in <strong>Figure B</strong>. It displays the folder containing the operating system’s files and prompts you to choose the operating system you want to log on to. Just press the menu number on the keyboard, and you’ll be prompted to enter the Administrator’s password. You’ll then find yourself at the main Recovery Console prompt.</p>
<h4>Figure B</h4>
<h5><img src="http://techrepublic.com.com/i/tr/downloads/images/10winxpboot_b.jpg" alt="" width="500" height="240" /></h5>
<h6>Choose your OS</h6>
<h2>#5: Fix a corrupt Boot.ini</h2>
<p>As the Windows XP operating system begins to load, the Ntldr program refers to the Boot.ini file to determine where the operating system files reside and which options to enable as the operating system continues to load. So if there’s a problem rooted in the Boot.ini file, it can render Windows XP incapable of booting correctly.</p>
<p>If you suspect that Windows XP won’t boot because Boot.ini has been corrupted, you can use the special Recovery Console version of the Bootcfg tool to fix it. Of course, you must first boot the system with the Windows XP CD and access the Recovery Console as described in #4.</p>
<p>To use the Bootcfg tool, from the Recovery Console command prompt, type</p>
<pre>Bootcfg /parameter</pre>
<p>Where /parameter is one of these required parameters:</p>
<ul class="unIndentedList">
<li> /Add–Scans the disk for all Windows installations and allows you to add any new ones to the Boot.ini file.</li>
<li> /Scan–Scans the disk for all Windows installations.</li>
<li> /List–Lists each entry in the Boot.ini file.</li>
<li> /Default–Sets the default operating system as the main boot entry.</li>
<li> /Rebuild–Completely re-creates the Boot.ini file. The user must confirm each step.</li>
<li> /Redirect–Allows the boot operation to be redirected to a specific port when using the Headless Administration feature. The Redirect parameter takes two parameters of its own, [Port Baudrate ] | [UseBiosSettings].</li>
<li> /Disableredirect–Disables the redirection.</li>
</ul>
<h2>#6: Fix a corrupt partition boot sector</h2>
<p>The partition boot sector is a small section of the hard disk partition that contains information about the operating system’s file system (NTFS or FAT32), as well as a very small machine language program that is crucial in assisting the operating system as it loads.</p>
<p>If you suspect that Windows XP won’t boot because the partition boot sector has been corrupted, you can use a special Recovery Console tool called Fixboot to fix it. Start by booting the system with the Windows XP CD and accessing the Recovery Console as described in #4.</p>
<p>To use the Fixboot tool, from the Recovery Console command prompt, type</p>
<pre>Fixboot [drive]:</pre>
<p>Where [drive] is the letter of the drive to which you want to write a new partition boot sector.</p>
<h2>#7: Fix a corrupt master boot record</h2>
<p>The master boot record occupies the first sector on the hard disk and is responsible for initiating the Windows boot procedure. The master boot record contains the partition table for the disk as well as a small program called the master boot code, which is responsible for locating the active, or bootable, partition, in the partition table. Once this occurs, the partition boot sector takes over and begins loading Windows. If the master boot record is corrupt, the partition boot sector can’t do its job and Windows won’t boot.</p>
<p>If you suspect Windows XP won’t boot because the master boot record has been corrupted, you can use the Recovery Console tool Fixmbr to fix it. First, boot the system with the Windows XP CD and access the Recovery Console as described in #4.</p>
<p>To use the Fixmbr tool, from the Recovery Console command prompt, type</p>
<pre>Fixmbr [device_name]</pre>
<p>Where [device_name] is the device pathname of the drive to which you want to write a new master boot record. For example, the device pathname format for a standard bootable drive C configuration would look like this:</p>
<pre>DeviceHardDisk0</pre>
<h2>#8: Disable automatic restart</h2>
<p>When Windows XP encounters a fatal error, the default setting for handling such an error is to automatically reboot the system. If the error occurs while Windows XP is booting, the operating system will become stuck in a reboot cycle–rebooting over and over instead of starting up normally. In that case, you’ll need to disable the option for automatically restarting on system failure.</p>
<p>When Windows XP begins to boot up and you see the message Please select the operating system to start or hear the single beep, press [F8] to display the Windows Advanced Options Menu. Then, select the Disable The Automatic Restart On System Failure item and press [Enter]. Now, Windows XP will hang up when it encounters the error and with any luck, it will display a stop message you can use to diagnose the problem.</p>
<h2>#9: Restore from a backup</h2>
<p>If you can’t seem to repair a Windows XP system that won’t boot and you have a recent backup, you can restore the system from the backup media. The method you use to restore the system will depend on what backup utility you used, so you’ll need to follow the utility’s instructions on how to perform a restore operation.</p>
<h2>#10: Perform an in-place upgrade</h2>
<p>If you can’t repair a Windows XP system that won’t boot and you don’t have a recent backup, you can perform an in-place upgrade. Doing so reinstalls the operating system into the same folder, just as if you were upgrading from one version of Windows to another. An in-place upgrade will usually solve most, if not all, Windows boot problems.</p>
<p>Performing a Windows XP in-place upgrade is pretty straightforward. To begin, insert the Windows XP CD into the drive, restart your system, and boot from the CD. Once the initial preparation is complete, you’ll see the Windows XP Setup screen (shown earlier in Figure A). Press [Enter] to launch the Windows XP Setup procedure. In a moment, you’ll see the License Agreement page and will need to press [F8] to acknowledge that you agree. Setup will then search the hard disk looking for a previous installation of Windows XP. When it finds the previous installation, you’ll see a second Windows XP Setup screen, as shown in <strong>Figure C</strong>.</p>
<h4>Figure C</h4>
<h5><img src="http://techrepublic.com.com/i/tr/downloads/images/10winxpboot_c.jpg" alt="" width="500" height="442" /></h5>
<h6>In-place upgrade</h6>
<p>This screen will prompt you to press R to repair the selected installation or to press [Esc] to install a fresh copy of Windows XP. In this case, initiating a repair operation is synonymous with performing an in-place upgrade, so you’ll need to press R. When you do so, Setup will examine the disk drives in the system. It will then begin performing the in-place upgrade.</p>
<p>Keep in mind that after you perform an in-place upgrade or repair installation, you must reinstall all updates to Windows.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/youritknowledge.wordpress.com/154/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/youritknowledge.wordpress.com/154/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youritknowledge.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youritknowledge.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youritknowledge.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youritknowledge.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youritknowledge.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youritknowledge.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youritknowledge.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youritknowledge.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youritknowledge.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youritknowledge.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youritknowledge.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youritknowledge.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youritknowledge.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youritknowledge.wordpress.com/154/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritknowledge.wordpress.com&amp;blog=4355789&amp;post=154&amp;subd=youritknowledge&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://youritknowledge.wordpress.com/2008/08/06/10-things-you-can-do-when-windows-xp-won%e2%80%99t-boot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/685d42dd084bb682a421fdbf9dcd1d8d?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kur3n4in4i</media:title>
		</media:content>

		<media:content url="http://techrepublic.com.com/i/tr/downloads/images/10winxpboot_a.jpg" medium="image" />

		<media:content url="http://techrepublic.com.com/i/tr/downloads/images/10winxpboot_b.jpg" medium="image" />

		<media:content url="http://techrepublic.com.com/i/tr/downloads/images/10winxpboot_c.jpg" medium="image" />
	</item>
		<item>
		<title>Manual steps to recover a corrupted registry that prevents Windows XP from starting</title>
		<link>http://youritknowledge.wordpress.com/2008/08/06/manual-steps-to-recover-a-corrupted-registry-that-prevents-windows-xp-from-starting/</link>
		<comments>http://youritknowledge.wordpress.com/2008/08/06/manual-steps-to-recover-a-corrupted-registry-that-prevents-windows-xp-from-starting/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 01:48:22 +0000</pubDate>
		<dc:creator>kur3n4in4i</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://youritknowledge.wordpress.com/?p=152</guid>
		<description><![CDATA[The procedure that this article describes uses Recovery Console and System Restore. This article also lists all the required steps in specific order to make sure that the process is fully completed. When you finish this procedure, the system returns to a state very close to the state before the problem occurred. If you have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritknowledge.wordpress.com&amp;blog=4355789&amp;post=152&amp;subd=youritknowledge&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The procedure that this article 		  describes uses Recovery Console and System Restore. This article also lists all 		  the required steps in specific order to make sure that the process is fully 		  completed. When you finish this procedure, the system returns to a state very 		  close to the state before the problem occurred. If you have ever run NTBackup 		  and completed a system state backup, you do not have to follow the procedures 		  in parts two and three. You can go to part four.<span id="more-152"></span></p>
<h4>Part one</h4>
<p>loadTOCNode(3, &#8216;moreinformation&#8217;); In part one, you start the Recovery Console, create a temporary 		  folder, back up the existing registry files to a new location, delete the 		  registry files at their existing location, and then copy the registry files 		  from the repair folder to the System32\Config folder. When you have finished 		  this procedure, a registry is created that you can use to start Windows XP. 		  This registry was created and saved during the initial setup of Windows XP. 		  Therefore any changes and settings that occurred after the Setup program was 		  finished are lost.</p>
<p>To complete part one, follow these steps:</p>
<table class="list ol" border="0">
<tbody>
<tr>
<td class="number">1.</td>
<td class="text">Insert the Windows XP startup disk into the floppy disk 				drive, or insert the Windows XP CD-ROM into the CD-ROM drive, and then restart 				the computer.<br />
Click to select any options that are required to start the 				computer from the CD-ROM drive if you are prompted to do so.</td>
</tr>
<tr>
<td class="number">2.</td>
<td class="text">When the &#8220;Welcome to Setup&#8221; screen appears, press R to 				start the Recovery Console.</td>
</tr>
<tr>
<td class="number">3.</td>
<td class="text">If you have a dual-boot or multiple-boot computer, select 				the installation that you want to access from the Recovery Console.</td>
</tr>
<tr>
<td class="number">4.</td>
<td class="text">When you are prompted to do so, type the Administrator 				password. If the administrator password is blank, just press ENTER.</td>
</tr>
<tr>
<td class="number">5.</td>
<td class="text">At the Recovery Console command prompt, type the following 				lines, pressing ENTER after you type each line:</p>
<div class="indent"><span class="userInput"> md tmp<br />
copy c:\windows\system32\config\system c:\windows\tmp\system.bak<br />
copy c:\windows\system32\config\software      c:\windows\tmp\software.bak<br />
copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak<br />
copy c:\windows\system32\config\security      c:\windows\tmp\security.bak<br />
copy c:\windows\system32\config\default      c:\windows\tmp\default.bak</p>
<p>delete c:\windows\system32\config\system<br />
delete c:\windows\system32\config\software<br />
delete c:\windows\system32\config\sam<br />
delete c:\windows\system32\config\security<br />
delete c:\windows\system32\config\default</p>
<p>copy c:\windows\repair\system c:\windows\system32\config\system<br />
copy c:\windows\repair\software      c:\windows\system32\config\software<br />
copy c:\windows\repair\sam c:\windows\system32\config\sam<br />
copy c:\windows\repair\security      c:\windows\system32\config\security<br />
copy c:\windows\repair\default      c:\windows\system32\config\default</p>
<p></span></div>
</td>
</tr>
<tr>
<td class="number">6.</td>
<td class="text">Type <span class="userInput">exit</span> to quit Recovery Console. 				Your computer will restart.</td>
</tr>
</tbody>
</table>
<p><strong>Note</strong> This procedure assumes that Windows XP is installed to the 		  C:\Windows folder. Make sure to change C:\Windows to the appropriate 		  <var>windows_folder</var> if it is a different 		  location.</p>
<p>If you have access to another computer, to save time, you 		  can copy the text in step five, and then create a text file called 		  &#8220;Regcopy1.txt&#8221; (for example). To use this file, run the following command 		  when you start in Recovery Console:</p>
<div class="indent"><strong>batch regcopy1.txt</strong></div>
<p>With the <strong>batch</strong> command in Recovery Console, you can process all the commands in 		  a text file sequentially. When you use the <strong>batch</strong> command, you do not have to manually type as many commands.</p>
<h4>Part two</h4>
<p>loadTOCNode(3, &#8216;moreinformation&#8217;); To complete the procedure described in this section, you must be 		  logged on as an administrator, or an administrative user (a user who has an 		  account in the Administrators group). If you are using Windows XP Home Edition, 		  you can log on as an administrative user. If you log on as an administrator, 		  you must first start Windows XP Home Edition in Safe mode. To start the Windows 		  XP Home Edition computer in Safe mode, follow these steps.</p>
<p><strong>Note</strong> Print these instructions before you continue. You cannot view 		  these instructions after you restart the computer in Safe Mode. If you use the 		  NTFS file system, also print the instructions from Knowledge Base article 		  KB309531. Step 7 contains a reference to the article.</p>
<table class="list ol" border="0">
<tbody>
<tr>
<td class="number">1.</td>
<td class="text">Click <strong>Start</strong>, click <strong>Shut Down</strong> (or click <strong>Turn Off Computer</strong>), click <strong>Restart</strong>, and then click <strong>OK</strong> (or click <strong>Restart</strong>).</td>
</tr>
<tr>
<td class="number">2.</td>
<td class="text">Press the F8 key.</p>
<p>On a computer that is 				configured to start to multiple operating systems, you can press F8 when you 				see the Startup menu.</td>
</tr>
<tr>
<td class="number">3.</td>
<td class="text">Use the arrow keys to select the appropriate Safe mode 				option, and then press ENTER.</td>
</tr>
<tr>
<td class="number">4.</td>
<td class="text">If you have a dual-boot or multiple-boot system, use the 				arrow keys to select the installation that you want to access, and then press 				ENTER.</td>
</tr>
</tbody>
</table>
<p>In part two, you copy the registry files from their backed up 		  location by using System Restore. This folder is not available in Recovery 		  Console and is generally not visible during typical usage. Before you start 		  this procedure, you must change several settings to make the folder visible:</p>
<table class="list ol" border="0">
<tbody>
<tr>
<td class="number">1.</td>
<td class="text">Start Windows Explorer.</td>
</tr>
<tr>
<td class="number">2.</td>
<td class="text">On the <strong>Tools</strong> menu, click <strong>Folder options</strong>.</td>
</tr>
<tr>
<td class="number">3.</td>
<td class="text">Click the <strong>View</strong> tab.</td>
</tr>
<tr>
<td class="number">4.</td>
<td class="text">Under <strong class="uiterm">Hidden files and folders</strong>, click to 				select <strong class="uiterm">Show hidden files and folders</strong>, and then click to clear 				the <strong class="uiterm">Hide protected operating system files (Recommended)</strong> check 				box.</td>
</tr>
<tr>
<td class="number">5.</td>
<td class="text">Click <strong class="uiterm">Yes</strong> when the dialog box that 				confirms that you want to display these files appears.</td>
</tr>
<tr>
<td class="number">6.</td>
<td class="text">Double-click the drive where you installed Windows XP to 				display a list of the folders. If is important to click the correct 				drive.</td>
</tr>
<tr>
<td class="number">7.</td>
<td class="text">Open the System Volume Information folder. This folder is 				unavailable and appears dimmed because it is set as a super-hidden 				folder.</p>
<p><strong>Note</strong> This folder contains one or more _restore {GUID} folders such as 				&#8220;_restore{87BD3667-3246-476B-923F-F86E30B3E7F8}&#8221;.</p>
<p><strong>Note</strong> You may receive the following error message:</p>
<div class="errormsg">C:\System Volume Information is not accessible. Access is denied.</div>
<p>If you receive this message, see the following Microsoft Knowledge 				Base article to gain access to this folder and continue with the 				procedure:</p>
<div class="indent"><a class="KBlink" href="http://support.microsoft.com/kb/309531/">309531</a><span class="pLink"> (http://support.microsoft.com/kb/309531/)</span> How to gain access to the System 				  Volume Information folder</div>
</td>
</tr>
<tr>
<td class="number">8.</td>
<td class="text">Open a folder that was not created at the current time. You 				may have to click <strong>Details</strong> on the <strong>View</strong> menu to see when these folders were created. There may be one or 				more folders starting with &#8220;RP<var>x</var> under this folder. 				These are restore points.</td>
</tr>
<tr>
<td class="number">9.</td>
<td class="text">Open one of these folders to locate a Snapshot subfolder. 				The following path is an example of a folder path to the Snapshot folder:</p>
<div class="indent">C:\System Volume Information\_restore{D86480E3-73EF-47BC-A0EB-A81BE6EE3ED8}\RP1\Snapshot</div>
</td>
</tr>
<tr>
<td class="number">10.</td>
<td class="text">From the Snapshot folder, copy the following files to the 				C:\Windows\Tmp folder:</p>
<table class="list ul" border="0">
<tbody>
<tr>
<td class="bullet">•</td>
<td class="text">_REGISTRY_USER_.DEFAULT</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">_REGISTRY_MACHINE_SECURITY</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">_REGISTRY_MACHINE_SOFTWARE</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">_REGISTRY_MACHINE_SYSTEM</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">_REGISTRY_MACHINE_SAM</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td class="number">11.</td>
<td class="text">Rename the files in the C:\Windows\Tmp folder as follows:</p>
<table class="list ul" border="0">
<tbody>
<tr>
<td class="bullet">•</td>
<td class="text">Rename _REGISTRY_USER_.DEFAULT to DEFAULT</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Rename _REGISTRY_MACHINE_SECURITY to 					 SECURITY</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Rename _REGISTRY_MACHINE_SOFTWARE to 					 SOFTWARE</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Rename _REGISTRY_MACHINE_SYSTEM to SYSTEM</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Rename _REGISTRY_MACHINE_SAM to SAM</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p>These files are the backed up registry files from System 		  Restore. Because you used the registry file that the Setup program created, 		  this registry does not know that these restore points exist and are available. 		  A new folder is created with a new GUID under System Volume Information and a 		  restore point is created that includes a copy of the registry files that were 		  copied during part one. Therefore, it is important not to use the most current 		  folder, especially if the time stamp on the folder is the same as the current 		  time.</p>
<p>The current system configuration is not aware of the previous 		  restore points. You must have a previous copy of the registry from a previous 		  restore point to make the previous restore points available again.</p>
<p>The registry files that were copied to the Tmp folder in the C:\Windows folder 		  are moved to make sure that the files are available under Recovery Console. You 		  must use these files to replace the registry files currently in the 		  C:\Windows\System32\Config folder. By default, Recovery Console has limited 		  folder access and cannot copy files from the System Volume folder.</p>
<p><strong>Note</strong> The procedure described in this section assumes that you are 		  running your computer with the FAT32 file system.  For more information about how to access 			 the System Volume Information Folder with the NTFS file 			 system, click the following article number to view the article in the Microsoft Knowledge Base:</p>
<div class="indent"><a class="KBlink" href="http://support.microsoft.com/kb/309531/">309531</a><span class="pLink"> (http://support.microsoft.com/kb/309531/)</span> How to gain access to the System 			 Volume Information folder</div>
<h4>Part Three</h4>
<p>loadTOCNode(3, &#8216;moreinformation&#8217;); In part three, you delete the existing registry files, and then 		  copy the System Restore Registry files to the C:\Windows\System32\Config 		  folder:</p>
<table class="list ol" border="0">
<tbody>
<tr>
<td class="number">1.</td>
<td class="text">Start 				Recovery Console.</td>
</tr>
<tr>
<td class="number">2.</td>
<td class="text">At the command prompt, type the following lines, pressing 				ENTER after you type each line:</p>
<div class="indent"><span class="userInput"> del c:\windows\system32\config\sam</p>
<p>del c:\windows\system32\config\security</p>
<p>del c:\windows\system32\config\software</p>
<p>del c:\windows\system32\config\default</p>
<p>del c:\windows\system32\config\system</p>
<p>copy c:\windows\tmp\software      c:\windows\system32\config\software</p>
<p>copy c:\windows\tmp\system       c:\windows\system32\config\system</p>
<p>copy c:\windows\tmp\sam      c:\windows\system32\config\sam</p>
<p>copy c:\windows\tmp\security       c:\windows\system32\config\security</p>
<p>copy c:\windows\tmp\default      c:\windows\system32\config\default</p>
<p></span></div>
<p><strong>Note</strong> Some of these command lines may be wrapped for 				readability.</td>
</tr>
<tr>
<td class="number">3.</td>
<td class="text">Type <span class="userInput">exit</span> to quit Recovery Console. 				Your computer restarts.</td>
</tr>
</tbody>
</table>
<p><strong>Note</strong> This procedure assumes that Windows XP is installed to the 		  C:\Windows folder. Make sure to change C:\Windows to the appropriate 		  <var>windows_folder</var> if it is a different 		  location.</p>
<p>If you have access to another computer, to save time, you 		  can copy the text in step two, and then create a text file called 		  &#8220;Regcopy2.txt&#8221; (for example). To use this file, run the following command 		  when you start in Recovery Console:</p>
<div class="indent"><strong>batch regcopy2.txt</strong></div>
<h4>Part Four</h4>
<p>loadTOCNode(3, &#8216;moreinformation&#8217;);</p>
<table class="list ol" border="0">
<tbody>
<tr>
<td class="number">1.</td>
<td class="text">Click <strong>Start</strong>, and then click <strong>All Programs</strong>.</td>
</tr>
<tr>
<td class="number">2.</td>
<td class="text">Click <strong>Accessories</strong>, and then click <strong>System Tools</strong>.</td>
</tr>
<tr>
<td class="number">3.</td>
<td class="text">Click <strong>System Restore</strong>, and then click <strong class="uiterm">Restore to a previous 				RestorePoint</strong>.</td>
</tr>
</tbody>
</table>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/youritknowledge.wordpress.com/152/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/youritknowledge.wordpress.com/152/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youritknowledge.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youritknowledge.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youritknowledge.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youritknowledge.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youritknowledge.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youritknowledge.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youritknowledge.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youritknowledge.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youritknowledge.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youritknowledge.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youritknowledge.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youritknowledge.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youritknowledge.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youritknowledge.wordpress.com/152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritknowledge.wordpress.com&amp;blog=4355789&amp;post=152&amp;subd=youritknowledge&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://youritknowledge.wordpress.com/2008/08/06/manual-steps-to-recover-a-corrupted-registry-that-prevents-windows-xp-from-starting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/685d42dd084bb682a421fdbf9dcd1d8d?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kur3n4in4i</media:title>
		</media:content>
	</item>
		<item>
		<title>How To Repair Window XP</title>
		<link>http://youritknowledge.wordpress.com/2008/08/06/how-to-repair-window-xp/</link>
		<comments>http://youritknowledge.wordpress.com/2008/08/06/how-to-repair-window-xp/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 01:39:45 +0000</pubDate>
		<dc:creator>kur3n4in4i</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://youritknowledge.wordpress.com/?p=150</guid>
		<description><![CDATA[One day without a obvious reason I had problems booting into windows so I went into the recovery console and the following error message popped up: &#8220;To replace the damaged registry hive and restore the backup copy of the hive from the Repair folder: Start your computer to the Recovery Console&#8221; I am not a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritknowledge.wordpress.com&amp;blog=4355789&amp;post=150&amp;subd=youritknowledge&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One day without a obvious reason I had problems booting into windows so I went into the recovery console and the following error message popped up: &#8220;To replace the damaged registry hive and restore the backup copy of the hive from the Repair folder: Start your computer to the Recovery Console&#8221;</p>
<p>I am not a tech freak and honestly&#8230;. I was absolutely LOST! I started the computer in recovery mode, but still had no clue on how to fix the error. I was able to launch my web browser and thought it might be a good idea to look for an online xp repair service. And indeed, I found one offering a free online scan. I performed the online scan, the software found the errors and after paying for the software, my problem was fixed.</p>
<p>Of course&#8230; I would have preferred getting it for free, but as my computer got infected by spyware when I downloaded free software I now feel a lot safer downloading paid software&#8230; but this is another story.</p>
<p>So if you experience problems with windows xp and want to repair windows xp, I highly recommend checking out <strong><a rel="nofollow" href="http://www.xprepairpro.com/?hop=milleniumb" target="_blank">XP Repair Pro</a> and take advantage of their free scan.</strong></p>
<p><strong>With XP Repair Pro</strong> you can safely clean, repair and optimize your Windows PC with a few simple mouse clicks!</p>
<p>To start a free scan, click below:</p>
<p><a href="http://en.wordpress.com/types-of-blogs/"><strong>Repair Windows XP</strong></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/youritknowledge.wordpress.com/150/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/youritknowledge.wordpress.com/150/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youritknowledge.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youritknowledge.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youritknowledge.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youritknowledge.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youritknowledge.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youritknowledge.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youritknowledge.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youritknowledge.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youritknowledge.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youritknowledge.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youritknowledge.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youritknowledge.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youritknowledge.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youritknowledge.wordpress.com/150/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritknowledge.wordpress.com&amp;blog=4355789&amp;post=150&amp;subd=youritknowledge&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://youritknowledge.wordpress.com/2008/08/06/how-to-repair-window-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/685d42dd084bb682a421fdbf9dcd1d8d?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kur3n4in4i</media:title>
		</media:content>
	</item>
	</channel>
</rss>
