Created on
‎11-25-2025
09:09 AM
Edited on
‎12-12-2025
12:01 AM
By
Jean-Philippe_P
| Description | This article describes how it might be possible to recover a FortiGate that is not starting correctly and is stuck in a boot loop. |
| Scope | FortiGate. |
| Solution |
In rare cases, it might happens that the FortiGate remains stuck in a boot loop and cannot boot up correctly.
If this happens, depending on where in the booting process the device encounters the problem, it might be possible to recover the FortiGate by loading the secondary partition from the BIOS.
Note: For this procedure, a console cable is required (it is not possible to perform this with SSH or HTTPS access):
If the FortiGate shows the following line during the booting process, pressing any key will enter the BIOS:
Press any key to display configuration menu...
In the BIOS menu, select "Boot with backup firmware and set as default.":
[C]: Configure TFTP parameters.
Enter C,R,T,F,B,I,Q,or H:
Loading backup firmware from boot device...
Reading boot image 6212342 bytes. System is starting...
Recommendations: If the backup firmware fails to boot as well, select the option '[T] Initiate TFTP firmware transfer' to reinstall the image to the FortiGate with a known-good firmware file.
If the boot device is corrupted, select option '[F] Format boot device', forcing to erase of all data, including configuration, then reload firmware via TFTP.
More detailed information: Technical Tip: Formatting and loading FortiGate firmware image using TFTP.
Verify running firmware version:
get system status
Check partition status with:
diagnose sys flash list
Use the GUI to retry the firmware upgrade process following the correct upgrade path as per this guide Technical Tip: Downgrade/Upgrade via GUI from v7.2.0.
Then restore the configuration if required.
Note: Normally, the secondary partition contains the configuration before the last firmware upgrade (this could also be used as a rollback option).
Related article: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.