Overview
GFI/Kerio provides a set of tools for solutions for situations in which it is not possible to connect to Kerio Control on a network and administer it through the Kerio Control Administration web interface.
These tools are designed to run from a USB flash drive.
You need a flash drive with the capacity of at least 1 GB to run the tools. For restoring the default configuration, 256 MB suffices.
If you have any issues after using the tools, for example, if Kerio Control fails to work even after you perform a complete system recovery, please contact our technical support.
Solution
Restoring the default configuration
For more information, please refer to the Factory Resetting Kerio Control box.
Running a complete system recovery
During the complete system recovery, all configuration data, including activation and the statistics database, is completely rewritten. This means that you must reactivate and reconfigure the device afterward.
WARNING: Before doing a complete system recovery, restore the default configuration, and then retest the connection to Kerio Control.
Preparing a flash drive for a complete system recovery
For complete system recovery, you must save the installation disk image directly to the physical device.
Microsoft Windows
- Insert the flash drive into a USB port on your computer (1 GB and more).
NOTE: All data on the flash drive is completely overwritten.
- Download and unpack Image Writer (it does not require installation).
- Download the kerio-control-rescue file.
- In Image Writer, find the file, select your flash drive and click Write.
- Eject the flash drive securely and remove it from your computer.
Linux
- Insert the flash drive into a USB port on your computer (1 GB and more).
NOTE: All data on the flash drive will be completely overwritten.
- Download the kerio-control-rescue file.
- Run the terminal (console) in the super-user mode (for example, using the
su
orsudo -s
command depending on your Linux distribution). - Use the command
fdisk -l
to detect the USB flash drive name (for example,/dev/sdx
). - Save the kerio-control-rescue file to the flash drive using the following command:
dd if=rescue.img of=/dev/sdx bs=1M
and replacerescue.img
with the real file name and/dev/sdx
with the actual device name. You must type the physical device (for example,/dev/sdx
), not a partition (for example,/dev/sdx1
). - Use the
sync
command to ensure all disk operations finish. - Eject the USB drive safely and remove it from the USB port.
Mac OS X
- Insert the flash drive into a USB port on your computer (1 GB and more).
NOTE: All data on the flash drive will be completely overwritten.
- Download the kerio-control-rescue file.
- Run the terminal: Applications > Utilities > Terminal.
- Use the
sudo diskutil list
command to detect the USB flash drive name (for example,/dev/diskX
).
NOTE: The drive name is case sensitive.
- Use the
sudo diskutil unmountDisk /dev/diskX
command to unmount the flash drive. - Save the kerio-control-rescue file to the USB flash drive using the following command:
sudo dd if=rescue.img of=/dev/disk1 bs=1m
and replacerescue.img
with the real file name and/dev/diskX
with the actual device name. - Eject the flash drive securely and remove it from your computer.
Kerio Control Box system recovery
- Switch off Kerio Control.
- Plug the USB flash drive into a USB port of your Kerio Control Box.
- Switch on Kerio Control. Wait for applying the kerio-control-rescue script.
- Kerio Control turns off after the recovery finishes.
- Switch on Kerio Control
Recovering the USB flash drive for further use
The recovery file creates partitions on the USB flash drive. To reuse the USB drive for other purposes, you need to remove all disk partitions, create new partitions, and reformat the disk for your file system.
Microsoft Window
- Click Start and in the Search field type
cmd.exe
to open the Command Prompt window. - In the command line, type
diskpart
. You may need to confirm that you have administration rights. - Type
list disk
to display the list of drives and look up the number of the physical USB drive. - Type
select disk X
(replaceX
with the number of the corresponding disk). - Type
clean
to remove all partitions. - Create a new disk partition by typing the following commands in the order listed:
create partition primary select partition 1 format fs=fat32 label="USB Flash" quick exit
Linux
Use the graphical tool GParted or the command fdisk
.
Mac OS X
Use the system tool Disk Utility: Application > Utilities > Disk Utility.
Formatting a USB flash drive with MBR
- Click Start and in the Search field type
cmd.exe
to open the Command Prompt window. - In the command line, type
diskpart
. You may need to confirm that you have administration rights. - Type
list disk
to display the list of drives and look up the number of the physical USB drive. - Type
select disk X
(replaceX
with the number of the corresponding disk). - Type
clean
to remove all partitions. - Type
rescan
to locate new disks that may have been added to the computer. - Create a new disk partition by typing the following commands in the order listed:
create partition primary select partition 1 format fs=fat32 label="USB Flash" quick exit