cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2612
Views
0
Helpful
4
Replies

4507 went to romon during IOS upgrade

mahesh18
Level 6
Level 6

                   Hi all,

I copied new ios image to 4507 .

changed the boot system bootflash to new ios.

changed the config reg to 0x2102.

did reboot now this

config-register = 0x2102
Autobooting using BOOT variable specified file.....

Current BOOT file is --- bootflash:cat4500e-universalk9.SPA.03.03.00.SG.151-1.S
G.bin
Directory USER/cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin not found
Unable to locate USER/cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin director
y
boot: can not load "bootflash:cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin
"


The switch will automatically reboot now...
rommon 1 >
Rommon signature verification PASSED for golden image
Rommon signature verification PASSED for primary image
FPGA signature verification PASSED for primary image

1 Accepted Solution

Accepted Solutions

Hi Mahesh,

I can see the the old image only avialble on the bootflash: and not seeing the new image stored on bootflash. 

rommon 1 >dir bootflash:

Date       Time    Attribute   Size         Name
========== =====   ==========  ==========   ================
2012/08/22 19:19   -rwxr-xr-x    89765939   cat4500e-universalk9.SPA.03.02.00.SG.150-2.SG.bin
2012/09/10 15:16   -rw-rw-rw-   115624136   flash

   Total space =    798175 KB
   Available   =    600748 KB

The switch could wind up in ROMmon mode due to these reasons:

  1. A switch reload or crash after the image was corrupted or deleted.
  2. The Compact Flash which holds the system image has been removed
  3. The configuration register has been changed incorrectly (but your case it is set correctly at 0x2102)
  4. The boot variable is incorrect, but a valid image is still present

Suggestion:

  • Please copy the new image to bootflash: or slot 0: where ever possible
  • Issue the verify command to determine if the image has a valid checksum, as this example shows:

Example:

Switch#verify bootflash:cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Verified bootflash:cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin

  • Issue the show bootvar command to check the current boot variable.

Switch#show bootvar
BOOT variable = bootflash:cat4000-is-mz.121-8a.Ew,1
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

  • Remove the existing incorrect boot variable and add the correct one. Issue the configure terminal command in order to do this.

Switch#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#no boot system flash bootflash:cat4500e-universalk9.SPA.03.02.00.SG.150-2.SG.bin
Switch(config)#boot system flash bootflash:cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin

Switch(config)#end

  • Save the configuration from running to startup, by issuing the write memory command.

Switch#write memory
Building configuration...
Compressed configuration from 4359 bytes to 1730 bytes[OK]
Switch#

  • Check the boot variable again to make sure it is set properly so that the switch boots up the correct system file on the next reboot. Issue the show bootvar command in order to do this.

Switch#show bootvar
BOOT variable = bootflash:cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin

CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

Refer:

http://www.cisco.com/en/US/products/hw/switches/ps663/products_configuration_example09186a0080094ecf.shtml

Regards,

Aru

Regards, Aru *** Please rate if the post useful ***

View solution in original post

4 Replies 4

mahesh18
Level 6
Level 6

Hi,

New ios is  cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin

but bootflash still shows ols ios   how can i fix this

what i did now

rommon 1 >dir bootflash:

Date       Time    Attribute   Size         Name
========== =====   ==========  ==========   ================
2012/08/22 19:19   -rwxr-xr-x    89765939   cat4500e-universalk9.SPA.03.02.00.S
G.150-2.SG.bin
2012/09/10 15:16   -rw-rw-rw-   115624136   flash

   Total space =    798175 KB
   Available   =    600748 KB

rommon 2 >boot bootflash:cat4500e-universalk9.SPA.03.02.00.S
Directory USER/cat4500e-universalk9.SPA.03.02.00.S not found
Unable to locate USER/cat4500e-universalk9.SPA.03.02.00.S directory
boot: can not load "bootflash:cat4500e-universalk9.SPA.03.02.00.S"
rommon 3 >boot bootflash:cat4500e-universalk9.SPA.03.02.00.SG.150-2.SG.bin
loading image

Hi Mahesh,

I can see the the old image only avialble on the bootflash: and not seeing the new image stored on bootflash. 

rommon 1 >dir bootflash:

