Off of the top of my head, RMA might be your best bet if it is still covered. I suspect the FreeBSD pros might have more helpful info, but that's all I have. Bricked kernel and administratively down usb port... I wouldn't know where to begin.
I asked Copilot out of curiosity, and this is what it spit out. I cannot test to verify it will work as I do not have a device around under that circumstance.
If your Juniper EX switch is stuck at the loader prompt due to a dead kernel and the USB port was previously administratively disabled, you can still attempt to enable and use the USB port from the loader prompt (before the kernel loads), as long as the hardware itself is functional.
Here's how you can proceed:
1. Access the Loader Prompt
When the switch fails to load the kernel, it should drop you into the loader> prompt. If not, interrupt the boot process by pressing the space bar during startup.
2. Check for USB Devices
At the loader> prompt, run:
This will list all available devices. Look for entries like disk0, disk1, or disk1s1a that indicate USB storage devices.
3. Manually Set the Boot Device
If your USB device appears (e.g., disk1s1a), set it as the current device:
Then try to boot from it:
This should load the system from the USB if it contains a valid Junos installation image.
4. If USB Is Not Detected
If lsdev does not show any USB devices:
Try a different USB stick (preferably 4GB or 8GB, formatted with FAT32).
Ensure the USB image was created correctly using dd or a reliable image writer.
Reboot the switch and try again.
Good luck!
------------------------------
Net Scope
------------------------------
Original Message:
Sent: 05-19-2025 00:34
From: DIMITRIOS KATSAROS
Subject: Upgrade failed - can't load /kernel
greetings,
recently i faced the same issue with the kernel. i tried to follow the procedure to restore the image by using USB. However, i realized that i had previously disabled the USB port by issuing the command "set chassis usb storage disable". So now i am stuck and cannot use my USB to proceed further.
Any idea please how can i activate the USB port through loader prompt or u-boot?
Thank you in advance.
------------------------------
DIMITRIOS KATSAROS
------------------------------