Recovery of the Primary JUNOS Software Image with Dual-Root Partitioning on SRX Series Services Gateways
If the SRX Series Services Gateway is unable to boot from the primary JUNOS Software image, and boots up from the backup JUNOS Software image in the backup root partition, a message is displayed on the console at the time of login indicating that the device has booted from the backup JUNOS Software image:
login: user Password: *********************************************************************** ** ** ** WARNING: THIS DEVICE HAS BOOTED FROM THE BACKUP JUNOS IMAGE ** ** ** ** It is possible that the active copy of JUNOS failed to boot up ** ** properly, and so this device has booted from the backup copy. ** ** ** ** Please re-install JUNOS to recover the active copy in case ** ** it has been corrupted. ** ** ** ***********************************************************************
Because the system is left with only one functional root partition, you should immediately restore the primary JUNOS Software image.
- By installing a new image using the CLI or J-Web. The newly installed image will become the primary image, and the device will boot from it on the next reboot.
- By using a snapshot of the backup root partition using the CLI command request system snapshot slice alternate. Once the primary root partition is recovered using this method, the device will successfully boot from the primary root partition on the next reboot. After the procedure, the primary root partition will contain the same version of JUNOS as the backup root partition.