Fortigate 80C won’t boot- flash failure Workaround

Para discusiones sobre temas técnicos (solución de problemas, configuraciones) cuyo tema no pertenezca especificamente a otros foros.
yo9gly
Mensajes: 9
Registrado: 23 Jul 2014, 08:00

Fortigate 80C won’t boot- flash failure Workaround

Mensaje por yo9gly »

Fortigate 80C with defective flash unit will not boot , or will boot and work for a short period of time.
Fortios 5 (until 5.2) had the possibility to activate logs on flash having as results the stress of the flash memory until fail.
If the unit cannot be sent at Fortinet to be changed here is an undocumented (I guess) workaround:

1.Open the case (void warranty) :

2.Insert the jumper JUSB15 -for older models 80C

Or remove the all present jumper in JUSB3 if you have newer models 80C

3.Insert USB stick (size seems doesn't matter but try with similar flash size as found in unit) in one of the rear USB port.
4.Power on the fortigate unit with the following setup:
4.1PC with IP 192.168.1.168/24 connected at port 1
4.2TFTP server up and running on this PC with a properly 80C firmware renamed image.out
4.3Serial console cable connected at serial PC Baud Rate (bps): 9600 Data bits: 8 Parity: None Stop bits: 1 Flow Control: None

5.Press any key as soon the unit boot :

FGT80C ($$$$$$$$$$$$)
Ver:04000004
Serial number:FGT80C###########
RAM activation
Total RAM: 512MB
Enabling cache...Done.
Scanning PCI bus...Done.
Allocating PCI resources...Done.
Enabling PCI resources...Done.
Zeroing IRQ settings...Done.
Verifying PIRQ tables...Done.
Disabling local APIC...Done.
Boot up, boot device capacity: 3821MB. <---just for testing ;)
Press any key to display configuration menu...
..
[G]:  Get firmware image from TFTP server.
[F]:  Format boot device.
[B]:  Boot with backup firmware and set as default.
[I]:  Configuration and information.
[Q]:  Quit menu and continue to boot with default firmware.
[H]:  Display this list of options.

If the usb stick is not recognized ---stuck on Boot up,line change the port and/or the stick , reboot and repeat this step.

6.Format the boot device (F)
All data will be erased,continue:[Y/N]?
Formatting boot device...
...
Format boot device completed.





7.Get firmware image from TFTP server (G)

Please connect TFTP server to Ethernet port "1".

Enter TFTP server address [192.168.1.168]:
Enter local address [192.168.1.188]:
Enter firmware image file name [image.out]:
MAC:000########
##########################
Total 27313536 bytes data downloaded.
Verifying the integrity of the firmware image.

Total 40000kB unzipped.
Save as Default firmware/Backup firmware/Run image without saving:[D/B/R]?

8. Save as default (D)

Programming the boot device now.
.......................................
Reading boot image 1427084 bytes.
Initializing firewall...
System is starting...
Resizing shared data partition...done
Formatting shared data partition ... done!

FGT80C########## login: admin
Password:
Welcome !



After that the unit will boot and work (and logs) from usb stick until the jumper position is left as it is .

Curious about fortios?

Just mount the stick ;)

Run another linux in fortigate unit?

OS image name   : flatkc
vendor_id       : GenuineIntel
cpu family      : 6
model           : 5
model name      : Celeron (Covington)ocessor               600MHz
stepping        : 0
cpu MHz         : 599.956
cache size      : 0 KB
memory          : SDRAM 512MB 667MHz
IDE device channel 0 drive 0:
        No device
IDE device channel 0 drive 1:
        No device
IDE device channel 1 drive 0:
        No device
IDE device channel 1 drive 1:
        No device


Just change flatkc kernel/rootfs on stick (not tested)

Enjoy!

73!

YO9GLY
Responder