Roll Back a Firmware Upgrade¶
Symptom: upgraded firmware, system misbehaves (boot loop, features broken, performance regression). Need to roll back.
Option 1: Switch Boot Partition (Easiest)¶
FortiGate has two firmware slots. The previous version stays in the inactive slot until next upgrade overwrites it.
# Check current partitions:
get system status
# Look for "Image build", "Last reboot reason", and which partition is active.
# Switch to the other partition:
execute set-next-reboot primary # or secondary, whichever holds the OLDER version
execute reboot
After reboot, you're on the old firmware again.
Option 2: Restore from Pre-Upgrade Backup¶
If you took a backup before upgrading:
- Boot the system somehow (even if buggy).
- Restore config: see Back Up and Restore Configuration.
- Note: this restores CONFIG, not firmware. Use Option 1 to roll back firmware.
Option 3: TFTP Recovery (Worst Case)¶
When the FortiGate is bricked / boot-loops / doesn't respond:
- Connect Console Cable.
- Have a TFTP server reachable on the same network with the OLD firmware
.outfile. - Power-cycle the FortiGate.
- During boot, press any key when prompted to enter boot menu.
- Select TFTP firmware load option.
- Enter TFTP server IP and firmware filename.
- FortiGate downloads and installs.
- Reboots into recovered firmware.
- Restore config from backup.
This procedure works for any model that supports console TFTP recovery (most do).
Option 4: USB Recovery¶
Some newer models support USB stick:
- Format USB FAT32.
- Copy old firmware
.outto root. - Plug into FortiGate USB port.
- Reboot, select USB load in boot menu.
After Rollback¶
- Verify firmware version:
get system status. - Test critical functions: routing, policies, VPN, admin GUI.
- Re-activate licenses if needed: System → FortiGuard → Update licenses now.
Why Did It Fail?¶
Before re-attempting the upgrade:
- Read the release notes for known issues with your model.
- Verify supported upgrade path (you may need an intermediate version).
- Test the new firmware on a non-production FortiGate first if possible.