It appears the JUNOS image is missing. I have downloaded another JUNOS image from a healthy SRX240. However, I cannot figure out how to boot from USB and save the new JUNOS image from the mode I am in "=>"
Thank you for your help,
You are in U-boot prompt. I think you pressed SPACE key during autoboot and hence you are in that prompt. Reboot the device and boot into loader prompt and then try to recover from USB:
Reboot the device.The following message appears:
After this message appears, you see the following prompt:
Hit [Enter] to boot immediately, or space bar for command prompt.
Press the space bar to access the loader prompt (loader>).The loader> prompt appears. Enter:
loader> install file:///<image-path-on-usb>
An example of a command is as follows:
I am assuming you already try the "reset" or "boot" commands and you reached the same prompt; if not please try them.
If the SRX is getting stuck on uboot (not even reaching Loader) you could try the steps mentioned in the following KB in order to upgrade/reinstall the Loader and maybe after that you could try to recover the device with a USB drive from the Loader:
A different person tried this already and it worked:
Also you can try, from u-boot, to boot from the secondary partition of your SRX:
Ive also see the "setenv bootloader usb1:0" command in a couple of forums, however Im not sure about how to use it, maybe you can research more about it; it seems to work with a usb stick:
Also you could try creating a snapshot from a working SRX in to a USB and inserted in the faulty SRX and have it booting from this usb:
I hope the above info helps you, please let us know.
I am getting this error "## No elf image at address 0x00100000"
I am currently in the => mode. The following commands I have access too:
askenv - get environment variables from stdinautoscr - run script from memorybase - print or set address offsetbdinfo - print Board Info structureboot - boot default, i.e., run 'bootcmd'bootd - boot default, i.e., run 'bootcmd'bootelf - Boot from an ELF image in memorybootloader - upgrade u-bootbootloader - upgrade loaderbootloader - upgrade ushellbootloader - check u-bootbootloader - check loaderbootm - boot application image from memorybootoct - Boot from an Octeon Executive ELF image in memorybootoctelf - Boot a generic ELF image in memory. NOTE: This command does not supportsimple executive applications, use bootoct for those.bootoctlinux - Boot from a linux ELF image in memorybootp - boot image via network using BootP/TFTP protocolbootvx - Boot vxWorks from an ELF imagecmp - memory compareconinfo - print console devices and informationcp - memory copycpld - peek/poke CPLDcrc32 - checksum calculationdhcp - invoke DHCP client to obtain IP/boot paramsdumpoct - dump octeon regsdumpstats - dump cavium statsecho - echo args to consoleeeprom - EEPROM sub-systemerase - erase FLASH memoryfatinfo - print information about filesystemfatload - load binary file from a dos filesystemfatls - list files in a directory (default /)flinfo - print FLASH memory informationgo - start application at address 'addr'gpio - read/write on gpio pinshelp - print online helpi2c - read/write on i2c busid_eeprom - peek/poke EEPROMide - IDE sub-systemiminfo - print header information for application imageimls - list all images found in flashitest - return true/false on integer compareloadb - load binary file over serial line (kermit mode)loads - load S-Record file over serial lineloady - load binary file over serial line (ymodem mode)loop - infinite loop on address rangels609x_read_reg - Read 88E6097 registermd - memory displaymdkinit - start MDKmm - memory modify (auto-incrementing)mtest - simple RAM testmw - memory write (fill)nfs - boot image via network using NFS protocolnm - memory modify (constant address)pci - list and access PCI Configuration Spacepciemd - pcie memory displaypciemw - pcie memory writepciereset - do PCIE resetping - send ICMP ECHO_REQUEST to network hostprintenv- print environment variablesprotect - enable or disable FLASH write protectionrarpboot- boot image via network using RARP/TFTP protocolread64 - read 64 bit word from 64 bit addressread64b - read 8 bit word from 64 bit addressread64l - read 32 bit word from 64 bit addressread_cmp - read and compare memory to valreset - Perform RESET of the CPUrun - run commands in an environment variablesaveenv - save environment variables to persistent storagesetenv - set environment variablessleep - delay execution for some timesmi - peek/poke SMI devicestftpboot- boot image via network using TFTP protocolusb - USB sub-systemusbboot - boot from USB deviceversion - print monitor versionwatchdog <start | stop | show | pat>write64 - write 64 bit word to 64 bit addresswrite64b - write 8 bit word to 64 bit addresswrite64l - write 32 bit word to 64 bit address
Please reinstall/upgrade the loader and uboot as shown in the first two links from my previous comment and let us know.
I ran into this issue today.
I ran "bootd" and it started fine. After 5 sec, press "space" to get to => to "loader>" mode.
Once in loader mode, i ran 'Boot -s" command
You will end up at following prompt:
Enter full pathname of shell or 'recovery' for root password recovery or RETURN for /bin/sh: recovery
Y(ou have 10 sec to enter 'recovery', else restart process.
then I ended up at root>. You can optionally reset root password or install new image or whatever you wanted..