04-13-2019 04:08 PM
I have a pressing issue, we just acquired a cisco ISR 4221 router and while we were attempting to upgrade, someone accidentally issued the factory-reset command and now the router is stuck in rommon mode and i have been attempting to recover the iOS using a USB flash drive or tftp but unsuccessful thus far,, any help ?
04-13-2019 04:20 PM
you can use xmodel or tftp on rommon mode
https://www.cisco.com/c/en/us/support/docs/routers/2600-series-multiservice-platforms/12714-76.html
04-13-2019 04:33 PM
Console into the router and reboot. Post the entire boot-up process.
04-13-2019 09:53 PM
Hi,
share complete boot process output and "DIR Flash" output from the rommon mode.
04-14-2019 01:24 AM
@Deepak Kumar wrote:Hi,
share complete boot process output and "DIR Flash" output from the rommon mode.
So i managed to get around the issue by setting the tftp env variables (IP_ADDRESS, TFTP_SERVER, etc.. ) and doing a boot tftp: and booting into ios, however i am now stuck when i copy the image from tftp: to bootflash: and set the boot system flash:<image path> and write running config to startup config i get the following:
Initializing Hardware ...
Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly
System Bootstrap, Version 16.7(3r), RELEASE SOFTWARE
Copyright (c) 1994-2017 by cisco Systems, Inc.
Current image running: Boot ROM0
Last reset cause: LocalSoft
ISR4221/K9 platform with 4194304 Kbytes of main memory
........
unable to open isr4200-universalk9_ias.16.06.05.SPA.bin (14)
........
autoboot: boot failed, restarting...
Resetting .......
Initializing Hardware ...
Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly
System Bootstrap, Version 16.7(3r), RELEASE SOFTWARE
Copyright (c) 1994-2017 by cisco Systems, Inc.
Current image running: Boot ROM0
Last reset cause: LocalSoft
ISR4221/K9 platform with 4194304 Kbytes of main memory
........
no valid BOOT image found
Final autoboot attempt from default boot device...
unable to open bootflash: (14)
........
autoboot: boot failed, restarting...
Resetting .......
Initializing Hardware ...
04-14-2019 03:10 AM
Hi,
It seems like you had deleted the "isr4200-universalk9_ias.16.06.05.SPA.bin" file or boot image name has changed. First, verify the required is available on flash or not.
Hard reboot the router and press BREAK key continues until you will not get into the rommon mode.
rommon 1 >
Now load Image in the USB drive (fat format and maximum 4Gb in size).
boot usb1:isr4200-universalk9_ias.16.06.05.SPA.bin
reset
*may new image name will differ.
The router will boot from the USB.
04-14-2019 05:42 AM
In ROMmon, can you do the following:
confreg 0x2101 reset
Let us know if the router can boot up properly.
04-14-2019 08:06 AM
As per my understand orginal post mentioned that he has access issue with USB Flash to boot with IOS
After that difficulties, suggestion made that to use Xmodem or tftp from ROMMON to book.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide