FortiGate
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.
Not applicable
Article Id 194515

 

Description

A procedure to format a FortiGate hard disk.

This procedure downloads and runs a formatting image file from a local TFTP server under console control.

You can also use this procedure when there is a need to reformat the hard disk when the system cannot access the hard disk anymore. Using the CLI command get system status the output Log hard disk: Not available indicates that the hard disk is no longer available (if the FortiGate unit has a harddisk).

Components

- A FortiGate (any model).

- A null modem cable (supplied with the FortiGate).

- A terminal client, such as a PC. running HyperTerminal (Windows) or minicom (Linux).

- A cross-over network cable.

- A PC running a TFTP server.

- A FortiGate hard disk formatting image file for FortiOS, located in the TFTP server’s directory. 

Before You Start

If it is processed to do not resolve an outage, plan this firmware installation because there will be an outage from when the FortiGate will reboot until it restarts with the new firmware.

 

Configure the terminal client communication parameters to the following:

- 8 bits.

- No parity.

- 1 stop bit.

- 9600 baud (For a FortiGate-300, use 115,000 baud.)

Notes

Some console prompts in this procedure include a default value in square brackets, e.g., [image.out]. To use this default value, just press Enter.

Steps or Commands

To format the hard disk:

 

1) Connect the terminal to the FortiGate using the null modem cable.

 

2) Connect the PC running the TFTP server to the FortiGate.

On models 800 and below connect to the Internal interface, except model 500A on which it is connected to the LAN interface.

On models 1000 and higher, connect to port 1.

 

3) Turn the power off and then on at the FortiGate.

 

4) When the console displays:


Press any key to display configuration menu...


Press the space bar or any other key.

 

5) Press G to start firmware download.
The console displays:


Enter TFTP server address [192.168.1.168]:

6) Type the IP address of the computer running the TFTP server and press Enter.

The console displays:


Enter Local Address [192.168.1.188]:

 

7) Type an unused IP address that is on the same subnet as the TFTP server and press Enter.

The console displays:


Enter File Name [image.out]:

 

8) Type the hard disk formatting image filename and press Enter.

The console periodically displays a '#' to show download progress.

When the download is complete, it displays a message similar


Save as Default firmware/Run image without saving:[D/R]

 

9) Press R. The console should display messages like this:


Reading boot image 971204 bytes.
Initializing firewall...
Enhance log disk...
Enhance log disk successful!
mount /dev/hdb1 on /var/log successful !

 

10) If D is accidentaly selected, download the log disk image deletes the OS image. Repeat steps 3 through 9 to download a new OS image.

Otherwise go to step 11.

 

11) Reboot the FortiGate.

 

Contributors