Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Creating an Emergency Boot Device for QFX Series Switches

Before you begin, you need to download the installation media image for your device and Junos OS release from .

If Junos OS on the device is damaged in some way that prevents the software from loading properly, you can use an emergency boot device to repartition the primary disk and load a fresh installation of Junos OS. Use the following procedure to create an emergency boot device.


You can create the emergency boot device on another Juniper Networks switch or router, or any laptop or desktop PC that supports Linux. The steps you take to create the emergency boot device vary, depending on the device.

To create an emergency boot device:

  1. Use FTP to copy the installation media image into the /var/tmp directory on the device.
  2. Insert a USB storage device into the USB port.
  3. From the Junos OS command-line interface (CLI), start the shell:
  4. Use the gunzip command to unzip the image file.
  5. Switch to the root account using the su command:

    The password is the root password for the device. If you logged in to the device as the root user, you do not need to perform this step.

  6. Enter the following command on the device:

    The device writes the installation media image to the USB storage device:

  7. Log out of the shell: