Junos OS

 View Only
  • 1.  EX2300-24T Will Not Boot (various errors)

    Posted 01-14-2025 11:19

    My EX2300-24T switch appears to be degrading more and more each day. A few weeks ago, it stopped booting because it couldn't find /bin/sh. Now it doesn't even make it past the loader prompt. 

    I believe i need a new EX2300-24T image. What is the best/easiest way to obtain or purchase one?
    Can I somehow leverage one of the images or packages from an  EX4300-48p, qfx5100-48t-6q, or EX3400-24t?

    Latest boot failure:

     .menu_numbep not found
    Error while including /boot/junos-menu.4th, in the line:
            .menu_numbep @ 1+ dup .menu_ntmber !
    /
    can't load 'kernel'


  • 2.  RE: EX2300-24T Will Not Boot (various errors)

    Posted 01-14-2025 17:32

    EX3400 install media image will also work on an EX2300.




  • 3.  RE: EX2300-24T Will Not Boot (various errors)

    Posted 04-11-2025 15:53

    Can you point me to Juniper documentation that confirms that "EX3400 install media image will also work on an EX2300"?

    When i researched this online, i was confronted with multiple reasons why this would not work: different CPU, bootloader, architecture, etc.

    I don't see how this could possibly work.




  • 4.  RE: EX2300-24T Will Not Boot (various errors)

    Posted 04-11-2025 17:49

    https://support.juniper.net/support/downloads/?f=ex

    Regards




  • 5.  RE: EX2300-24T Will Not Boot (various errors)

    Posted 04-11-2025 17:56
    Edited by asharp 04-12-2025 20:24

    Also, going via EX2300 or via EX3400 from the download pages, the images have the same checksums too.

    Both 2300 and 3400 are ARM platforms.




  • 6.  RE: EX2300-24T Will Not Boot (various errors)

    Posted 04-17-2025 09:21

    Now i'm at the point where i:
      1) have the correct file from the juniper download page: junos-install-media-usb-ex-arm-32-23.4R2-S4.11.img
      2) verified that the checksum of that file matches the file on the USB drive (via "dd" command in macOS)

    Yet the EX2300 still stops at the loader> prompt, when powering on the EX2300 with the USB already plugged in to the port on the back panel.


    I've made some small amount of progress, but typing commands recommended by ChapGPT, but ultimately it seems that i've gotten nowhere.

    How is this supposed to work, and what could i be doing wrong?


    disk0: real size != size
    platform-boot-usb not found
    Error while including /boot/junos-boot.4th, in the line:
            platform-boot-usb
    Error while including /boot/junos-menu.4th, in the line:
    include /boot/junos-boot.4th
    |
    can't load 'kernel'

    Type '?' for a list of commands, 'help' for more detailed help.
    loader>

    loader> load /boot/kernel
    loader> load -t dtb /boot/dtb/<your-dtb-file>.dtb
    loader> boot


    loader> ls disk1s1:/boot/dtb
    disk1s1:/boot/dtb
        ex2300.dtb
        ex2300-24mp.dtb
        ex2300-48mp.dtb
        ex2300-c.dtb
        ex3400.dtb
    loader> load -t dtb /boot/dtb/ex2300.dtb
    /boot/dtb/ex2300.dtb size=0x1fb7
    loader> boot
    ---------------------------------------------
    loader> lsdev
    loader> include /boot/loader.rc
    loader> load /boot/kernel
    loader> load -t dtb /boot/dtb/ex2300.dtb
    loader> boot

    Found U-Boot device: disk
      Probing all disk devices...
      Checking unit=0 slice=<auto> partition=<auto>... good.
    EHCI timed out on TD - token=0x800d8d80
    EHCI timed out on TD - token=0x800d8d80
    disk0: real size != size
    platform-boot-usb not found
    Error while including /boot/junos-boot.4th, in the line:
            platform-boot-usb
    Error while including /boot/junos-menu.4th, in the line:
    include /boot/junos-boot.4th
    |
    can't load 'kernel'

    Type '?' for a list of commands, 'help' for more detailed help.
    loader> 




  • 7.  RE: EX2300-24T Will Not Boot (various errors)

    Posted 04-17-2025 18:05
    Edited by asharp 04-21-2025 10:11

    I'm pleased to see that you followed my guidance on the use of the media install images, as you have now discovered EX2300 and EX3400 are similar platforms and share the same media image.

    > I've made some small amount of progress, but typing commands recommended by ChapGPT, but ultimately it seems that i've gotten nowhere.

    I would strongly suggest to avoid using ChatGPT to try and figure out technical solutions, it is just so incredibly unreliable.  You will have much more success using Google and/or searching support forums/FAQs in relation to issues than relying upon ChatGPT.

    For example a typical conversation with ChatGPT:

    Q: Can I run Junos EVO on my EX4100-F?

    A: Yes, your EX4100-F does run Junos EVO by default.

    I can assure you that the EX4100-F does not run Junos EVO by default, and nor does it support Junos EVO.  That is just a straight forward question, without getting into configuration, or device recovery etc.  My own experience with ChatGPT is that it can't write Python scripts, SLAX scripts or Ansible playbooks reliably at all.  Frequently suggests the use of imaginary libraries, repositories, keywords etc., that do not and have not existed, and I wouldn't expect it to write valid Junos configuration either.


    > How is this supposed to work, and what could i be doing wrong?

    Avoid using ChatGPT to solve the issue, instead take a look at the following two support articles, the first will assist with the "can't load kernel" error, and the second would be the approach of performing a media install for either EX2300 or EX3400s.

    https://supportportal.juniper.net/s/article/Fix-Device-is-not-booting-up-with-can-t-load-kernel-error-on-EX3400-EX2300-Devices?language=en_US

    https://supportportal.juniper.net/s/article/EX-How-to-format-install-EX2300s-and-EX3400s-via-USB?language=en_US

    Regards,