cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1541
Views
60
Helpful
13
Replies

Booting to Rommon after copy run start

CarsonEdwards
Level 1
Level 1

I have a Cisco 4948e (the silver one not the gross teal one) 

 

I am booting into rommon after copy run start. Config-register is 0x2102

This is after the initial setup as I have rebooted the switch with no config just fine.

 

rommon 5 >dir bootflash:  

 

File Size (Bytes)             File Name
  ---------------------------------------
      40128461                 cat4500e-ipbasek9-mz.152-4.E5.bin
      39979805                 cat4500e-ipbasek9-mz.152-4.E7.bin   Total space = 128206848 bytes, Available = 38068224

 

bytesrommon 6 > [interrupt]rommon 6 >boot flash:cat4500e-ipbasek9-mz.152-4.E7.bin
 

Invalid filename flash:cat4500e-ipbasek9-mz.152-4.E7.bin. It must begin with device name

 

It says its an invalid file name, but boots right up to my previous config.

 

I don't think my other switches have this problem.

 

Thank you, Thank you!

1 Accepted Solution

Accepted Solutions

#dir bootflash:    <--- check the this file available in bootflash - cat4500e-ipbasek9-mz.152-4.E7.bin

if the image not in bootflash, copy from USB or what ever source.

#configure terminal
(config)#boot system flash bootflash:cat4500e-ipbasek9-mz.152-4.E7.bin
(config)#end
#write memory
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.
#show bootvar
Configuration register is 0x2102

 

Reload the device test it booting correctly.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

13 Replies 13

marce1000
VIP
VIP

              >It says its an invalid file name, but boots right up to my previous config.

                   - Exactly what do you mean by that , so it does boot (e.g.)

 M.

 



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

balaji.bandi
Hall of Fame
Hall of Fame

try below

>boot bootflash:cat4500e-ipbasek9-mz.152-4.E7.bin

Once it boots check the boot variable. and setup accordingly.

 

#show bootvar

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

I  get the following from show bootvar

 

komodo#show bootvar
BOOT variable =
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

 

 - Take care of this good suggestion :

          >boot bootflash:cat4500e-ipbasek9-mz.152-4.E7.bin

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

try below

>boot bootflash:cat4500e-ipbasek9-mz.152-4.E7.bin

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

CarsonEdwards
Level 1
Level 1

I have done some more research and it looks to be a common issue on the 4500 series of switches. 

Have any sources of how to configure the bootvar correctly?

 

THANK YOU!

#dir bootflash:    <--- check the this file available in bootflash - cat4500e-ipbasek9-mz.152-4.E7.bin

if the image not in bootflash, copy from USB or what ever source.

#configure terminal
(config)#boot system flash bootflash:cat4500e-ipbasek9-mz.152-4.E7.bin
(config)#end
#write memory
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.
#show bootvar
Configuration register is 0x2102

 

Reload the device test it booting correctly.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thank You very much!

Now I don't need to boot to rommon every reload.

Hello
Check to see what currently resides in you flash directory

dir /all file systems

If the old and image files are their verify their integrity 

verify /md5 flash:/xxxx.bin

Next remove old bootvar and create a new one

config t
no bootvar or no boot
boot system flash:/new-image.bin
boot system flash:/old-image.bin
end
write
show bootvar or boot
reload


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

CarsonEdwards
Level 1
Level 1

komodo#verify /md5 bootflash:/cat4500e-ipbasek9-mz.152-4.E5.bin
.........................................................................................................................................................................................................................................................................................................................................................................................................................................Done!
verify /md5 (bootflash:/cat4500e-ipbasek9-mz.152-4.E5.bin) = b8724ee095836a5f012ce21967061e7e

 


komodo#
komodo#verify /md5 bootflash:/cat4500e-ipbasek9-mz.152-4.E7.bin
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Done!
verify /md5 (bootflash:/cat4500e-ipbasek9-mz.152-4.E7.bin) = 88f5966e3d1f4181b31bb7d40a7f53e2

 

config t
no bootvar or no boot
boot system flash:/new-image.bin
boot system flash:/old-image.bin
end
write
show bootvar or boot
reload

 

 

I will try this shortly

 

 

THANK YOU!

Hello

has now you have confirmed its bootflash make sure that is specified.
boot system bootflash:/new-image.bin
boot system bootflash:/old-image.bin


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

This ended up working 

 

#configure terminal
(config)#boot system flash bootflash:cat4500e-ipbasek9-mz.152-4.E7.bin
(config)#end
#write memory
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.
#show bootvar
Configuration register is 0x2102

 

Thanks for all your help!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card