cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6372
Views
0
Helpful
14
Replies

ASR903 boot IOS from USB in rommon mode

Hello, 

I've been given an ASR903 to configure for use on a testbed. However when I first booted it up, it says:

no valid BOOT image found

Final autoboot attempt from default boot device....

Warning: filesystem is not clean 

Warning: filesystem is not clean

Located tracelogs.332

Image size 0 inode num 12, bks cnt 0 blk size 8*512

 

Boot image size = 0 (0x0) bytes

Warning: filesystem is not clean

Located ASR-903_FOX1729P00T.lic

Image size 1139 inode num 13, bks cnt 1 blk size 8*512

#

Boot image size = 1139 (0x473) bytes

 

Unknown image structure

boot: cannot determine first file name on device "bootflash:/" 

autoboot: boot failed, restarting

 

Then the system starts up in ROMmon mode. I did some googling and tried to boot off of a usb which is the following: 

 

rommon 14 > boot usb0:asr900rsp2-universalk9_npe.03.18.01.S.156-2.S1-std.bin

Checking USB devices..

USB EHCI 1.00

scanning USB bus for devices..

2 USB device(s) found

      Scanning bus for storage devices...

USB mass storage device detected

1 storage device(s) found

Located asr900rsp2-universalk9_npe.03.18.01.S.156-2.S1-std.bin, start cluster is 3

 

#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.

 

Image loaded 

Boot image size = 312800260 (0x12a4f404) bytes

 

Unknown image structure

boot: error executing "boot usb0:asr900rsp2-universalk9_npe.03.18.01.S.156-2.S1-std.bin"

 

 

I've been googling different ways to upload the IOS onto the device all day and I'm at my wit's end. Any help is much appreciated.

Also I obtained the .bin file from another testbed ASR903 in a building that I don't have 24/7 access to.

Thanks,

Adam

 

 

 

 

1 Accepted Solution

Accepted Solutions

I have a hunch ...
ASR 903 has three different type of RSP. The file "asr900rsp2-universalk9_npe.03.18.01.S.156-2.S1-std.bin" is for an ASR 903 with an RSP2. Can you please examine the router and determine if it indeed have an RSP2.
Now, if it is an ASR 903 with an RSP2, then try to download the latest 3.18.X train "asr900rsp2-universalk9_npe.03.18.07.SP.156-2.SP7-ext.bin" and see if router will boot that.

View solution in original post

14 Replies 14

Leo Laohoo
Hall of Fame
Hall of Fame
Can you post the complete output to the ROMMON command "dir bootflash:"?

rommon 2 > dir bootflash:
Warning: filesystem is not clean
File System: EXT2/EXT3

11 16384 drwx------ lost+found
30209 4096 drwxrwxrwx .prst_sync
75521 4096 drwxr-xr-x Image
135937 4096 drwxrwxrwx .installer
60417 4096 drwxr-xr-x core
15105 4096 drwxr-xr-x .rollback_timer
12 0 -rw------- tracelogs.332
45313 24576 drwxrwxrwx tracelogs
13 1139 -rw-r--r-- ASR-903_FOX1729P00T.lic
135938 4096 drwxr-xr-x n
rommon 3 >

While in ROMMON, try this: 

copy usb0:asr900rsp2-universalk9_npe.03.18.01.S.156-2.S1-std.bin bootflash: 

 After the copying has been completed, then do this: 

boot bootflash:asr900rsp2-universalk9_npe.03.18.01.S.156-2.S1-std.bin

It comes up saying the copy command is not found

rommon 4 > copy usb0:asr900rsp2-universalk9_npe.03.18.01.S.156-2.S1-std.bin bootflash:


monitor: command "copy" not found


rommon 5 >

How about this: 

emergency-install usb0:asr900rsp2-universalk9_npe.03.18.01.S.156-2.S1-std.bin

Same again :/

rommon 3 > emergency-install usb0:asr900rsp2-universalk9_npe.03.18.01.S.156-2.S1-std.bin


monitor: command "emergency-install" not found


rommon 4 >

In ROMMON, post the output to the command "?".

rommon 14 > ?
alias         set and display aliases command
boot        boot up an external process
break       set/show/clear the breakpoint
confreg    configuration register utility
context    display the context of a loaded image
cookie     display contents of cookie PROM in hex
dev          list the device table
dir           list files in file system
eject       safely remove the harware
dis         display instruction stream
frame     print out a selected stack frame
help       monitor builtin command help
history    monitor command history
meminfo   main memory information
repeat      repeat a monitor command
reset       system reset
set         display the monitor variables
showmon    display currently selected ROM monitor
stack      produce a stack trace
sync        write monitor environment to NVRAM
sysret       print out info from last system return
unalias      unset an alias
unset      unset a monitor variable
set_rommon_upgrade    set iocpld bits for upgrade
rommon 15 >

This looks like the router was loaded with SD-WAN firmware.
Kindly post the complete output to the command "set".

I booted up the router to try input the set command but now it is stuck on this screen. This output is straight from powering on.Capture.PNG

I have fixed the other issue by changing the baud rate, here is the result for the set command.

 

rommon 1 > set
PS1=rommon ! >
LICENSE_BOOT_LEVEL=metroaggrservices,all:ASR-903;
MCP_STARTUP_TRACEFLAGS=00000000:00000000
RET_2_RTS=
LICENSE_ACTIVE_LEVEL=metroaggrservices,all:ASR-903;
CONFIG_FILE=
BOOTLDR=
RANDOM_NUM=562010964
BSI=0
RET_2_RCALTS=
BOOT=
?=1
rommon 2 >

I have a hunch ...
ASR 903 has three different type of RSP. The file "asr900rsp2-universalk9_npe.03.18.01.S.156-2.S1-std.bin" is for an ASR 903 with an RSP2. Can you please examine the router and determine if it indeed have an RSP2.
Now, if it is an ASR 903 with an RSP2, then try to download the latest 3.18.X train "asr900rsp2-universalk9_npe.03.18.07.SP.156-2.SP7-ext.bin" and see if router will boot that.

That's fixed it!! You were completely right, the RSP I had was ASR903-RSP1. I have downloaded the correct IOS and booted from the usb in rommon mode and it works! Thank you very much!

Thanks for taking the time to give us the update. :)
That was fun troubleshooting.
Review Cisco Networking products for a $25 gift card