Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[SRX] SRX5K may boot into Junos recovery partition after the root password recovery process



Article ID: KB34387 KB Last Updated: 05 Jun 2019Version: 1.0

SRX5K devices running Junos OS 17.3 or higher may reboot using the Junos recovery partition after using the root password recovery process.


After using the root password-recovery process on SRX5K devices using Junos OS 17.3 or higher, the device reboots into the Junos Recovery Partition showing the following outputs after the first reboot:

root@srx5800> request system reboot    
Reboot the system ? [yes,no] (no) yes

Booting from recovery snapshot ...

login: root

--- JUNOS 17.4R2.4 Kernel 64-bit  JNPR-11.0-20180730.2cd3a6e_buil
Note: Junos is currently running in recovery mode on the OAM volume


If the device has booted off the recovery partition, issue another reboot to boot from the normal Junos partition.

--- JUNOS 17.4R2.4 Kernel 64-bit  JNPR-11.0-20180730.2cd3a6e_buil
Note: Junos is currently running in recovery mode on the OAM volume
root@s09-22> request system reboot    
Reboot the system ? [yes,no] (no) yes 
Booting from Junos volume ...

To prevent the need for two reboots, after committing an updated password while using the root password recovery process, issue the following command to force a reboot to the normal Junos partition.

root# set system root-authentication plain-text-password
New password:
Retype new password:

root# commit and-quit

root@s09-22> request system reboot ?       
Possible completions:
  <[Enter]>            Execute this command
  at                   Time at which to perform the operation
  in                   Number of minutes to delay before operation
  junos                Boot off Junos volume
  message              Message to display to all users
  network              Network boot via PXE
  oam                  Boot off OAM volume
  usb                  Boot off USB device
  |                    Pipe through a command

root@s09-22> request system reboot junos
Reboot the system ? [yes,no] (no) yes

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search