Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Upgrading the Personality of SRX4600 Device by Using a PXE Boot Server


The build image loaded on the device defines the personality of the device. You can change the personality of the device by upgrading it.

You can upgrade the personality of a device by using the Preboot Execution Environment (PXE) boot server. A PXE boot prepares a client/server environment to boot devices by using a network interface that is independent of available data storage devices or installed operating systems. The image of the operating system is stored on a TFTP server. You can have a separate PXE boot server for each image.

To upgrade the personality of a device from the installed personality to the new personality by using the PXE boot server method:

  • Copy the image you want installed on the device to the PXE boot server.

  • Reboot the device to install the image. If you have already copied the image to the PXE boot server, reboot the device to install the image.

To copy the image you want installed to the PXE boot server and install the image:

  1. Remove the previously installed files, if any, from the /var/lib/tftpboot/ directory.
    user@host> rm -f /tftpboot
    user@host> mkdir /tftpboot
  2. Copy the downloaded installation media to the /var/lib/tftpboot/ directory in the PXE boot server.

    For example:

    scp  /volume/build/junos/20.1/release/zyx/ship/

    junos-install-media-pxe-srxhe-x86-64-20.3I-20200521_dev_common.0.1013.tgz user@host:/var/lib/tftpboot/
  3. Log in to the PXE boot server and verify the installation file.

    For example:

    user@host> ls -lh junos-install-media-pxe-srxhe-x86-64-20.3I-20200521_dev_common.0.1013.tgz
  4. Extract the junos-install-media-pxe-srxhe TAR file.

    For example:

    user@host> tar xvzf junos-install-media-pxe-srxhe-x86-64-20.3I-20200521_dev_common.0.1013.tgz –C /var/lib
  5. Copy the BOOTX64.EFI file to the tftp home folder /var/lib/tftpboot/
    user@host> cp EFI/BOOT/BOOTX64.EFI /var/lib/tftpboot/
  6. Create a secure boot folder at /var/lib/tftpboot/
    user@host> rm -rf /var/lib/tftpboot/secure-boot
    user@host> mkdir /var/lib/tftpboot/secure-boot
  7. Copy the grub files in the secure boot folder.
    user@host> cp EFI/BOOT/ secure-boot/
    user@host> cp EFI/BOOT/grub-trusted.gpg secure-boot/
    user@host> cp EFI/BOOT/grub-trusted.gpg.psig secure-boot/
  8. Move initrd.cpio.gz and application-pkg.tgz in ftp server folder (/var/ftp/)
    user@host> mv application-pkg.tgz /var/ftp/
    user@host> mv initrd.cpio.gz /var/ftp/
  9. Create grub-startup.cfg in /var/lib/tftpboot/secure-boot folder.
    user@host> cat grub-startup.cfg
  10. After you copy the image to the PXE boot server, to install the image on the device, reboot the device to install the image.

    The router boots from the PXE server and installs the image on both the SSDs.

If the device fails to reboot, you can use the USB disk installation option. For more information, see Upgrading the Personality of a Device by Using a USB Flash Drive. However, after using USB disk installation, if the router fails to reboot or is not accessible, follow these steps on the console:

  1. Reboot or power on the device
  2. Press the ESC button to go to the Boot Manager Menu.
  3. Select Setup Utility, and then press Enter.
  4. Select the PXE boot capability as UEFI:IPv4, disable HDD and enable ETH00 under EPI.
  5. Click F10
  6. In operational mode, verify that the upgrade is successful. If you have upgraded the personality of the device to an SRX4600, the new personality of the device is srx4600.
    user@host> show version

Juniper Networks does not support using the request system software rollback command to revert to the previously installed personality.