FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
Article Id 317013
Description This article describes how to recover the previous firmware and config using the console after the FortiOS upgrade.
Scope FortiGate.

Scenario: In some cases, after the upgrade, the device is unable to boot or unable to login.




As the admin user is unable to log in to the device, the possible option is to use the console instead of formatting the device. It is possible to boot from the previous firmware.
It also loads with the same configuration before the upgrade.


  1. Reboot the device and press any key to display the configuration menu.
  2. On the configuration menu press B. 

    [B]: Boot with backup firmware and set as default.



    The FortiGate will boot on the previous working firmware.


  3. On the 'diagnose sys flash list' command, it is possible to verify the backup and the current working firmware. 


Related article:  

Technical Tip: Selecting an alternate firmware for the next reboot