Home > FOG > Changing The Kernel FOG Clients Use For PXE Boot

Changing The Kernel FOG Clients Use For PXE Boot

In the organization I work at, we use a free, open source cloning solution called FOG. FOG is led by The FOG Project Team. FOG ties together a few open-source tools with a php-based web interface. It does not use any boot disks or CDs; everything is done via TFTP and PXE. With fog many device drivers are built into the kernel. Occasionally we will receive a machine to clone that is not compatible with the current FOG kernel we use. Here is how I change the kernel for FOG:

  1. Download the FOG kernel that you need. This SourceForge page contains over sixty different FOG kernels you can use. To know which FOG kernel you need for your hardware, check out the Working Devices page. There you will find an extensive list of computers organized by manufacturer and model along with the appropriate FOG kernel you would need. If you cannot find the kernel you need there, you may need to Google it.
  2. Copy the kernel to the following directory on your FOG server:

    /tftpboot/fog/kernel

  3. Create a symbolic link to the FOG kernel you just downloaded and name it ‘bzImage’

    ln -s Kernel-2.6.33.3.PS bzImage

    Replace Kernel-2.6.33.3.PS with your kernel of choice.

  4. Try imaging a client with the new kernel.

Things to remember:

  •  Make sure the machine is set to PXE boot
  • If you are attempting to perform a full host registration or quick image and the video ‘craps out’, you might still have the correct kernel. Try manually registering the host or deploying the image through the web interface and then look under Task Management > Active Tasks to see if it is cloning.
  • Anytime you need to change the kernel, simply remove the symbolic link bzImage and create a new one pointing to the new kernel.
Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: