Imaging Computers - creating the image
Using Fog imagine server
Boot the computer into the bios menu, from there you'll want to do a few things depending on the brand, make, and model of the device. In most cases, you're able to navigate to the security settings of the bios menu and disable secure boot. Take a look at the settings and look for any options that may inhibit PXE booting.
Registering the machine at FOG¶
Now that the machine is ready to capture the image from, it is time to
boot it from the network.
Plug in a cabled ethernet connection and in the BIOS, make sure the
machine boots from the network.
Then you will be presented with the Fog boot menu:
Use your arrow keys to move the selection up and down. The default,
'boot from hard disk' is chosen in 3 seconds, so be quick.
In red you see the the statement that the host is NOT registered. It
means that the host is not known by Fog.
registers
For capturing an image, you need the host to be registered, so choose
'Quick registration and inventory'.
You'll see some text scrolling on the screen as Fog registers the
host: Then the client is rebooted. Shut down the computer.
Register the image at FOG¶
Log in on the Fog Web UI and go to 'Image Management' 'Create New
Image':
Give the new image a name and leave the chosen options as they are, and
clik on 'Add'.
The goal of this step is that you are registering a new image in Fog
(you can use manage multiple images). The image will be a copy of the
complete harddisk and all partitions on the harddisk will be captured
and deployed.
Associate the image with the machine¶
Now to go 'Host Management' then 'List All Hosts' and click on the
machine you have registered:
For now, the machine name is it's MAC address. Don't worry about that
now as we will only use this host for capturing an image.
For the 'Host Image' drop-down box, choose the image you've just
created. Then click on 'Update' in on the bottom of the screen.
You have now associated the Windows 10 image with this host.
Create a capture task¶
We are now going to make a 'capture tasks' for this host. This task
instructs FOG that when this machine boots from the network, the
contents of the harddisk must be captured and stored as the 'Windows
10' image on the FOG server.
While still in the Host Management of this machine, go to 'Basic
Tasks' and choose 'Capture':
Here you can change settings of the imaging task.
Leave the options as they are and clik on 'Task':
A capture task is now created.
Capture the image¶
Now start your machine and make sure it boots from the network.
As an image capture task is assigned to this machine, the FOG boot menu
will not appear, but directly Partclone will be launched and the image
will be captured:
On the console of your machine you will first see that FOG is doing some
actions like resizing partitions and then Partclone will be executed:
The contents of the harddisk will be read and via the network written as
a compressed image file on the Fog server. Depending on the speed of
your network and computers this may take a while.
Partclone may be invoked a couple of times depending on the number of
partitions that need to be imaged.
When the capture has been completed, FOG will update the database and the
machine will reboot.
Now you have captured an image that you can deploy easily on other
machines with FOG.