<?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/"
	>

<channel>
	<title>X-ToolZ.com &#187; Tutorials</title>
	<atom:link href="http://www.x-toolz.com/?feed=rss2&#038;cat=10" rel="self" type="application/rss+xml" />
	<link>http://www.x-toolz.com</link>
	<description></description>
	<lastBuildDate>Thu, 17 Dec 2009 19:13:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Installing Windows XP &amp; Vista on the same Partition!</title>
		<link>http://www.x-toolz.com/?p=22</link>
		<comments>http://www.x-toolz.com/?p=22#comments</comments>
		<pubDate>Tue, 08 Apr 2008 20:54:27 +0000</pubDate>
		<dc:creator>MemphiZ</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://x-toolz.com/?p=22</guid>
		<description><![CDATA[How to install Windows XP &#38; Vista on the same (1) Partition?! Vantages: *Even if you have to install your Software twice (in XP &#38; Vista) it&#8217;s possible to overwrite the 1st with the 2nd Installation to save Hard-Disk-Space. *You only have to Backup one Partition for a Backup of both Operating Systems. *Changes who [...]]]></description>
			<content:encoded><![CDATA[<h3>How to install Windows XP &amp; Vista on the same (1) Partition?!</h3>
<p>Vantages:<br />
*Even if you have to install your Software twice (in XP &amp; Vista) it&#8217;s possible to overwrite the 1st with the 2nd Installation to save Hard-Disk-Space.<br />
*You only have to Backup one Partition for a Backup of both Operating Systems.<br />
*Changes who are not Registry-related are automatically active in both Operating Systems.<br />
(Helpful if you&#8217;re using WebServerApplications and Databases like: PHP, MySQL, etc&#8230;)</p>
<p>I&#8217;ve read a lot of things but nothing useful. Some people did it but they have to insert the Windows-XP-Installation-CD and Repair the Installation in order to Boot XP. The same Action is required to run Vista.<br />
I think thats not an acceptable way. I wanted to have Vista&#8217;s Bootmanager asking me to choose which Operating System to start. After about 8 Hours I did the impossible!<br />
Here&#8217;s the way it can be done: !</p>
<p><span style="color: #ffffff;">[</span><span style="color: #ff0000;">ATTENTION: This Tutorial if for advanced Users only! I don't take responsibility for Data-Loss or other losses that could occur when working with this Tutorial.</span><span style="color: #ffffff;">]</span></p>
<p>I did this Experiment on a Lenovo T41p Thinkpad.</p>
<p><strong>Required Media:<br />
</strong><span style="color: #ff9900;"><span style="text-decoration: underline;">a Windows XP SP2 CD! (a CD without SP2 could work but I didn&#8217;t try it)<br />
a Windows Vista-Installation-DVD!<br />
a Tool for editing .ISO-Images (e.g.: <a href="http://www.magiciso.com/" target="_blank">MagicISO</a>)<br />
a Tool named EasyBCDEdit (Site: <a href="http://www.neosmart.net/" target="_blank">neosmart.net</a>)<br />
an Internet Connection (Broadband recommended)<br />
CD-Burner and Burning-Software (e.g.: <a href="http://www.nero.com/" target="_blank">Nero</a>)<br />
an adjusted Version of a winnt.sif-File as described in Step 1.</span></span></p>
<p><strong>[Duration: about 2-3 Hours!] </strong></p>
<p><span style="color: #3366ff;"><strong>Step 1 [Preparing the Installation-CD]:</strong></span><br />
Greate an Image of the Windows XP SP2 CD with MagicISO.<br />
Download and edit this File -&gt;&gt; <a href="http://temp.x-toolz.com/downloads/winnt.zip">winnt.sif</a><br />
<span style="text-decoration: underline;">Values to edit:<br />
</span>TargetPath; &lt;- The Name of the Windows-Folder (default: WINDOWS) <span style="color: #ff0000;">May not be Default! May not be longer than 8(!) characters!</span><span style="color: #ff0000;"> &#8220;WINDOWSXP&#8221; won&#8217;t work!</span>;<br />
AdminPassword; &lt;- Password for the Local Administrator Account;<br />
ProfilesDir; &lt;- This is the &#8220;Documents and Settings&#8221;-Folder by Default.<br />
&#8220;UsersXP&#8221; is doing well because Vista creates a &#8220;Users&#8221;-Folder for its Profiles. <span style="color: #ff0000;">May not be Default!</span>;<br />
ProductKey; &lt;- Enter your License-Key here;<br />
FullName; &lt;- This is the name you see when you right-click &#8220;My Computer&#8221; and go to &#8220;Properties&#8221;;<br />
OrgName; &lt;- This is the Companyname you see when you right-click &#8220;My Computer&#8221; and go to &#8220;Properties&#8221;;<br />
ComputerName; &lt;- The Computers name for LANing;<br />
JoinWorkGroup; &lt;- The Workgroup for the LAN;<br />
If you want to join a Domain with this Computer I recommend doing this manually after the Installation;<br />
Save and exit;</p>
<p>Open the Image of the Windows XP SP2 CD with MagicISO.<br />
Switch to the &#8220;I386&#8243;-Folder, delete a File named &#8220;UNATTEND.txt&#8221; and add the adjusted &#8220;winnt.sif&#8221;-File.<br />
Save and burn this Image.</p>
<p><span style="color: #3366ff;"><strong>Step 2 [Installing Windows XP]:</strong></span><br />
Install the new XP SP2 CD.<br />
<span style="color: #ff0000;">[</span><span style="color: #ffcc00;">If errors occur during installation most likely the "winnt.sif"-File was not edited correctly.</span> <span style="color: #ff9900;">Important and very error-prone is to set the " (quotation marks) properly.</span><span style="color: #ff0000;">]</span><br />
Boot Windows XP.<br />
<span style="color: #ff0000;">[</span><span style="color: #ffcc00;">Check if the "Documents and Settings" and "WINDOWS" Folders exist. If they do something with editing the winnt.sif went wrong.</span><span style="color: #ff9900;"> Repeat Step 1.</span><br />
I've installed all available Windows Updates at this time but I cant tell if its necessary.<span style="color: #ff0000;"><br />
[</span><span style="color: #ff9900;">EDIT:</span> <span style="color: #ffcc00;">I've tested it by now: It is <span style="color: #ff9900;"><span style="text-decoration: underline;">not</span></span> necessary.</span><span style="color: #ff0000;">]</span></p>
<p><span style="color: #3366ff;"><strong>Step 3 [Installing Vista]:</strong></span><br />
When installing Windows Vista you&#8217;ll get a notification which tells you that the Windows Vista Setup found a previous Version of Windows and will rename its WINDOWS-Folder to &#8220;Windows.old&#8221;. It also says that your old Installation may not be bootable anymore (Thats a Lie! <img src='http://www.x-toolz.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ). Thats why the &#8220;winnt.sif&#8221; changes the &#8220;WINDOWS&#8221; &amp; &#8220;Documents and Settings&#8221;-Folders. Accept this Notification and let the Installation go on.</p>
<p><span style="color: #3366ff;"><strong>Step 4 [Boot Vista and configure XP]:</strong></span><br />
After Vista has shown up: switch to &#8220;C:\Windows.old&#8221;, rename the Folder &#8220;Program Files&#8221; to &#8220;Program Files XP&#8221; and move it to C: Root. Now you can delete the &#8220;Windows.old&#8221;-Folder without concerns.</p>
<p>Start &#8220;Regedit&#8221; and load the Windows XP [HKLM] Hive.<br />
Therefor go to Start&gt;Run&#8230; and enter &#8220;regedit&#8221; followed by an Enter. Click on &#8220;HKEY_LOCAL_MACHINE&#8221; and choose &#8220;File&gt;Load Hive&#8230;&#8221;.<br />
Now we got to choose the Windows XP [HKLM] Hive which is located at: &#8220;C:\<span style="text-decoration: underline;"><em>WINXP</em></span>\system32\config\software&#8221;. Now you&#8217;ll be prompted to enter a Name for the new Hive. The name has no importance so you can enter whatever you want. Now there should be a Subfolder with the name you entered.<br />
Go to this Path:<br />
[<em>WINXPHive</em>\Microsoft\Windows\CurrentVersion]<br />
Change the Values of &#8220;CommonFilesDir&#8221; &amp; &#8220;ProgramFilesDir&#8221; to the new &#8220;Program Files XP&#8221;-Folder.<br />
<span style="color: #ff0000;"><span style="color: #ffffff;">[</span>ATTENTION: The Value of "CommonFilesDir" may not point to the "Program Files XP"-Folder directly, it has to point to the "\Common Files"-SubFolder!</span><span style="color: #ffffff;">]</span></p>
<p><span style="color: #3366ff;"><strong>Step 5 [configuring the Bootmanager]:</strong></span><br />
<span style="color: #ff9900;">Windows XP is now prepared for these differences between our and a Standard Installation:</span></p>
<p><span style="color: #ff0000;">[</span><span style="color: #ff9900;">(!= <strong>=</strong> unequal)<br />
Windows Folder != C:\WINDOWS<br />
Program Files != C:\ProgramFiles<br />
Common Folder != C:\ProgramFiles\Common<br />
Profiles Folder != C:\Documents and Settings</span><span style="color: #ff0000;">]</span></p>
<p>This means XP would be bootable if we could tell the Computer which Operating System to boot. Currently he would boot Vista as Default because Vista was installed at least, Vista&#8217;s Bootmanager has renamed the Boot.ini (which belongs to XP) and overwrote the BCD (Boot Configuration Data). These Actions have to be reversed.<br />
Therefor we need a Command Prompt and the &#8220;attrib&#8221;-Command.</p>
<p><span style="color: #ff0000;">[</span><span style="color: #ffcc00;">The following Commands have to be executed in a Command Prompt with <span style="color: #ff9900;">Administrative rights</span></span><span style="color: #ffcc00;">!</span><span style="color: #ff0000;">]</span><br />
Open a Command Prompt and switch to C: Root (cd\). Remove the &#8220;System&#8221; &amp; &#8220;Hidden&#8221;-Attributes from a File named &#8220;Boot.ini.saved&#8221; (atrrib -s -h Boot.ini.saved).<br />
Now its possible to edit or copy the File. To recreate Windows XP&#8217;s Boot.ini just copy the File (copy Boot.ini.saved Boot.ini).</p>
<p>The biggest Part is done. All we got to do now is to tell the Bootmanager that there is another Operating System.<br />
Download and install <a href="http://www.neosmart.net/" target="_blank">EasyBCDEdit</a>.<br />
<span style="color: #ff0000;">[</span><span style="color: #ffcc00;">The <span style="color: #ff9900;">Error </span>which appears at the <span style="color: #ff9900;">beginning </span>of the <span style="color: #ff9900;">Installation </span>does <span style="color: #ff9900;"><span style="text-decoration: underline;">not</span> </span><span style="color: #ff9900;">affect </span>the <span style="color: #ff9900;">functionality </span>of the Tool so it can be clicked away without concerns!</span><span style="color: #ff0000;">]</span><br />
Start EasyBCDEdit and click on &#8220;Add/Remove Entries&#8221;. Create a new Entry with the following Settings: Type: &#8220;Windows NT/2k/XP/2k3&#8243;, Name: &#8220;Windows XP&#8221;, Drive: &#8220;C:&#8221;;</p>
<p>If you want to change the name of the Vista Entry for not having Micro$oft contained in the Name just do this under &#8220;Change Settings&#8221;.<br />
Do not forget to Save the new Settings.</p>
<p>By now the Bootmanager should show up after reboot and let you choose which Operating System to boot.</p>
<p><span style="color: #3366ff;"><strong>Step 6 [Known Issues]:</strong></span><br />
It is quite possible to install Programs to the same &#8220;Program Files&#8221;-Folder to save Memory. It worked with every Software I use except Office Outlook 2007.<br />
After the Installation of Office Outlook 2007 in Vista there is an Error in XP. I solved this Error by installing the Windows Updates which became available only after the Installation of Office 2007. My Cycle looked as follows:<br />
Installation of XP SP2.<br />
Installation of Updates for XP.<br />
Installation of Vista, editing the Bootmanager, Boot.ini and Registry-Values.<br />
Switching to Windows XP and Installation of Software (Visual Studio 2008, Nero, Office 2007, etc.)<br />
Switching to Vista and Installation of the same Software.<br />
Switching to XP (here is where the Outlook Error appears) and Installation of Updates for Microsoft Office 2007 through the windowsupdate.com Site.<br />
Outlook 2007 is functioning properly on both Systems.</p>
<p><span style="color: #ff9900;">Attention Friends of Hibernation!</span><br />
Depending on which Operating System was sent to Hibernation the Bootmanager will automatically skip the &#8220;Choose OS&#8221;-Dialog and boot up the hibernated one. This means: To switch between Operating System you have to do a clean Shutdown on the active one.<br />
Unfortunately I did not find out (maybe its impossible <img src='http://www.x-toolz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) how to skip the &#8220;Is there a Hibernation&#8221;-Query yet. If I do you&#8217;ll find out here.</p>
<p>Other Problems are not familiar to me. If you have trouble with this Tutorial or you ran into other Problems that appear because of the Shared-ProgramFiles-Folder please leave a Comment!</p>
<p>Sorry for my poor English!</p>
<script type='text/javascript'><!--
//------
new YAHOO.widget.Tooltip("ttt902845463",
                           { context:"ctx_902845463",
                             text:"<p>Vantages</p>",
                             width:"auto",
                             showDelay: 50 });
//------
//--></script>
]]></content:encoded>
			<wfw:commentRss>http://www.x-toolz.com/?feed=rss2&amp;p=22</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
