When installing Fog on Ubuntu 10.04, you must first install libmd5-perl, or the installer script for Fog
will error out.
wget http://ftp.debian.org/pool/main/libm/libmd5-perl/libmd5-perl_2.03-1_all.deb
sudo dpkg -i libmd5-perl_2.03-1_all.deb

Once you have done that, everything should go smoothly. If you tried to install Fog first and got the error, simply re-run the installer script.
Next, check /etc/default/tftpd-hpa and make sure TFTP_DIRECTORY is set to the Directory with pxelinux.0 By default, this should be /tftpboot.

This is how I accomplished the installation of 0.28, if you are installing 0.29 or later, there is a step-by-step guide at;
http://www.fogproject.org/wiki/index.php?title=Ubuntu_10.04
Be sure to read the “known issues” section at the top of the page for the “official” fixes to these issues.
Boot Windows normally, open a browser and point it to http://192.168.138.8/fog/client/ from here, you
will need to click the download link and install the FOG client.
In order for Fog to work, the clients must be able to PXE boot. Be sure to check the client machines
BIOS in Integrated Peripherals>Onboard Devices>Onboard LAN Boot ROM and ensure this is
enabled. If not, enable it, hit F10 to save and exit, then when the machine reboots, enter the BIOS again
and make sure Nvidia Boot Age is in the boot sequence; Advanced BIOS Features>Boot Seq & Floppy
Setup
Once the machine is set up for PXE boot, you will need to reboot it, and test the PXE boot
functionality, if all goes well, you should see a FOG menu screen with several options. Choose "Quick
Host Registration and Inventory". This step registers the client with the Fog server, so we can begin
imaging it in the next step. Once the registration completes, let Windows boot normally, and make sure
the fog service is running.
Now, you are done with the client, move to a machine other than the one you want to image, open a
browser and point it to; http://192.168.138.8. This is the fog WebUI. If you haven't done so, the Web UI
will ask you to update, just click ok, then log back in. Please note that you will only perform this step
once. Now log back in with fog/password and click Image Management>New Image. Give the image a
name and description. Next, you will want to navigate to Host Management>List All Hosts. Your
client/clients should be in this list. Click the edit button next to the client and in the host image dropdown
menu choose the name of the image object you just created, and in the host OS drop-down,
choose the client's OS. Click the update button.
Now, navigate to the Task Management section, and choose “list all hosts”. You should see any hosts
you have registered here. Choose “Upload” to enter the client into the que for imaging. Once the image
is uploaded, you can use the “deploy” button to push the image out to any of the hosts you have
registered with the server.
A couple notes regaurding Windows 7;
Sometimes, for whatever reason, the fog client can't automatically reboot Windows 7 clients. If this
happens you may need to reboot them manually.
Windows 7 by default creates a 100MB partition that it doesn't tell you about. This partition contains
boot files and bitlocker data. In order for Fog to Image Windows 7 properly, you need to make sure
when creating your initial image object in the FOG WebUI, you choose Windows 7, Multiple Partition,
Single disk in the drop down menu. Otherwise, both partitions won't be imaged, which will result in
your newly imaged hosts failing to boot.