Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Supported Platforms

Recovering from a Failed Software Installation

Problem

If the Junos OS appears to have been installed but the CLI does not work, or if the switch has no software installed, you can use this recovery installation procedure to install the Junos OS.

Solution

If a Junos OS image already exists on the switch, you can either install the new Junos OS package in a separate partition, in which case both Junos OS images remain on the switch, or you can remove the existing Junos OS image before you start the new installation process.

To perform a recovery installation:

  1. Power on the switch. The loader script starts.
  2. After the message Loading /boot/defaults/loader.conf appears, you are prompted with the following message:

    Hit [Enter] to boot immediately, or space bar for command prompt.

    Press the Spacebar to enter the manual loader. The loader> prompt appears.

  3. Enter the following command:
    loader> install [– –format] [– –external] source

    where:

    • format—Enables you to erase the installation media before installing the installation package. If you do not include this option, the system installs the new Junos OS in a different partition from that of the most recently installed Junos OS.
    • external—Installs the installation package onto external media (a USB stick, for example).
    • source—Represents the name and location of the Junos OS package, either on a server on the network or as a file on an external media, as shown in the following two examples:
      • Network address of the server and the path on the server; for example, tftp://192.17.1.28/junos/jinstall-qfx-11.1R1.5-domestic-signed.tgz
      • Junos OS package on a USB device (commonly stored in the root drive as the only file), for example, file:///jinstall-qfx-11.1R1.5-domestic-signed.tgz).

    The installation now proceeds normally and ends with a login prompt.

Published: 2013-08-15

Supported Platforms

Published: 2013-08-15