Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

copying and booting form a flash image 1

Status
Not open for further replies.

wellerw

MIS
Mar 14, 2003
175
GB
I have copied a new IOS image down onto a cisco 4500 catalyst switch, I used 'copy tftp bootflash', but now I have two images in my flash memory.

In my running config it says 'boot system flash {filename}.bin'

but when the switch boots it says 'booting from first ios in flash' which is the older one.

Is there a way of changing the order, or deleting the older one?

Thanks
 
The 'boot system flash' command should tell the switch which image you want to load. Make sure this command is present and references your new image.

Conversely ensure that there is no such existing command that references the old image. If there is, remove it in config mode by preceding the same statement with a no in front of it, e.g.

switch(config)#no boot system flash xxxxxxx.bin

You can verify yout boot setup by issuing the 'show run' cmd.
 
Sounds like the boot statement is incorrect . First get rid of the old statement "no boot system flash:<imagename> . then put in the following statement "boot system flash bootflash:<imagename> . Copy run start . Check boot variable with the "show bootvar" command , and also make sure the config register is correct at 0x2102 .
 
HI,

I have add the command - boot system flash bootflash:<imagename>

then I changed conf register to 0x2102, but it says it cannot load the image file <filename>

it is definately spelt correctly and i tried it with the .bin at the end and without.

hmmmm
 
The imagename is the name of of the .bin file you downloaded into bootflash not the name imagename . boot system flash bootflash: XXXXXXX.bin . Do a dir bootflash: and just copy and paste the imagename out of bootflash for the one you want to use . Get rid of the boot statement you just put in . The new statement should look like this "!
boot system flash bootflash:cat4000-i9k91s-mz.122-20.ewa.bin . Of course the image file name will be whatever you are using .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top