Support Support Downloads Knowledge Base Case Manager My Juniper 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] Recovering a device stuck at "Can't load Kernel" or in boot loop state



Article ID: KB29811 KB Last Updated: 27 Jan 2015Version: 1.0

This article discusses how to restore a device if the Junos image on CF is corrupted, and you are seeing the error message Can't Load Kernel or the device keeps going into a continuous boot loop. To recover the faulty device, take a snapshot of a healthy device; this creates a fresh Junos image to be loaded on the faulty device.


While upgrading the following error is seen:

###Entering boot mastership relinquish phase
KDB: enter: panic

This either leads into a boot loop or else the error message Can't Load Kernel is seen. The snapshot method can be tried to recover the faulty device.

  1. Plug a USB drive into a known healthy SRX which is of the same model and configuration as the faulty device. Run the following command:

  2. >request system snapshot media usb

  3. When the snapshot is complete, power down the faulty SRX. Remove the USB from the healthy SRX and plug it into the faulty SRX.

  4. Power on the faulty device on and see if it will boot from the USB drive.

  5. If it does, then snapshot the image from the USB drive back onto the compact flash (CF) with the following command:

  6. >request system snapshot media internal

    This will load the image from the USB onto the SRX's internal compact flash.

  7. Then reboot the device from the compact flash. Use the following command:

  8. >request system reboot media internal

Note: Taking a snapshot of the healthy device will also take a snapshot of the configuration, and will load the same configuration on the faulty device.

If you need to install the Junos image from the loader prompt please refer to the following document: Installing Junos OS on SRX Series Devices From the Boot Loader Using an USB Storage Device

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