Difference between revisions of "Booting into FOG and Uploading your first Image"

From FOG Project
Jump to: navigation, search
m (Set client to PXE boot in BIOS)
 
(Updated to reflect changes in web interface for FOG 1.0+)
Line 28: Line 28:
 
#Login to the server (default username is '''fog''' and default password is '''password''').
 
#Login to the server (default username is '''fog''' and default password is '''password''').
 
#Navigate to the '''images section''' which is the icon in the top row that looks like picture.   
 
#Navigate to the '''images section''' which is the icon in the top row that looks like picture.   
#On the left hand menu select '''New Image'''.
+
#On the left hand menu select '''Create New Image'''.
 
#Enter a meaningful Image Name (no special characters)
 
#Enter a meaningful Image Name (no special characters)
 
#Enter a description if you wish.
 
#Enter a description if you wish.
 
#Under storage group, select '''default'''
 
#Under storage group, select '''default'''
 +
#From the drop down menu select the appropriate operating system for the image
 
#If the image file is not as you would like it, change it now (no spaces or special characters)
 
#If the image file is not as you would like it, change it now (no spaces or special characters)
 
#If you are imaging a single partition Windows machine, select '''Single Partition'''
 
#If you are imaging a single partition Windows machine, select '''Single Partition'''
 
#Click '''Add'''
 
#Click '''Add'''
  
[[Image:Newimagedef.png]]
+
[[Image:AddImage.png]]
 
 
== Associated the image with the host ==
 
 
 
Now we have an image object, but we need to link that image to the host we wish to upload.
 
 
 
#Go to the host section by clicking on the monitor in the top menu bar.
 
#Click '''List All Hosts''' and locate the host you registered with the server.
 
#Click the '''Edit''' button next to that host.
 
#Make sure the Host OS is set correctly
 
#Select your image from the Host Image drop down box
 
#Click '''update'''
 
  
 
== Create the Task ==
 
== Create the Task ==

Revision as of 15:46, 11 November 2014

For many of us this will be the first encounter of FOG from a client machine. This article starts with explaining how to boot into FOG and register a host, and then moves on to how to create an image object. Finally, you'll start the upload of the new image to the FOG server.

Set client to PXE boot in BIOS

First of all make sure you are connected to the network in which your FOG server resides. Then boot up the client computer, and try to have it PXE by pressing F12 (usually). More often then not, this works or at the very least, gets you to a "boot options" menu. With that said, there are cases where PXE needs to be first enabled in the BIOS before you can use it. If that is the case, go into BIOS, this step may be a little different for every computer. In most cases this involves pressing either F2, F10, or DEL. Then, if the option exists, enable PXE/Network booting.

Bios.png

After that you want to change your boot order, so the first boot device is PXE boot. After making those changes, save your changes and restart the client.


Start the client up again and you should see a menu that looks like the image below:

Bootmenu.png

This is the FOG boot menu.

Register the Client with the FOG Server

Now that the client is pxe booting, we can register it with the FOG server. To do so, select "Perform Full Host Registration and Inventory." During this process you will be asked to answer a few questions like the client's hostname etc. After filling out all questions, the client will go through a quick hardware inventory and restart, at which point the client will be registered with the FOG server.

Create an image object

At this point we must log into the web interface for FOG, this can be done on any PC with network access and web browser.

  1. Open a browser and navigate to http://[yourserverip]/fog.
  2. Login to the server (default username is fog and default password is password).
  3. Navigate to the images section which is the icon in the top row that looks like picture.
  4. On the left hand menu select Create New Image.
  5. Enter a meaningful Image Name (no special characters)
  6. Enter a description if you wish.
  7. Under storage group, select default
  8. From the drop down menu select the appropriate operating system for the image
  9. If the image file is not as you would like it, change it now (no spaces or special characters)
  10. If you are imaging a single partition Windows machine, select Single Partition
  11. Click Add

AddImage.png

Create the Task

  1. Still in the host object, click on the Basic Tasks option on the left hand menu.
  2. Select Upload
  3. Click Upload Image
  4. Reboot client and it should pull an image from that computer.