Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Install Junos OS on SRX Series Firewalls Using the Partition Option

Learn how to install Junos OS with the partition option which helps formats the internal media, installs the image with dual-root partitioning, and reboots the device to complete the setup.

Requirements

Before you start the installation, back up important system data and configurations. This ensures you can quickly recover if any issues occur during the upgrade process.

Overview

To reinstall Junos OS with dual-root partitioning, use the request system software add command with the partition and reboot options.

The request system software add command:

  • Formats the internal media.

  • Installs the image with dual-root partitioning.

  • Reboots the device to complete the setup. The device also boots up with the image installed with the dual-root partitioning scheme.

When the partition option is used, the format and install process is scheduled to run on the next reboot. Therefore, we recommend that this option be used together with the reboot option.

The process takes 15–20 minutes, during which the device is unreachable. It erases all data except the current configuration, so back up any important files beforehand.

In Junos OS Release 24.4R1, we re-named the software install images. Images named junos-install-srsxme* are recognized by the system to install Junos OS Release 24.4R1 or later. Images named junos-srxsme* are recognized by the system to install Junos OS Release 23.4R1 or previous releases.

In this example, add the software package junos-srxsme-10.0R2-domestic.tgz with the following options:

Option Purpose
no-copy Installs without saving a local copy (saves space)
no-validate Skips config validation (use only if advised by JTAC) partition
partition Formats and sets up dual-root partitioning
reboot Reboots the device after installation

Configuration

Procedure

CLI Quick Configuration

To install Junos OS with the partition option, enter the following command from operational mode:

GUI Quick Configuration

Step-By-Step Procedure

To install Junos OS with the partition option:

  1. In the J-Web user interface, select Device Administration>Software Management>Install Package.

  2. On the Install Package page, specify the FTP or HTTP server, file path, and software package name. Type the full address of the software package location on the FTP or HTTP. Example: ftp://hostname/pathname/junos-srxsme-xx.0R2-domestic.tgz or http://hostname/pathname/junos-srxsme-xx.0R2-domestic.tgz.

    Specify the username and password, if the server requires one.

  3. Select the Reboot If Required check box to set the device to reboot automatically when the upgrade is complete.

  4. Select the Do not save backup check box to bypass saving the backup copy of the current Junos OS package.

  5. Select the Format and re-partition the media before installation check box to format the internal media with dual-root partitioning.

  6. Click Fetch and Install Package. The software is activated after the device reboots.

    This formats the internal media and installs the new Junos OS image on the media with dual-root partitioning.

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode.

To install Junos OS Release 10.0 or later with the partition option:

  1. Upgrade the device to Junos OS using the CLI.

  2. After the device reboots, upgrade the boot loader to the latest version. See Preparing the USB Flash Drive to Upgrade Junos OS on SRX Series Devices.

  3. Reinstall the Release 10.0 or later image.

  4. From configuration mode, confirm your configuration by entering the show system storage partitions command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

Sample Output

Sample output on a system with single root partitioning:

Sample output on a system with dual-root partitioning:

If you are done configuring the device, enter commit from configuration mode.

Verification

Confirm that the configuration is working properly.

Verifying the Partitioning Scheme Details

Purpose

Verify that the partitioning scheme details on the SRX Series Firewall were configured.

Action

From operational mode, enter the show system storage partitions command.