SRX

last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  Upgrade failed - can't load /kernel

    Posted 09-15-2015 03:58

    Hi All,

     

    I ran into a problem while trying to upgrade to junos-srxsme-12.1X46-D30.2-domestic.tgz.

     

    After upgrading, when I performed the reboot; the firewall went into the u-boot and asked me to issue nand_format.

     

    After formatting, it showed up as:

    can't load '/kernel'
    can't load '/kernel.old'
    Press Enter to stop auto bootsequencing and to enter loader prompt.

     

    I saw this problem reported earlier and tried a number of things:

     

    1. I formatted a USB, copied the upgrade file onto it and tried to install from it but it didn't work.

    Note: I formatted the USB from DOS prompt, though not as a bootable media. Just a plain format.

     

    2. Somewhere I saw the following commands, just tried my luck:

    => setenv oct.net.init
    => saveenv
    => reset

    Didn't work as well.

     

    3. Tried to install with the install source file:/// command, didn't work as well.

     

    4. Finally I tried another solution found somewhere

    => setenv boot.current alternate
    => boot

     

    Now the reboot ends with a prompt like this:

    Memory: 512MB
    Un-Protected 1 sectors
    writing to flash...
    Protected 1 sectors
    No bootable media found. Entering loader prompt.

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

     

    Any suggestions would be helpful.



  • 2.  RE: Upgrade failed - can't load /kernel

     
    Posted 09-15-2015 04:06

    hello ,

     

    I see that you have tried the possible proceedures , so now to recover the device , kindly do the snapshot method of taking the snapshot from one device and boot the non-working one from it .

     

    So if you have any other device running upgraded or old version , please take the snapshot from that device and make this faulty device boot from it .

     

    1) Connect USB to working device and run :

     

    > request system snapshot media USB

     

    2) once the snapshot is taken , conenct the USB to faulty device and reboot .

    3) once it boots from the UBS copy the snapshot to faulty device :

     

    > request system snapshot media internal

     

     

    Then try to upgrade again

     



  • 3.  RE: Upgrade failed - can't load /kernel

     
    Posted 09-15-2015 04:09

     Shyamraj,

     

    Now try the install via the command;

    loader> install file:///<image-path-on-usb>

    If that does not work , you could try to reload the device from a usb after you take a snapshot from a working device onto a usb.

     

    Another thing you could try is issuing a reload/boot from the loader prompt and see if the device comes up.



  • 4.  RE: Upgrade failed - can't load /kernel

    Posted 09-15-2015 05:10

    Hi Joses and ssn,

     

    I tried to upgrade from TFTP and it worked fine (unexpectedly).

     

    Here's the article I followed, for reference:

     

    http://www.juniper.net/techpubs/software/junos-security/junos-security10.0/junos-security-admin-guide/sw-upgrade-tftpboot.html#loader-prompt

     

    Thank you for the support !



  • 5.  RE: Upgrade failed - can't load /kernel

     
    Posted 09-15-2015 05:17

    Hello ,

     

    Thanks for sharing .