
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.funtoo.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.funtoo.org/index.php?title=PXE_Network_Windows_Installation&amp;feed=atom&amp;action=history</id>
		<title>PXE Network Windows Installation - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.funtoo.org/index.php?title=PXE_Network_Windows_Installation&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.funtoo.org/index.php?title=PXE_Network_Windows_Installation&amp;action=history"/>
		<updated>2013-05-25T20:30:23Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.6</generator>

	<entry>
		<id>http://www.funtoo.org/index.php?title=PXE_Network_Windows_Installation&amp;diff=8930&amp;oldid=prev</id>
		<title>46.211.194.17: /* Extracting and Modifying the Required Boot Files */</title>
		<link rel="alternate" type="text/html" href="http://www.funtoo.org/index.php?title=PXE_Network_Windows_Installation&amp;diff=8930&amp;oldid=prev"/>
				<updated>2013-02-14T11:28:51Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Extracting and Modifying the Required Boot Files&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 11:28, 14 February 2013&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Copy the BINLSRV /INFParser tools to /tftproot&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Copy the BINLSRV /INFParser tools to /tftproot&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;cp pxefiles/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;scripts&lt;/del&gt;/* /tftproot/&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;cp pxefiles/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;script&lt;/ins&gt;/* /tftproot/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Extract the netboot startrom:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Extract the netboot startrom:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 58:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 58:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;cp winxp/i386/ntdetect.com ntdetect.wxp&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;cp winxp/i386/ntdetect.com ntdetect.wxp&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Creating a remapping file ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Creating a remapping file ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Create the file /tftproot/tftpd.remap and add the following to it:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Create the file /tftproot/tftpd.remap and add the following to it:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:version:1.11a:oldid:6963:newid:8930 --&gt;
&lt;/table&gt;</summary>
		<author><name>46.211.194.17</name></author>	</entry>

	<entry>
		<id>http://www.funtoo.org/index.php?title=PXE_Network_Windows_Installation&amp;diff=6963&amp;oldid=prev</id>
		<title>Godmachine81 at 08:56, 14 March 2012</title>
		<link rel="alternate" type="text/html" href="http://www.funtoo.org/index.php?title=PXE_Network_Windows_Installation&amp;diff=6963&amp;oldid=prev"/>
				<updated>2012-03-14T08:56:16Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 08:56, 14 March 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 175:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 175:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;If all is well, you should be able to boot the client choosing to ''boot from network'' in the boot options, you should get to your PXELinux bootloader, and see the Install Windows XP option after pressing enter you *should* kick off your XP installation via network!! Congratulations!&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;If all is well, you should be able to boot the client choosing to ''boot from network'' in the boot options, you should get to your PXELinux bootloader, and see the Install Windows XP option after pressing enter you *should* kick off your XP installation via network!! Congratulations!&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;HOWTOs&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;HOWTO&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:version:1.11a:oldid:6962:newid:6963 --&gt;
&lt;/table&gt;</summary>
		<author><name>Godmachine81</name></author>	</entry>

	<entry>
		<id>http://www.funtoo.org/index.php?title=PXE_Network_Windows_Installation&amp;diff=6962&amp;oldid=prev</id>
		<title>Godmachine81 at 08:54, 14 March 2012</title>
		<link rel="alternate" type="text/html" href="http://www.funtoo.org/index.php?title=PXE_Network_Windows_Installation&amp;diff=6962&amp;oldid=prev"/>
				<updated>2012-03-14T08:54:39Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 08:54, 14 March 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 174:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 174:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Booting the client == &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Booting the client == &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;If all is well, you should be able to boot the client choosing to ''boot from network'' in the boot options, you should get to your PXELinux bootloader, and see the Install Windows XP option after pressing enter you *should* kick off your XP installation via network!! Congratulations!&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;If all is well, you should be able to boot the client choosing to ''boot from network'' in the boot options, you should get to your PXELinux bootloader, and see the Install Windows XP option after pressing enter you *should* kick off your XP installation via network!! Congratulations!&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:HOWTOs]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:version:1.11a:oldid:6961:newid:6962 --&gt;
&lt;/table&gt;</summary>
		<author><name>Godmachine81</name></author>	</entry>

	<entry>
		<id>http://www.funtoo.org/index.php?title=PXE_Network_Windows_Installation&amp;diff=6961&amp;oldid=prev</id>
		<title>Godmachine81: Created page with &quot;''Howto use your Funtoo machine to serve a MS Windows installation over the network'' In this guide we will assume that you have followed the [http://www.funtoo.org/wiki/PXE_n...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.funtoo.org/index.php?title=PXE_Network_Windows_Installation&amp;diff=6961&amp;oldid=prev"/>
				<updated>2012-03-14T08:52:03Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;Howto use your Funtoo machine to serve a MS Windows installation over the network&amp;#039;&amp;#039; In this guide we will assume that you have followed the [http://www.funtoo.org/wiki/PXE_n...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;''Howto use your Funtoo machine to serve a MS Windows installation over the network''&lt;br /&gt;
In this guide we will assume that you have followed the [http://www.funtoo.org/wiki/PXE_network_boot_server PXE Network Boot Server] Wiki article and have a working network/pxe boot setup. As of now this guide will cover Windows XP. Soon it will be expanded to also cover Windows 7. &lt;br /&gt;
==Prerequisites==&lt;br /&gt;
#A working Funtoo installation&lt;br /&gt;
#A working PXE Setup (DHCP, TFTP, PXELinux)&lt;br /&gt;
#app-arch/cabextract&lt;br /&gt;
#A legitimate copy of Microsoft Windows &lt;br /&gt;
#Driver for your NIC - ''Suggested to use a complete driver pack with all major supported NIC hardware for the version of Windows to be installed.''&lt;br /&gt;
#RIS Linux toolkit &amp;gt;=0.4 &lt;br /&gt;
#A working Samba server setup&lt;br /&gt;
&lt;br /&gt;
==Creating the Windows XP Image ==&lt;br /&gt;
&lt;br /&gt;
*In the previous guide, [http://www.funtoo.org/wiki/PXE_network_boot_server PXE Network Boot Server], we used /tftproot as the working directory so we will also use it in this guide for convenience. If you chose to use a different working directory then please apply it where needed in place of the /tftproot we will be going by here.&lt;br /&gt;
&lt;br /&gt;
First you will need to create an ISO from your Windows XP installation disc. If you already have the ISO image you may skip this step. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; dd if=/dev/sr0 of=/tftproot/winxp.iso &amp;lt;/pre&amp;gt; If your cdrom device isn't /dev/sr0 please use the appropriate device in this command.&lt;br /&gt;
&lt;br /&gt;
== Mount the ISO and Prepare Installation Sources ==&lt;br /&gt;
Mount Image to /tftproot/cdrom &lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir /tftproot/cdrom; mount -o loop /tftproot/winxp.iso /tftproot/cdrom &amp;lt;/pre&amp;gt;&lt;br /&gt;
Create the new directory for the network installation files and copy the needed files to it&lt;br /&gt;
&amp;lt;pre&amp;gt; mkdir /tftproot/winxp; cp -R /tftproot/cdrom/i386 /tftproot/winxp/i386&amp;lt;/pre&amp;gt;&lt;br /&gt;
Depending on your CD/DVD copy of windows the directory name may be I386 as opposed to i386, if that is the case you will just need to change the first part of the command, keeping the new directory name i386 - this is going to be very important later on when creating the remap file!&lt;br /&gt;
Check the contents of your newly created i386 directory to see if the filenames are in all CAPS or if they are already in lowercase. &lt;br /&gt;
&amp;lt;pre&amp;gt; ls /tftproot/winxp/i386&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you happen to have all UPPERCASE filenames, lets go ahead and run a script to convert it to all lowercase:&lt;br /&gt;
&amp;lt;pre&amp;gt; cd /tftproot/winxp/i386;ls | awk '$0!=tolower($0){printf &amp;quot;mv \&amp;quot;%s\&amp;quot; \&amp;quot;%s\&amp;quot;\n&amp;quot;,$0,tolower($0)}' | sh &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Extracting and Modifying the Required Boot Files ==&lt;br /&gt;
Install app-arch/cabextract&lt;br /&gt;
&amp;lt;pre&amp;gt;emerge -av app-arch/cabextract&amp;lt;/pre&amp;gt;&lt;br /&gt;
Extract the prepackaged drivers:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd /tftproot/winxp/i386;cabextract driver.cab&amp;lt;/pre&amp;gt;&lt;br /&gt;
Install support for a large list of network cards&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tftproot/;wget http://downloads.sourceforge.net/project/bootfloppy/pxefiles.tar.gz&lt;br /&gt;
tar zxvf pxefiles.tar.gz; cp pxefiles/drivers/* winxp/i386/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Copy the BINLSRV /INFParser tools to /tftproot&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp pxefiles/scripts/* /tftproot/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Extract the netboot startrom:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd /tftproot; cabextract winxp/i386/startrom.n1_&amp;lt;/pre&amp;gt;&lt;br /&gt;
Fix the startrom for netbooting xp:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sed -i -e 's/NTLDR/XPLDR/gi' startrom.n12&lt;br /&gt;
mv startrom.n12 winxp.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Fix XPLDR:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cabextract winxp/i386/setupldr.ex_&lt;br /&gt;
sed -i -e 's/winnt\.sif/winxp\.sif/gi' setupldr.exe&lt;br /&gt;
sed -i -e 's/ntdetect\.com/ntdetect\.wxp/gi' setupldr.exe&lt;br /&gt;
mv setupldr.exe xpldr&lt;br /&gt;
cp winxp/i386/ntdetect.com ntdetect.wxp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Creating a remapping file ==&lt;br /&gt;
Create the file /tftproot/tftpd.remap and add the following to it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ri ^[az]: # Remove “drive letters”&lt;br /&gt;
rg \\ / # Convert backslashes to slashes&lt;br /&gt;
rg \# @ # Convert hash marks to @ signs&lt;br /&gt;
rg /../ /..no../ # Convert /../ to /..no../&lt;br /&gt;
rg A a&lt;br /&gt;
rg B b&lt;br /&gt;
rg C c&lt;br /&gt;
rg D d&lt;br /&gt;
rg E e&lt;br /&gt;
rg F f&lt;br /&gt;
rg G g&lt;br /&gt;
rg H h&lt;br /&gt;
rg I i&lt;br /&gt;
rg J j&lt;br /&gt;
rg K k&lt;br /&gt;
rg L l&lt;br /&gt;
rg M m&lt;br /&gt;
rg N n&lt;br /&gt;
rg O o&lt;br /&gt;
rg P p&lt;br /&gt;
rg Q q&lt;br /&gt;
rg R r&lt;br /&gt;
rg S s&lt;br /&gt;
rg T t&lt;br /&gt;
rg U u&lt;br /&gt;
rg V v&lt;br /&gt;
rg W w&lt;br /&gt;
rg X x&lt;br /&gt;
rg Y y&lt;br /&gt;
rg Z z&lt;br /&gt;
r ^/(.*) \1&lt;br /&gt;
r ^xpldr xpldr&lt;br /&gt;
r ^ntdetect.wxp ntdetect.wxp&lt;br /&gt;
r ^winxp.sif winxp.sif&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install/Configure Samba ==&lt;br /&gt;
If you don't already have samba installed then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge -av net-fs/samba&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Create a Samba share for your tftp server in /etc/samba/smb.conf *Be sure you have the other required samba settings configured in the file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Global]&lt;br /&gt;
interfaces = lo eth0 wlan0&lt;br /&gt;
bind interfaces only = yes&lt;br /&gt;
workgroup = WORKGROUP&lt;br /&gt;
security = user&lt;br /&gt;
&lt;br /&gt;
[tftproot]&lt;br /&gt;
path = /tftproot&lt;br /&gt;
browsable = true&lt;br /&gt;
read only = yes&lt;br /&gt;
writable = no&lt;br /&gt;
guest ok = yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start Samba:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/init.d/samba start&lt;br /&gt;
&amp;lt;/pre&amp;gt;   or if samba has already been started:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/init.d/samba restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Creating a Setup Instruction File==&lt;br /&gt;
Create a the file /tftproot/winxp.sif and add the following, replacing SAMBA_SERVER_IP with the local IP address of your samba server:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[data]&lt;br /&gt;
floppyless = &amp;quot;1&amp;quot;&lt;br /&gt;
msdosinitiated = &amp;quot;1&amp;quot;&lt;br /&gt;
; Needed for second stage&lt;br /&gt;
OriSrc = &amp;quot;\\SAMBA_SERVER_IP\tftproot\winxp\i386&amp;quot;&lt;br /&gt;
OriTyp = &amp;quot;4&amp;quot;&lt;br /&gt;
LocalSourceOnCD = 1&lt;br /&gt;
DisableAdminAccountOnDomainJoin = 1&lt;br /&gt;
 &lt;br /&gt;
[SetupData]&lt;br /&gt;
OsLoadOptions = &amp;quot;/fastdetect&amp;quot;&lt;br /&gt;
; Needed for first stage&lt;br /&gt;
SetupSourceDevice = &amp;quot;\Device\LanmanRedirector\SAMBA_SERVER_IP\tftproot\winxp&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
[UserData]&lt;br /&gt;
ComputerName = *&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Editing the pxelinux.cfg/default boot menu ==&lt;br /&gt;
Edit your boot menu so that it contains the following entry:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LABEL WinXP&lt;br /&gt;
	MENU LABEL Install MS Windows XP&lt;br /&gt;
	KERNEL winxp.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Re-Start all required daemons==&lt;br /&gt;
If the daemon isn't already running use start instead or restart in the following commands&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/init.d/dnsmasq restart&lt;br /&gt;
/etc/init.d/in.tftpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Modify Binlsrv, update driver cache, and start driver hosting service ==&lt;br /&gt;
Change the BASEPATH= variable at or around line #62 of binlsrv.py so that it is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BASEPATH='/tftproot/winxp/i386/'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Generate driver cache&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tftproot;./infparser.py winxp/i386/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start binlservice&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./binlsrv.py&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Booting the client == &lt;br /&gt;
If all is well, you should be able to boot the client choosing to ''boot from network'' in the boot options, you should get to your PXELinux bootloader, and see the Install Windows XP option after pressing enter you *should* kick off your XP installation via network!! Congratulations!&lt;/div&gt;</summary>
		<author><name>Godmachine81</name></author>	</entry>

	</feed>