Solution |
When the machine software needs to be reset to another version than the one that it was manufactured, it's possible to go through the re-image process. Here are the following steps:
- Requirements:
- USB hub.
- USB Keyboard.
- USB mouse.
- VGA Monitor.
- 2 USB keys of 16GB and 8GB:.
- Ubuntu Desktop Setup Files (IE ubuntu-20.04.2.0-desktop-amd64.iso https://ubuntu.com/download/desktop ).
- Rufus Bootable USB Utility on a Windows machine(Use the one attached).
- FortiSIEM Image with CheckSum validated (IE FSM_Full_All_RAW_HARDWARE_7.2.4_build0268.zip from https://support.fortinet.net).
- Prepare the bootable USB Key:
- Download the Ubuntu Image from a Windows PC https://ubuntu.com/download/desktop.
- Open Rufus application with admin permissions.
- Plug the 8GB USB disk into the device.
- In the Device field, select the involved USB.
- Select the Ubuntu Image file just downloaded.
- In the Partition Scheme, select 'MBR'.
- Inthe target System, select BIOS or UEFI.
- Display advanced properties and Tick 'Add fixes for old BIOSes (extra partition, align, etc.)'.
- Leave the 'Format Options' section with default values.
- Press 'Start'.

- Prepare the USB Key with the FortiSIEM disk image:
- Go to https://support.fortinet.net
- Download the RAW image along with the targeted version, like: FSM_Full_All_RAW_HARDWARE_7.2.4_build0268.zip
- In the computer, format the USB key using exFat by 'right-clicking' on the USB key icon and 'Format...'.
- Move the FSM_Full_All_RAW_HARDWARE_7.2.4_build0268.zip image file to that disk.
- Configure the BIOS of the FortiSIEM machine to boot from the Ubuntu USB Key:
- Plug the USB hub, keyboard, mouse, VGA screen, and Ubuntu key created earlier.
- Power on the machine.
- Access the Bios menu by typing 'Esc' or 'Del'.
- Type the BIOS password provided by Fortinet Support.
- In the BIOS menu, activate USB features and boot to USB Key:
- Go to 'Advanced' menu .
- USB Configuration:

Activate 'USB Mass Storage' by putting 'Enabled', then press 'Esc' to go back tto he initial menu:

Go to 'Boot' menu, and modify 'Boot Option #1' to 'USB Key' (Leave UEFI Boot = Disabled):

Go to 'Save & Exit' menu and select 'Save changes and reset'.
The machine will reset and boot on the USB key.
- Re-imaging from Ubuntu USB:
- When booting on the Ubuntu USB key, select the 'Try or Install Ubuntu' option:

- Go through the Ubuntu steps with 'Try' mode.
- Open a terminal and run 'sudo su' to have admin permissions.
- Run 'fdisk -l' to identify the SATA 32GB disk and note its name '/dev/sdx' . Warning! This step is important to avoid re-imaging on the wrong disk:
-

- Plug the USB key with the FortiSIEM image.
- On the Ubuntu desktop, click on the USB key just plugged to mount and open it.
- Identify the FortiSIEM image file location and change directory to that location:
df -l
cd /media/ubuntu/fsm
ls -l
FSM_Full_All_RAW_HARDWARE_7.2.4_build0268.zip
- Then re-image the disk with the command (Replace the disk name /dev/sdx with the one found earlier):
unzip -p FSM_Full_All_RAW_HARDWARE_7.2.4_build0268.zip | dd status=progress of=/dev/sdb

- Wait for the transfer to proceed.
- Once finished, Run 'shutdown -h now' to stop the machine.
- Remove USB disks and Power off the FortiSIEM.
- Restore the default BIOS configuration:
- Power on the machine.
- Enter the BIOS menu once again.
- Restore the default BIOS settings at the 'Save & Exit' menu and select 'Restore Defaults', type Yes:

- select 'Save changes and reset'.
- Now the machine starts the new FortiOS installed.
- Reinstall FortiSIEM Application:
execute fsm-clean
execute factoryreset --force
execute fsm-clean
execute fsm-load
reboot
FortiSIEM is ready for use.
|