Downloading and installing the "Self-Test" kit
Downloading the "Self-Test" kit
Log on to your Client Area by typing the following address in your Internet browser: https://mystormshield.eu/
To access the secure areas, sign up or log in by entering the login and password that Stormshield has sent to you. Your secure client or partner area will appear.
In the Product menu and Technical support sub-menu, click on "Self-Test". Select the model of the product to be restored and you will see the list of products that you have registered. Then double click on the serial number of the product you wish to check with "Self-Test".
Details concerning this “Self-Test” procedure will appear.
The Documentation link offers the download of documentation relating to “Self-Test” and the restoration via USB drive for Stormshield Network products.
If you have selected the Microsoft Windows operating system, the Additional Tool link will offer to download the “Win32DiskImager” tool that allows copying the “Self-Test” tool or the disk image for restoring the product, on the USB drive.
Click on the link corresponding to your operating system, then save the downloaded file on your computer. Unzip it in a dedicated folder.
This section describes the procedure of copying the file on a USB drive. The procedure varies according to the operating system.
In Windows with Win32DiskImager
- Unzip the archive Win32DiskImager.zip.
- Next, double-click on the file "Win32DiskImager.exe" to run the application.
- The Win32DiskImager tool opens in English.
The tool will copy to the USB drive in three steps:
• Step 1 : Disk image (selection of the file to copy),
• Step 2 : Disk (selection of the target USB drive),
• Step 3 : Copy.
Step 1: Select the file to be copied
The name of the file depends on its contents:
- "Self-Test" tool: USBKEY2.img
- Restoration disk image: the serial number of the product to be restored (e.g.: usb-recovery-sn3kxa94f0035a8.img)
Step 2: Select the destination USB drive
If the field is empty, that means that the program did not detect a valid USB drive. Check that your USB drive has been correctly plugged in and that it is not being used by another program, or replace it with another USB drive.
You need to select the destination disk from the ones that have been detected. Determine the letter that identifies the USB drive (for example "F:/" or "E:/"). To find out which identifier corresponds to the USB drive you wish to use from the list of connected drives, unplug it and take note of those displayed by the program. Then plug it back in and see which identifier appears.
Copying will erase all the data on the USB drive, so check its identifier properly and ensure that it does not contain any important data.
Step 3: Launching the copy
Once Steps 1 and 2 have been successfully carried out, the Write button will be enabled. Click on this button to start copying on the selected USB drive.
If the button remains grayed out, check the source disk image (Step 1) as well as the destination USB drive (Step 2).
The next part of the procedure is described in section Connections and startup configuration.
In a GNU/Linux system, the "dd" command has to be used. This is a UNIX command that allows copying raw data, particularly adapted for copying on peripheral devices (in command line):
$ dd if=my_file of=my_USB_key bs=1M
The main options are as follows:
- if=input file: reads this input file. This may be a file or a peripheral device. Here, it is the "Self-Test" tool or the restoration disk image.
- of=output file: writes this output file. Likewise, this may be a file or a peripheral device. Here, it is the USB drive.
For any further information:
$ dd –help
$ man dd
First of all, the destination USB drive for the copy has to be identified. USB drives are generally mounted in Linux using the name "sdX" where X corresponds to a letter. The first USB drive connected and detected is named "/dev/sda". The second drive is named "/dev/sdb", and so on.
Be careful, though, as other peripherals may also be mounted under this name – SCSI or SATA disks, for example. As "dd" is making a raw copy, it should always be used with caution.
Select the destination peripheral carefully and thoroughly check that it corresponds to the target USB drive. In the rest of this document, the ID of the USB drive is referred to as "dev/sda"
Replace this ID with your own.
Step 1: Clear data on the USB drive
First of all, it is advised to erase all data from the USB drive. Run this command to do so: $ dd if=/dev/zero of=/dev/sda bs=1M
This command will fill the USB drive with zeros.
Step 2: Start copying
Once you have finished erasing, launch the copy of the disk image downloaded on the USB drive. Locate the path of the disk image. This is the input file to be written on the drive.
In the example below, the path is as follows:
Replace this file with your own.
To start copying, launch the command:
$ dd if=/home/user/Desktop/USBKEY2.img of=/dev/sda bs=2M
or $ dd if=/home/user/Desktop/usb-recovery-sn3kxa94f0035a8.img of=/dev/sda bs=2M
When copying is complete, the USB drive is ready to be used; unplug it.
The next part of the procedure is described in the following section Connections and startup configuration.
“Self-Test” and restoration procedures are only applicable on products that have been registered beforehand in your client area.
On certain STORMSHIELD products, booting on a USB drive requires the interruption of the usual boot process.
Connections and the startup configuration vary according to the product, so please refer to the section relating to your product:
- SN150, SN160(W), SN210(W) and SN310,
- SN510 and SN710,
- SN200, SN300, SN500, SN700, SN900 and SN910,
- SN2000, SN3000 and SN6000,