Ethernet Switching
Ethernet Switching

EX2300-C can't load 'kernel'

‎08-29-2017 10:13 AM

*****

can't load 'kernel'

 

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

loader>

*****

My EX's are in this state and none of the online recovery methods are working.  I can get to u-boot and loader prompts.  The USB and TFTP options of install command fail.

 

Can someone please chime in on any recovery tips?  Thank you in advance.

17 REPLIES 17
Highlighted
Ethernet Switching

Re: EX2300-C can't load 'kernel'

‎08-29-2017 10:15 AM

Can you send the failure output? Honestly it sounds like bad hardware.

Highlighted
Ethernet Switching

Re: EX2300-C can't load 'kernel'

‎08-29-2017 10:20 AM

*****

loader> install --format tftp://192.168.6.53/junos-arm-32-15.1X53-D56.tgz

ETH LINK UP: 1000FD

cannot load kernel from package (error 2)

loader>

*****

using tftp.  with u-boot prompt, i can get the EX to pull down the image but it doesn't do anything after the DL.

Highlighted
Ethernet Switching

Re: EX2300-C can't load 'kernel'

‎08-29-2017 10:20 AM

I recently had to try the following, and was able to get past.

 

 

https://kb.juniper.net/InfoCenter/index?page=content&id=KB20643

https://kb.juniper.net/InfoCenter/index?page=content&id=KB29113

 

JNCIA-Junos
Highlighted
Ethernet Switching

Re: EX2300-C can't load 'kernel'

‎08-29-2017 10:21 AM

Can you send the output of your tftp upgrade attempt?

 

This is procedure:

 

https://kb.juniper.net/InfoCenter/index?page=content&id=KB20643

Highlighted
Ethernet Switching

Re: EX2300-C can't load 'kernel'

‎08-29-2017 11:06 AM

loader> set ipaddr=192.168.6.150

loader> set netmask=255.255.255.0

loader> set serverip=192.168.6.53

loader> install --format tftp://192.168.6.53/junos-arm-32-15.1X53-D56.tgz

ETH LINK UP: 1000FD

cannot load kernel from package (error 2)

Highlighted
Ethernet Switching

Re: EX2300-C can't load 'kernel'

‎08-29-2017 11:08 AM

can't get to single user mode either =\

 

loader> boot -s

can't load 'kernel'

no bootable kernel

loader>

Highlighted
Ethernet Switching

Re: EX2300-C can't load 'kernel'

‎08-29-2017 11:51 AM

at the u-boot prompt, i can get the device to pull down an image from tftp server:

*****

=> tftpboot junos-arm-32-15.1X53-D56.tgz

ETH LINK UP: 1000FD

Using bcmiproc_eth-0 device

TFTP from server 192.168.6.53; our IP address is 192.168.6.150

Filename 'junos-arm-32-15.1X53-D56.tgz'.

Load address: 0x61000000

Loading: #################################################################

        ....

        ########################################################

         603.5 KiB/s

done

Bytes transferred = 252393868 (f0b398c hex)

=>

*****

but it doesn't do anything with it.  what am i missing here? 🙂

Highlighted
Ethernet Switching

Re: EX2300-C can't load 'kernel'

‎08-29-2017 12:56 PM

can't get to single user mode either =\

 

This is known issue (I believe) with all newer ELS based EX switches outside of EX9200.

Highlighted
Ethernet Switching

Re: EX2300-C can't load 'kernel'

‎08-29-2017 01:03 PM

This is known issue (I believe) with all newer ELS based EX switches outside of EX9200.

 

So the only resolution is RMA?

Highlighted
Ethernet Switching

Re: EX2300-C can't load 'kernel'

‎08-29-2017 01:12 PM

single-user mode is different on EX3400 and EX2300; please see following KB: https://kb.juniper.net/InfoCenter/index?page=content&id=KB31403&actp=METADATA

 

aren't you able to boot from the OAM partition?

 

 

I don't know if the following page helps you: http://nextheader.net/2017/02/23/snapshots-on-ex2300ex3400/


--
Best regards,

Jonas Hauge Klingenberg
Juniper Ambassador & Technology Architect, SEC DATACOM A/S (Denmark)
Highlighted
Ethernet Switching

Re: EX2300-C can't load 'kernel'

‎08-29-2017 03:41 PM

I can only get to the UBoot and Loader prompts.

 

=(

Highlighted
Ethernet Switching

Re: EX2300-C can't load 'kernel'

‎02-23-2018 06:45 AM

You are trying with the wrong file.

 

Before, same code filename was working for USB or TFTP proceedure.

Now, for each proceedure there is another firmware filename. Please see the following:

https://www.juniper.net/documentation/en_US/junos/topics/concept/understanding-junos-freebsd-package...

Initially I was trying with junos-arm-32-15.1X53-D56.tgz but I had the same error 2 as you had.


Then, as per above url, I downloaded junos-install-media-net-arm-32-15.1X53-D56.tgz and worked like a charm.

 

Steps for the proceedure here: https://kb.juniper.net/InfoCenter/index?page=content&id=KB31462&cat=SWITCH_PRODUCTS&actp=LIST

 

Have fun!

 

Highlighted
Ethernet Switching

Re: EX2300-C can't load 'kernel'

‎01-16-2019 11:58 AM

Lifesaver thank you!!!!

Highlighted
Ethernet Switching

Re: EX2300-C can't load 'kernel'

‎01-16-2019 11:59 AM

Thank you very much, this worked great!

Highlighted
Ethernet Switching

Re: EX2300-C can't load 'kernel'

‎12-12-2019 07:20 PM

Another huge Thank You to aserban for the link to the install-media solution.

 

This was WAY harder to find than it should have been Juniper.

Highlighted
Ethernet Switching

Re: EX2300-C can't load 'kernel'

‎12-13-2019 04:49 PM

Here are a couple of Juniper KB about this,

 

This is the format install procedure for EX2300/EX3400 (ELS), I noticed the lecacy procedure was shared a few times previuosly but that doesnt apply to this platform,

 

Doing bootable USB with install media image,

https://kb.juniper.net/InfoCenter/index?page=content&id=KB31265

 

Also in some cases, I havent seen this happening prior 15.1X53-D57, the procedure above may fail promting you to loade with error can't load kernel, here you can find the solution for that one as well,

 

https://kb.juniper.net/InfoCenter/index?page=content&id=KB33842&actp=RSS

 

I hope this has been helpfull!




#####
Please mark my post as solution if it helped you
Kudos will also be appreciated
Highlighted
Ethernet Switching

Re: EX2300-C can't load 'kernel'

‎07-13-2020 12:00 AM

Thanks, Ecladeron fro sharing those valuable links. It works perfectly. Great tips indeed.

Feedback