This tutorial will show how to install FOG, a free computer imaging solution on Fedora 8. FOG is an open source replacement for products like Ghost or Zenworks Imaging. FOG can be used to image Windows XP and Vista machines that have a single partition on them. FOG does not use boot disks, instead everything is done via PXE and DHCP. The management of FOG is all done via a web portal. FOG also includes things like memtest, disk wiping, low-level disk checking and file recovery. FOG also includes a service that will do things like change the computer’s hostname after imaging, etc. For more information please see the FOG website at http://freeghost.sf.net
Before you begin, you will need at least two computers, one that will act as the FOG server and a second, which will at as our client. Please understand that this tutorial will have you destroy all data on the hard disks of both computers.
Installing Fedora 8
The first thing to do is download and burn an ISO image of Fedora 8 from http://fedoraproject.org/.
Next boot off the CD / DVD you just created to start the Fedora installation process.
You should see a screen similar to the pictured below, select: Install or Upgrade an existing System and press enter.
You will then be prompted if you would like to test the installation media, choose: Skip and press enter.
Now the graphical portion of the installation will begin. At the welcome screen, press: Next.
Next you will be prompted for the installation language, choose you appropiate language and press: Next.
You will now be asked about disk partitioning. Select Remove all partition on the selected drives and create default layout, then click: Next.
You will now be asked about network addressing, select the network device you would like to use by putting an check in the box next to the device name then, click on the edit button. Assign the network device a IPv4 address with subnet mask and disable IPv6 support, then click OK. Enter a DNS server and gateway address along with a hostname, then click: Next.
Next you will be prompted about you timezone information, select your timezone and click: Next.
The next screen will prompt you to create a root password, enter a password in the textbox and confirm, then press: Next.
The next screen will prompt you to select the software groups you would like to install, uncheck Office and Productivity and then click: Next.
Then on the next screen click Next to start the installation. This step will take some time, so please be patient. When installation is complete, remove all disks from the CD/DVD drive and click reboot to restart the computer.
Selecting First Boot Settings
The first time Fedora boots it will load a setup wizard, which allows you select how you would like Fedora to operate.
At the first boot welcome screen, click: Forward.
The next screen will ask you to accept the license agreement, do so and click: Forward.
The next screen is about the firewall, change the firewall to: Disabled and click: Forward.
The next screen will ask you about SELinux, set SELinux Setting to:Disabled and click: Forward.
The next screen will prompt you for the date and time settings, click: Forward.
The next screen will ask if you would like to send your hardware profile to Fedora select an option and click: Forward.
You will now be prompted to create a user, you may skip this step and just use the root user we created during installation by clicking: Forward.
The first boot wizard is now complete and you will be prompted to restart your computer.
Setting Up FOG
You system is now ready to login to and install the FOG Suite.
Log into Fedora using the root username and password you created during installation.
Now we must download the FOG package from sourceforge. To do this click on Applications -> Internet -> Firefox Web Browser and enter the URL http://www.sf.net/projects/freeghost. Then click on the Download link. Then click on the latest release to start the download and save the package to the /opt directory. It should be named something like fog_x.xx.fc.tar.gz
Open a terminal (Applications -> System Tools -> Terminal) and type:
tar -xvzf fog*
The installer will ask you for the IP address of the server, then press enter and the installer does the rest.
After the installation has completed open Firefox again and enter the URL: http://[youripaddress]/fog/management. You will then be prompted to install the database schema.
When the schema is up to date, attempt to go to the URL: http://[youripaddress]/fog/management again. This time you should be prompted to login, enter the username: fog and password: password.
Testing Your Installation
After login, click on the Hosts button (single computer monitor).
Then click on the Add New Host button. Enter at least a MAC address (seperated by 🙂 and a hostname and click the Add button.
Now click on the Tasks button (the star).
Then click on List All Hosts and find the host you just created and click on the Advanced button.
Now under Advanced Actions click on Memtest86+ and confirm that you would like to start the task.
Now click on Active Tasks and you should see the task that you just created listed.
Lastly, start the client computer that you created a task for and ensure that in BIOS, PXE boot has the highest boot priority. If everything worked correctly, you should see memtest86+ load.
For more help uploading and downloading images from FOG see the FOG help section (the little lifesaver icon in the management section) or see the FOG website at http://freeghost.sf.net.