{"id":1036,"date":"2012-11-29T09:59:24","date_gmt":"2012-11-29T14:59:24","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=1036"},"modified":"2012-11-29T09:59:24","modified_gmt":"2012-11-29T14:59:24","slug":"fog-windows-7-sysprep","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2012\/11\/fog-windows-7-sysprep\/","title":{"rendered":"Fog, Windows 7, Sysprep"},"content":{"rendered":"<p>Back in the day (I&#8217;m starting to feel old now) I setup a Ghost server with PXE booting.  It was a pretty nice setup; a Dell PE2550 with 4x144GB SCSI (~385GB usable), 24port gigabit switch, and enough desk space &#8211; and power &#8211; to handle 16 laptops or 22 desktops at a time.  It took 2 of us about 3 weeks to get the workspace setup, and another 3 weeks to get the Ghost server and PXE working.  And then there was always the issue of updating the drivers on the PXE image without breaking anything else.  Basically crossing your fingers and hoping for the best.<\/p>\n<p>That was five years ago.<\/p>\n<p>Looking back on my previous experiences I can definitely say I&#8217;ve grown and become more knowledgeable.  Back then, when I had researched a solution, I just googled for &#8220;imaging software server&#8221; or something similar.  Working for a computer reseller meant that I had access to NFR copies of quite a bit of software, so management decided that we should go with Ghost.  I hadn&#8217;t even begun to research into FOG yet.<\/p>\n<p>Fast forward the five (almost 6 now) years, and I know to look into server software that supports all operating systems, supports multicast, and is fairly intuitive to setup.  Enter FOG.<\/p>\n<p>I like to install the latest and greatest, but in this case I had some issues that I didn&#8217;t feel like resolving when I tried to use FOG with 12.04LTS.  Instead I opted to use 10.04LTS.  It&#8217;s an internal server, so the patching levels are not generally as critical.  I also installed this on a production network &#8211; there are 7 VLANS, active directory and windows DNS\/DHCP, cisco switches.  IP helper has already been set on the switches for DHCP.  The active directory environment is 2008R2.<\/p>\n<p><strong>Install Ubuntu 10.04LTS x32<\/strong> &#8211; I gave it a single 2.4GHz Xeon core, 512MB RAM, and 120GB partition.  Installed with LAMP (no mysql password), SSH, and Mail.<br \/>\nChange the Root Password<br \/>\nsudo passwd root<br \/>\nLogin As Root<br \/>\nsu<br \/>\nUpdate the system<br \/>\napt-get update &#038;&#038; dist-upgrade<br \/>\nReboot<br \/>\nreboot<\/p>\n<p><strong>Install FOG<\/strong> &#8211; version 0.32 at the time of this writing<br \/>\nmkdir -p \/opt\/fog-setup<br \/>\ncd \/opt\/fog-setup<br \/>\nwget http:\/\/sourceforge.net\/projects\/freeghost\/files\/FOG\/fog_0.32\/fog_0.32.tar.gz<br \/>\ntar -xvzf fog*<br \/>\ncd fog*<br \/>\ncd bin<br \/>\n.\/installfog.sh<br \/>\nThe wizard now starts.  http:\/\/www.fogproject.org\/wiki\/index.php\/Integrating_FOG_into_an_Existing_Network<br \/>\nI chose the following:<br \/>\n&#8220;N&#8221; normal installation<br \/>\n10.10.10.10 IP Address of FOG<br \/>\n&#8220;Y&#8221; to setup a router\/DHCP address<br \/>\n10.0.10.1 IP address of DHCP server<br \/>\n&#8220;Y&#8221; to DNS<br \/>\n10.0.10.1 IP address of DNS<br \/>\n&#8220;N&#8221; eth0 is fine by me<br \/>\n&#8220;N&#8221; I already have DHCP<br \/>\n&#8220;N&#8221; I&#8217;m not international<br \/>\n&#8220;Y&#8221; looks good; set it up<br \/>\nMake sure you read!  If you have a password setup on mysql you must adjust the configuration files accordingly (opt\/fog\/service\/etc\/config.php)<br \/>\nI ended up rebooting the server just in case.<\/p>\n<p><strong>Edit the Windows DHCP Options<\/strong><br \/>\nI have 7 different DHCP scopes (one for each of the VLANs I had), so your settings may be different.  Instead of making the options change per scope, I performed the task in the Server Options area.<br \/>\nRight-click and select &#8220;Configure Options&#8221;<br \/>\nSelect 066 and set the value to your FOG server IP address<br \/>\nSelect 067 and set the value to pxelinux.0<\/p>\n<p>At this point you should be able to connect to your PXE FOG server &#8211; set a test workstation\/laptop to boot PXE (Dell&#8217;s have F12 for this), and connect via your network interface.<\/p>\n<p>SYSPREP coming soon<br \/>\nCONFIGURATION OF FOG coming soon<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Back in the day (I&#8217;m starting to feel old now) I setup a Ghost server with PXE booting. It was a pretty nice setup; a Dell PE2550 with 4x144GB SCSI (~385GB usable), 24port gigabit switch, and enough desk space &#8211; and power &#8211; to handle 16 laptops or 22 desktops at a time. It took &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2012\/11\/fog-windows-7-sysprep\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Fog, Windows 7, Sysprep<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,1],"tags":[],"class_list":["post-1036","post","type-post","status-publish","format-standard","hentry","category-linux","category-miscellaneous"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1036","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=1036"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1036\/revisions"}],"predecessor-version":[{"id":1037,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1036\/revisions\/1037"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=1036"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=1036"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=1036"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}