Troubleshooting Tip: Firmware image download issues during TFTP procedure
Description
This article describes how to troubleshoot issues with downloading FortiOS firmware images via TFTP on the FortiGate.
Scope
FortiGate.
Solution
During the TFTP firmware download procedure, if the MAC address shows up and no "#" signs appear, indicating that the link is detected but the FortiOS firmware image cannot be loaded, then the following items should be investigated further:
Verify the network cable is connected to the correct port on the FortiGate.
Verify that the static IP and gateway IP addresses configured on the computer are correct.
Verify that any software firewalls (e.g., Windows Firewall) on the computer are disabled.
Configure the server interface or the server binding setting on the TFTP server software on the computer to then correct the Ethernet interface.
Reconfigure the image download port on the FortiGate by entering 'I' for 'Configuration and Information', 'T' for 'Set image download port', and selecting the number next to the selected port. Depending on the FortiGate unit, this operation may or may not require a reboot. See 'Sample Console Output' below.
If still having a problem downloading the firmware image after following the above recommendations, contact Fortinet Technical Support.
Sample console output.
Below is an example of the output from the console when reconfiguring the image download port to WAN2 on the FortiGate 60D. Depending on the FortiGate unit, this console output may vary slightly.
[G]: Get firmware image from TFTP server.
[F]: Format boot device.
[I]: Configuration and information.
[B]: Boot with backup firmware and set as default.
[Q]: Quit menu and continue to boot.
H]: Display this list of options.
Enter G,F,I,B,Q,or H: I
[S]:Â Set serial portnbaudrate(will take effect on next boot).
[T]:Â Set image downloadnport(will take effect now and on next boot).
[C]:Â Set DHCP enablen(will take effect now and on next boot).
[I]:Â Display hardwareninformation.
[Q]:Â Quit thisnmenu.
[H]:Â Display this listnof options.
Enter S,T,C,I,Q,or H:T
 0:    Any ofnport 1 - 7
 1:    WAN1
 2:    WAN2
Enter image download port number [WAN1]:2
After reconfiguring the image download port, it should show the following message when selecting 'G' in the first menu above:
Please connect TFTP server to Ethernet port 'WAN2'.
It is possible to continue the TFTP procedure using WAN2 to download firmware instead of the default WAN1 for the FortiGate 60D.
Note: When attempting to install FortiOS v8.0.1 via TFTP on FortiGate 30 and 31G models, the firmware installation may fail and leave the device unable to boot, even after formatting the boot device.
Although the firmware image is transferred successfully, the device encounters an error during the boot process:
Image Received.
Checking image... FOS signature Verification OK.
Fatal error: Loading FOS fails!
  Please power cycle. System halted.
Workaround: Install FortiOS v7.4.8 or v8.0.3 via TFTP, then use the FortiGate GUI firmware upgrade/downgrade feature to install the desired FortiOS version.
The issue is expected to be resolved in FortiOS versions 7.6.9 and 8.0.3.
Related article:
Technical Tip: Formatting and loading FortiGate firmware image using TFTP
