Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


copying and booting form a flash image

copying and booting form a flash image

copying and booting form a flash image

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?


RE: copying and booting form a flash image

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.

RE: copying and booting form a flash image

   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 .  

RE: copying and booting form a flash image


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.


RE: copying and booting form a flash image

  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 .

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close