Skip to main content
vprabhu_FTNT
Staff
Staff
June 20, 2022

Technical Tip: FortiOS firmware can be installed through a USB flash disk

  • June 20, 2022
  • 0 replies
  • 43359 views

Description

 

This article describes how to install firmware from a USB disk.

 

Scope

 

FortiGate.

 

Solution

 

  1. Download the firmware file, and load it onto the root drive of the USB disk using a PC.
  2. Check whether the automatic USB firmware and configuration installations are enabled in the config. The auto install of the config in USB disk is disablde by default. To verify this in the GUI, navigate to System -> Settings -> the 'USB auto-install' section:

 

Start UP settings.png

 

Alternatively, set it from the CLI:

 

config system auto-install

    set auto-install-config enable

    set auto-install-image enable

    set default-config-file "fgt_system.conf"

    set default-image-file "image.out"

end

 

  1. If enabled, the process will start automatically. When disabled, connect the USB disk to the FortiGate and follow the next steps. To check the USB device contents, enter the command below on the FortiGate CLI after connecting the USB disk to the FortiGate.

execute usb-disk list

 

It will show output similar to the following:

 

(global) # execute usb-disk list
2024-08-20 13:04:16 65532578 FGT60Fv7.2.9.out <----- File renamed to short version for easy restore.
2024-08-19 10:09:28 <DIR> System Volume Information

 

  1. Enter the following command to restore the image file from USB:

 

execute restore image usb <filename>

 

For a VDOM enabled environment:

 

(global) # exec restore image usb FGT60Fv7.2.9.out 

This operation will replace the current firmware version!
Do you want to continue? (y/n) Y <----- Press y to upload the image and reboot FortiGate.

Please wait...

Copy image FGT60Fv7.2.9.out from USB disk ...
Get image from USB disk OK.
Verifying the signature of the firmware image.

Checking new firmware integrity ... pass

Please wait for system to restart.

 

After the reboot is done, check the firmware image on the FortiGate unit as per the CLI command below:


get system status

 

Reference article for flash format TFTP uploads through console connection:

Technical Tip: Formatting and loading FortiGate firmware image using TFTP