How to Setup Ubuntu Server/FOG 1.2.0/Create Univeral Windows 7 Image using Sysprep - Step-by-Step
-
[B]Uploading your reference image to FOG[/B]
-
After sysprep completes it will shut down your VM or workstation.
-
On another machine, open your Fog Management Console [url]http://FogServer/Fog/Management[/url]
-
Clicks Image Management -> New Image
• Name the image something meaningful, enter a description if you desire and for Windows 7 make sure to set Image Type -> Multiple Partition Image – Single Disk (Not Resizable)
i. This is why you need to use a smaller partition and we set the System Disk – Extend feature in
the unattend.xml file.
• Save your changes. -
Power the sysprep computer on and enter the BIOS screen. Ensure that the computer is set to PXE boot and that FOG’s PXE functionality is working on your network.
-
When the computer reaches the FOG PXE boot menu, select Registration and Inventory and register the host. It helps to name it something that reminds you of its purpose. I usually do Win7x64Sysprep or the like.
-
As you enter the options, make sure to select your new Host Image from the options and you can set the HOST OS.
-
After the host registers shut the computer down.
-
Now back in the web management interface; click Host Management -> List all Hosts – Select your imaging host. (Win7x64Sysprep)
-
Click Update to save your changes.
-
Click Basic Tasks (on the left) -> Upload
-
Select Shutdown after Task Completion, if you need any scheduling you can enter that, and click Upload Image.
-
Start up your VM or workstation you sysprepped. As it starts the PXE boot it will detect a waiting task from FOG
and begin the image upload process. -
Once completed let the workstation power off and congrats! You’ve just created a universal Windows 7 image
with easy deployment through FOG!!
I hope I haven’t missed anything, I have attached this guide as a PDF in the original post that may be a bit easier to read! Good luck all
-
-
I like what you have done here, thank you for taking the time to make a write up. I think this should curb some of the issues that users are having with installing a FOG server for the first time, and you have touched most of the bases including image creation, very nicely done.
-
Jaymes Driver has said it already, great stuff and thanks for the share.
I have made this a sticky for now as it is great for newcomers -
quick correction. db password is now stored in [SIZE=13px][FONT=arial][COLOR=#262626]/var/www/fog/lib/fog/Config.class.php in fog 1.2.0+[/COLOR][/FONT][/SIZE]
-
Cheers Junkhacker. Was bound to miss something. Will edit to reflect.
-
What if my dhcp is served by pfsense?
And computers on my main network are on static ip?
-
[quote=“prince xyryl, post: 34301, member: 25316”]What if my dhcp is served by pfsense?
And computers on my main network are on static ip?[/quote]
Then you look on the wiki or you ask a question in the help section and you don’t hijack someone’s tutorial thread.
My suggestion is using DNSMasq [url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#DNSMASQ_settings_for_iPXE[/url]
If you have issues please post in the Fog forums section and do not muddle up this thread.
It does not matter what ip address your machines have, when they enter TFTP they look for a dhcp server and DNSMasq will offer the correct information to the clients so they can boot.
-
Highjack? Muddleup? I didnt intend to do that , im sorry if I did. You can warn me in a more nice and professional way though… Thanks anyway
-
[quote=“prince xyryl, post: 34306, member: 25316”]Highjack? Muddleup? I didnt intend to do that , im sorry if I did. You can warn me in a more nice and professional way though… Thanks anyway[/quote]
I don’t think it was meant as an “unprofessional” point of retention. It was more meant to inform. He still answered the question, and gave the “warning” in a descriptive way. Sometimes people’s phrasing may come off as “harsh”. We must all remember we’re reading text on a forum. There is no conceptual method of portraying the true intentions. Maybe it was meant to be degrading, maybe it was not intended in such a form at all.
Please understand that it’s just meant to suggest to a person that the tutorials, and especially those that are not requesting tutorials but actually giving tutorial descriptions, to use the appropriate forum areas to ask questions. If you need to link back to the relevant thread, simply copy the link in your post.
Hopefully this helps clarify the intentions of what we’re trying so hard to maintain and accomplish.
-
Jesus. Great job! As one who rights how-to’s myself, I know that took a lot of work. Thanks.
-
[S]Perhaps dumb question, but I can’t find a clear answer: where exactly do you download the client service application?[/S]
Searched a little harder and found it.
The Fog Client Service Application can be found at [url]http://<your[/url] fog server>/fog/client.
-
Or, if you need a direct link, it would be:
[url]Http://<your[/url] fog server hostname or ip>/fog/management/index.php?node=client -
[quote=“Tom Elliott, post: 34308, member: 7271”]I don’t think it was meant as an “unprofessional” point of retention. It was more meant to inform. He still answered the question, and gave the “warning” in a descriptive way. Sometimes people’s phrasing may come off as “harsh”. We must all remember we’re reading text on a forum. There is no conceptual method of portraying the true intentions. Maybe it was meant to be degrading, maybe it was not intended in such a form at all.
Please understand that it’s just meant to suggest to a person that the tutorials, and especially those that are not requesting tutorials but actually giving tutorial descriptions, to use the appropriate forum areas to ask questions. If you need to link back to the relevant thread, simply copy the link in your post.
Hopefully this helps clarify the intentions of what we’re trying so hard to maintain and accomplish.[/quote]
oh? ok sir. Thanks
-
Hey all,
I am a District IT for a School District and we are mass deploying new teacher/lab computersI have everything set up and ready to pull a master image to send out to other PC and I am running into a problem. I have my FOG management up and running and I have a image created in Image Management. I have my FOG management on one laptop connected to a Linksys 8 port switch and the master laptop that I want the image from connected also. I have Sysprep the Master Image and booted it to Onboard NIC. It finds the Client IP that I have set up but can not find the PXE and the TFTP times out.
Anyone got a answer for this problem?
Thanks
-
[quote=“TCUAdmin, post: 34426, member: 25341”]Hey all,
I am a District IT for a School District and we are mass deploying new teacher/lab computersI have everything set up and ready to pull a master image to send out to other PC and I am running into a problem. I have my FOG management up and running and I have a image created in Image Management. I have my FOG management on one laptop connected to a Linksys 8 port switch and the master laptop that I want the image from connected also. I have Sysprep the Master Image and booted it to Onboard NIC. It finds the Client IP that I have set up but can not find the PXE and the TFTP times out.
Anyone got a answer for this problem?
Thanks[/quote]
TCUAdmin’s question is addressed here [url]http://fogproject.org/forum/threads/cant-find-pxe-and-tftp.11278/[/url]
-
Thanks for investing the time to write this up! I have been using FOG for a few years now, using a FOG server instance that originally I downloaded as a Virtual Appliance on a Hypervisor server. We recently moved all of our servers to Hyper-V on Windows 2012, so I followed your directions to install the latest version from scratch in a Hyper-V VM. I created another Hyper-V VM for setting up an image machine. However, when I went to upload the image (after spending considerable time getting the image’s OS prepared, including driverpacks, etc), I found that the VM wouldn’t boot to iPXE. After doing a bit of looking, I found that I’m not the only one having this problem on Hyper-V ([url]http://fogproject.org/forum/threads/change-needed-for-vm-to-pxe-boot-to-fog.10146/[/url]).
What VM platform did you use to create your image machine VM?
-
I used Oracle virtualbox. Free and works perfectly every time
-
@Mike Stoltzfus
I think there are many of us the use Virtualbox for the image building vm -
@Liam thanks for the great step by step guide really appreciate it. But I am quite new to Fog and struggle sometimes with the basic of things. You lost me between creating the unattended.xml file and the creating the iso to boot the test pc from.
My question is where did you save this .xml file too? and how was this incorporated into the iso too b used in a VM or physical box. did u use software? If you could explain this step in detail it will be mush appreciated.oh and BTW for all other noobs out there please ensure that you download the [COLOR=#ff0000]exact[/COLOR] version of WAIK that you are trying to use e.g. win7 sp1 WAIK isn’t compatible with win 7 WAIK and visa versa. Windows has released a supplement but it has no install files
-
Hi
You are quite correct I did gloss over that a bit, sorry. Basically, I saved the unattend.xml file on to a shared drive/folder on my network. You just install windows as you normally do either with a disc or mounted ISO in a VM. I would always use a VM btw unless there really is a reason not to. Snapshots are the key Now, because your VM/machine will also be on your network in order to pull an image from it, you just access the shared drive where you saved the unattend.xml file from the VM and drag into the \System32\SysPrep folder as described in the walkthrough. Thats all it is, no need to modify any ISO’s.Good call on the WAIK tip, something else to note with that is that I found it wouldn’t let me create a 32 bit answer file on a 64 bit machine and vice versa either. Gotta love Microsoft.
Good Luck