<?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>What I Think &#187; dhcp</title>
	<atom:link href="http://www.paulmc.org/whatithink/tag/dhcp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paulmc.org/whatithink</link>
	<description>Yes. I&#039;m back.</description>
	<lastBuildDate>Sat, 24 Jul 2010 20:23:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creating Your Own Disk Images &#8211; Why And How</title>
		<link>http://www.paulmc.org/whatithink/2007/02/09/creating-your-own-disk-images-why-and-how/</link>
		<comments>http://www.paulmc.org/whatithink/2007/02/09/creating-your-own-disk-images-why-and-how/#comments</comments>
		<pubDate>Fri, 09 Feb 2007 20:29:10 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[disk_image]]></category>
		<category><![CDATA[ghost]]></category>
		<category><![CDATA[network_boot]]></category>
		<category><![CDATA[partimage_is_not_ghost]]></category>
		<category><![CDATA[pxe]]></category>
		<category><![CDATA[restore_cd]]></category>
		<category><![CDATA[tftp]]></category>
		<category><![CDATA[whatithink]]></category>
		<category><![CDATA[windows_xp]]></category>

		<guid isPermaLink="false">http://www.paulmc.org/whatithink/2007/02/09/creating-your-own-disk-images-why-and-how/</guid>
		<description><![CDATA[
My old system has been sitting unused on my desk for the last couple of months. Part of the reason that I wasn&#8217;t using it was that I had installed Windows Server 2003 on it with the intention of using it as a web and backup server for my home LAN. The problem was that [...]]]></description>
			<content:encoded><![CDATA[<p>
My old system has been sitting unused on my desk for the last couple of months. Part of the reason that I wasn&#8217;t using it was that I had installed <a href="http://www.microsoft.com/windowsserver2003/default.mspx">Windows Server 2003</a> on it with the intention of using it as a web and backup server for my home LAN. The problem was that I had never used Windows 2003 before, so I was spending more time reading about configuration options, rather than actually configuring it.
</p>
<p>
Previously I had tried installing <a href="http://www.linux.org/">Linux</a> on it but found that trying to get <a href="http://us3.samba.org/samba/">Samba</a>, <a href="http://www.apache.org/">Apache</a>, <a href="http://www.php.net/">PHP</a> and all the other pieces I needed to work was also too much hassle. Eventually I gave it up as not so much a bad idea, but just an idea that I didn&#8217;t have time to fully research and implement. I&#8217;d love to have the time to delve further into the Linux idea, but for the time being it&#8217;s not to be.
</p>
<p><span id="more-86"></span></p>
<p>
So out come the original restore cd&#8217;s, and after 20 minutes I&#8217;m back to Windows XP Home, along with all the additional rubbish that the manufacturer feels that I should have. AOL, no thanks. McAfee Anti-Virus, no thanks. The list goes on. So before I do anything else, all these programs have to come off. Another 30 minutes, and half a dozen reboots later, I&#8217;m back to a base Windows XP install.
</p>
<p>
Given that this computer is a couple of years old, it only has <a href="http://www.microsoft.com/windowsxp/downloads/updates/sp1/default.mspx">Service Pack 1</a> installed. So now it&#8217;s time to install <a href="http://www.microsoft.com/windowsxp/sp2/default.mspx">Service Pack 2</a>. An hour later, and I&#8217;m ready to install <a href="http://www.sunbelt-software.com/Kerio.cfm">firewall</a>, <a href="http://free.grisoft.com/">anti-virus</a> and <a href="http://www.spybot.info/en/index.html">anti-spyware</a> programs. For any Windows system connected to the Internet, these types of programs are an absolute must.
</p>
<p>
At this stage, I&#8217;ve spent the best part of 2 hours just making the system usable. And I&#8217;ve yet to apply the updates that were released after Service Pack 2. So it&#8217;s time to connect it to the <a href="http://en.wikipedia.org/wiki/LAN">LAN</a> and the Internet. Before I connect any machine to the LAN, I like to make sure that there is an Administrator password set. Unlike <a href="http://www.microsoft.com/windowsxp/pro/evaluation/default.mspx">XP Professional</a>, the &#8220;<a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/lsm_overview_01.mspx?mfr=true">Local Users and Groups</a>&#8221; snap-in is not available for the <a href="http://www.microsoft.com/technet/prodtechnol/windows2000serv/howto/mmcsteps.mspx">Microsoft Management Console</a>, and the Administrators account doesn&#8217;t appear in the User Accounts applet in the Control Panel. So a reboot into Safe Mode is required to set the Administrator password.
</p>
<p>
Now with the firewall up and running and the anti-virus installed, I feel relatively safe connecting to the Internet. On to Windows Update. First off, I have to install <a href="http://en.wikipedia.org/wiki/Windows_Genuine_Advantage">Windows Genuine Advantage</a> before I can get any updates. Once done, there are 60-odd updates to be installed. Away I go, and one hour and a reboot later, the system is as up to date as I can get it.
</p>
<p>
So nearly four hours after I started, the system is up to date, protected and ready to go. On goes <a href="http://www.mozilla.com/en-US/firefox/">Firefox</a> and <a href="http://www.mozilla.com/en-US/thunderbird/">Thunderbird</a>, bookmarks are imported, and email accounts setup. After spending all this time just getting fully set up, I was fairly annoyed as you can imagine. The initial re-imaging of the system took less than 20 minutes, wouldn&#8217;t it be a lot easier if I had an image to reinstall with the all the updates already applied?
</p>
<p>
<a href="http://www.google.com">Google</a> was called on, and that&#8217;s how I found <a href="http://ping.windowsdream.com/">PING</a> (PartImage Is Not Ghost). For those of you in the know, <a href="http://www.symantec.com/home_homeoffice/products/features.jsp?pcid=br&#038;pvid=ghost10">Ghost</a> is a disk imaging program that allows you to create an image of your entire hard-drive, and then use that image to restore your computer if and when you need it. It&#8217;s also used by manufacturers to create restore CD&#8217;s. In fact it&#8217;s used on the restore CD&#8217;s that came with my computer. The problem is that Ghost costs money, and based on my own experience, it doesn&#8217;t always work as expected.
</p>
<p>
Back to PING. This is a free program that performs the same functions as Ghost, but without the hassle. But the real stand out feature is that it allows you to boot into a <a href="http://en.wikipedia.org/wiki/Preboot_Execution_Environment">PXE</a> environment and create/ restore images over the network.
</p>
<p>
Booting into a PXE environment means that no boot CD&#8217;s are needed, the required OS and software are stored on the server machine and downloaded and stored in RAM whent he client machine boots. To use PXE you need a network card that supports the PXE standard. The good news is that the vast majority of network cards available today do support PXE, though sometimes you need to enable &#8220;Boot from Network&#8221; in the system <a href="http://en.wikipedia.org/wiki/BIOS">BIOS</a>.
</p>
<p>
The server side contains a <a href="http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol">DHCP</a> server, <a href="http://en.wikipedia.org/wiki/Tftp">TFTP</a> server and an <a href="http://syslinux.zytor.com/pxe.php">OS image</a>. The DHCP server automatically assigns an IP address to the client machine to allow network access, the TFTP server allows the transfer of the OS image to the client machine &#038; the upload of the disk image from the client to the server. The OS image contains a basic Linux OS along with the disk imaging software.
</p>
<p>
The installation and set-up was a breeze, and in no time at all I was creating an image of the hard-drive on my old system. The image was automatically copied over the network to a removable hard-drive, and 30 minutes later, I had a full disk image to restore from.
</p>
<p>
Maybe it was the lack of sleep, or the fact that I had spent so long staring at a computer screen, but I decided to re-image the system over the network using the disk image that I had just created. If it went wrong, I would have just wasted 5 hours, and would have another 5 hours of work to get the system back up again. Thankfully it worked just as advertised, and the re-imaging process took less than half an hour.
</p>
<p>
While I may not have to use the image all that often, it is nice to know that if I do get it into my head to install another OS, and if it goes wrong, I can be back up and running with a fully up to date OS within 30 minutes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paulmc.org/whatithink/2007/02/09/creating-your-own-disk-images-why-and-how/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
