cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5332
Views
11
Helpful
17
Replies

IR1101 boot issue

padraignotlad
Level 1
Level 1

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

17 Replies 17

Leo Laohoo
Hall of Fame
Hall of Fame

@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.

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".

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

 

If the boot variable statement is entered incorrect, the router will boot into ROMMON due to .

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.

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.

 

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

Post the complete ROMMON output to the command "set" and "dir flash:".

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)

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 >

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 >

In ROMMON, try this: 

boot bootflash:ir1101-universalk9.17.02.01r.SPA.bin

NOTE: 

  • If "bootflash:" is not accepted, try "flash:".
  • If the router boots up, upgrade to a different version.  Avoid using single-release IOS-XE versions.   The latest 17.3.X is a good candidate.

@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.)

rommon 8 > flash:
monitor: command "flash:" not found
rommon 9 >


@Madmandrd wrote:
rommon 8 > flash:
monitor: command "flash:" not found
rommon 9 >

That is the wrong command.

dir flash:

padraignotlad
Level 1
Level 1

I'm still having this problem.  I can't change the configuration register, and I can't change the boot variable.

Review Cisco Networking for a $25 gift card