Date       Time    Attribute   Size         Name
========== =====   ==========  ==========   ================
2012/08/22 19:19   -rwxr-xr-x    89765939   cat4500e-universalk9.SPA.03.02.00.SG.150-2.SG.bin
2012/09/10 15:16   -rw-rw-rw-   115624136   flash

   Total space =    798175 KB
   Available   =    600748 KB

The switch could wind up in ROMmon mode due to these reasons:

  1. A switch reload or crash after the image was corrupted or deleted.
  2. The Compact Flash which holds the system image has been removed
  3. The configuration register has been changed incorrectly (but your case it is set correctly at 0x2102)
  4. The boot variable is incorrect, but a valid image is still present

Suggestion:

  • Please copy the new image to bootflash: or slot 0: where ever possible
  • Issue the verify command to determine if the image has a valid checksum, as this example shows:

Example:

Switch#verify bootflash:cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Verified bootflash:cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin

  • Issue the show bootvar command to check the current boot variable.

Switch#show bootvar
BOOT variable = bootflash:cat4000-is-mz.121-8a.Ew,1
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

  • Remove the existing incorrect boot variable and add the correct one. Issue the configure terminal command in order to do this.

Switch#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#no boot system flash bootflash:cat4500e-universalk9.SPA.03.02.00.SG.150-2.SG.bin
Switch(config)#boot system flash bootflash:cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin

Switch(config)#end

  • Save the configuration from running to startup, by issuing the write memory command.

Switch#write memory
Building configuration...
Compressed configuration from 4359 bytes to 1730 bytes[OK]
Switch#

  • Check the boot variable again to make sure it is set properly so that the switch boots up the correct system file on the next reboot. Issue the show bootvar command in order to do this.

Switch#show bootvar
BOOT variable = bootflash:cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin

CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

Refer:

http://www.cisco.com/en/US/products/hw/switches/ps663/products_configuration_example09186a0080094ecf.shtml

Regards,

Aru

Regards, Aru *** Please rate if the post useful ***

Hi Aru,

Many thanks issue is fixed .

I had copied new IOS earlier to Flash instead of boot flash.

I copied again new IOS to bootflash and all was good then.

Earlier while copying from tftp to  Flash was also successfull to switch while there was no flash option.

regards

mahesh

I have a 4507 switch which went to hung state everytime there is power interrupt in the location.

 

It has different OS in ROM: 12.2(31r)SG3 and different OS in bootflash : 12.2(25)EWA8.

 

I suspect if that is causing the issue. Please suggest me how to fix this Issue. How will I change the OS from ROM: to the same OS in bootflash: or vice versa.

 

Also please suggest me what latest OS shall I load as well if there is any.

 

I know it is EOL and EOS so I was unable to raise Cisco TAC case.

 

 

 

 

gab1pf1-4507s01#dir
Directory of bootflash:/

    1  -rwx    12535060  Apr 27 2007 09:04:02 -07:00  cat4000-i9s-mz.122-25.EWA8.bin
    2  -rw-       29201  May 10 2017 11:41:09 -07:00  05-10-2017

61341696 bytes total (48777176 bytes free)
gab1pf1-4507s01#sh ver
Cisco IOS Software, Catalyst 4000 L3 Switch Software (cat4000-I9S-M), Version 12.2(25)EWA8, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 24-Jan-07 14:38 by pwade
Image text-base: 0x10000000, data-base: 0x114EECF0

ROM: 12.2(31r)SG3
Pod Revision 14, Force Revision 34, Tie Revision 32

gab1pf1-4507s01 uptime is 23 hours, 7 minutes
Uptime for this control processor is 23 hours, 7 minutes
System returned to ROM by power-on
System restarted at 10:54:57 PST Sun Feb 4 2018
System image file is "bootflash:cat4000-i9s-mz.122-25.EWA8.bin"

cisco WS-C4507R (MPC8540) processor (revision 11) with 524288K bytes of memory.
Processor board ID FOX1109002V
MPC8540 CPU at 800Mhz, Supervisor V-10GE
Last reset from PowerUp
8 Virtual Ethernet interfaces
166 Gigabit Ethernet interfaces
2 Ten Gigabit Ethernet interfaces
511K bytes of non-volatile configuration memory.

Review Cisco Networking for a $25 gift card