06-11-2021 08:08 AM
Hello,
I was trying to downgrade the iOS on an IR1101 router from ir1101-universalk9.17.02.01.SPA.bin
to ir1101-universalk9.16.11.01.SPA.bin.
I accidentally entered "boot system flash:/ir1101-universalk9.16.11.01.SPA.bin"
When I should have entered "boot system bootflash:/ir1101-universalk9.16.11.01.SPA.bin"
Now the router is in a boot loop because it can't find "flash:"
I've been able to ctrl+c to break and enter rommon> and manually boot, and then when I'm in the OS, I try to fix with the correct boot statement, but it doesn't take.
I've tried changing the boot statement by using the set command, but that doesn't save either. Even when I type "sync" after.
How to I fix this? I just want to forget about downgrading and load ir1101-universalk9.17.02.01.SPA.bin.
Thanks,
Padraig
06-11-2021 07:59 PM - edited 06-11-2021 07:59 PM
@padraignotlad wrote:
I was trying to downgrade the iOS on an IR1101 router from ir1101-universalk9.17.02.01.SPA.bin to ir1101-universalk9.16.11.01.SPA.bin.
OmfG, 16.12.1 to 16.11.1! Downgrading from one buggy version to an EXTREMELY buggy version. That will go down well.
If you are in ROMMON, then enter the command "boot bootflash:ir1101-universalk9.16.11.01.SPA.bin". Once the router boots up into ROMMON make the necessary corrections to the incorrect boot-variable statement.
06-15-2021 05:27 AM
I can boot into the OS fine from rommon, but when I try to change the OS with "boot system bootflash:ir1101-universalk9.17.02.01.SPA.bin" and then "wr" and reload, it is still looking for flash instead of bootflash. When I initially downgraded, I accidentally typed "boot system flash:ir1101-universalk9.17.02.01.SPA.bin" when I should have used "bootflash".
06-15-2021 08:19 AM
Hello @padraignotlad ,
you need to delete the wrong statement because the new command boot ... does not replace the previous one. It is placed after it. IOS allows for multiple boot commands
You need to do
conf t
no boot system flash:ir1101-universalk9.17.02.01.SPA.bin
then do show run | inc boot and verify the wrong command has gone.
Finally save the configuration.
Hope to help
Giuseppe
06-15-2021 03:35 PM
If the boot variable statement is entered incorrect, the router will boot into ROMMON due to CSCvg37458.
The correct boot variable statement for routers running IOS-XE is:
boot system flash bootflash:filename.ext
For more information, read THIS.
Finally, booting into Bundle Mode is not recommended. Install Mode is the recommended method.
02-10-2022 03:56 AM
Thanks Guys ( Leo Laohoo and Gluseppe Larosa ) Using both commands together stopped the unwanted version from being loaded and loaded the desired version which solved the problem for me. It seems that starting in Ver. 17.02.01,Cisco added a feature in the GUI
under : Admin- Software Management-Software upgrade to remove inactive files which can clear up to 50 percent of the Bootflash
Directory .Which helps Performance.
12-29-2021 01:40 PM
There are no erase or delete commands in ROMMON mode:
System Bootstrap, Version 2.2(REL), RELEASE SOFTWARE
Copyright (c) 1994-2019 by cisco Systems, Inc.
IR1101-K9 platform with 4188160 Kbytes of main memory
MCU Version - Bootloader: 4, App: 6
MCU is in application mode.
rommon 11 > help
alias set and display aliases command
boot - boot up an external process
confreg -configuration register utility
dev -list the device table
dir - list files in file system
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
sync - write monitor environment to NVRAM
token - display board's unique token identifier
unalias - unset an alias
unset - unset a monitor variable
12-29-2021 03:53 PM
Post the complete ROMMON output to the command "set" and "dir flash:".
12-29-2021 04:56 PM
The other units not talking anymore but this has similar problem Here is Non-ROMMOM Dir of Bootflash:
Directory of bootflash:/
12 -rw- 10687 Dec 11 2019 13:50:42 -06:00 debug.conf
141697 drwx 98304 Dec 29 2021 15:39:08 -06:00 trace logs
102337 drwx 4096 Dec 29 2021 15:26:16 -06:00 .installer
125953 drwx 4096 Sep 20 2019 14:03:50 -05:00 .ssh
23617 drwx 4096 Sep 20 2019 14:04:02 -05:00 .rollback timer
86593 drwx 4096 Dec 16 2021 14:46:38 -06:00 .dbpersist
39361 drwx 4096 Sep 20 2019 14:05:13 -05:00 eem
110209 drwx 4096 Sep 20 2019 14:05:09 -05:00 core
94465 drwx 4096 Sep 20 2019 14:03:55 -05:00 .prst_sync
118081 drwx 4096 Sep 20 2019 14:05:12 -05:00 managed
13 -rw- 35 Dec 29 2021 15:37:34 -06:00 pnp-tech-time
14 -rw- 129294 Dec 29 2021 15:37:39 -06:00 pnp-tech-discovery-summary
11 -rw- 155 Dec 28 2021 10:31:15 -06:00 boothelper.old
16 -rw- 155 Dec 29 2021 15:27:18 -06:00 boothelper.log
133825 drwx 4096 Dec 15 2021 03:07:59 -06:00 iox_disk
47233 drwx 4096 Dec 11 2019 13:52:32 -06:00 virtual-instance
62977 drwx 4096 Dec 11 2019 13:52:55 -06:00 onep
17 -rw- 30 Dec 29 2021 15:27:44 -06:00 throughput_monitor_params
70849 drwx 4096 Dec 29 2021 15:28:11 -06:00 license_evlog
15 -rw- 510014271 Dec 14 2021 13:30:18 -06:00 ir1101-universalk9.17.02.01r.SPA.bin
19 -rw- 4686 Dec 29 2021 15:27:09 -06:00 mode_event_log
70854 -rw- 20109 Dec 9 2021 09:59:04 -06:00 ios_core.p7b
70855 -rwx 1314 Dec 9 2021 09:59:04 -06:00 trustidrootx3_ca.ca
78722 drwx 4096 Dec 9 2021 10:03:54 -06:00 callhome
2788687872 bytes total (1350496256 bytes free)
12-29-2021 05:01 PM
Here is the other IR1101 in ROMMON with the two Commands requested:
rommon 1 >
rommon 1 > dir Bootflash:
Device not found Bootflash:
rommon 2 > set
PS1=rommon ! >
LICENSE_BOOT_LEVEL=network-essentials,all:IR1101;
MCP_STARTUP_TRACEFLAGS=00000000:00000000
DEVICE_MANAGED_MODE=autonomous
BOOT=
RET_2_RTS=13:51:32 CST Thu Dec 16 2021
RET_2_RCALTS=
BSI=0
RANDOM_NUM=672115380
rommon 3 >
12-29-2021 05:06 PM
dir flash didn't work but dev does:
rommon 6 > dev flash:
Devices in device table:
id name
bootflash: Internal flash drive
usbflash0: External USB drive 0
rommon 7 >
12-29-2021 05:42 PM - edited 12-29-2021 08:20 PM
In ROMMON, try this:
boot bootflash:ir1101-universalk9.17.02.01r.SPA.bin
NOTE:
@Madmandrd wrote:
rommon 1 > dir Bootflash:
That is the wrong syntax. It should be "dir bootflash:" (all lower caps). ROMMON is "sensitive" and very case sensitive.
If "dir bootflash:" does not work in ROMMON, try "dir flash:".
(Different platforms have different naming standards for "consistency" purposes.)
12-30-2021 04:14 AM
12-30-2021 04:29 AM
@Madmandrd wrote:
rommon 8 > flash:
monitor: command "flash:" not found
rommon 9 >
That is the wrong command.
dir flash:
06-22-2021 10:50 AM
I'm still having this problem. I can't change the configuration register, and I can't change the boot variable.
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