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.
Can't Load Kernel
While upgrading the following error is seen:
###Entering boot mastership relinquish phaseKDB: 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.
>request system snapshot media usb
>request system snapshot media internal
This will load the image from the USB onto the SRX's internal compact flash.
>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
2026-01-30: Updated category2023-10-18: Article reviewed for validity and accuracy.