Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

4503 IOS update failed...

I tried to update the IOS on our backbone switch going via the instructions attached. This failed and the switch continuously rebooted saying it could not load the .bin in rommon# mode.

I think I found the problem in the path being incorrect

nzaklnet1(config)#boot system ?

WORD TFTP filename or URL

flash Boot from flash memory

ftp Boot from a server via ftp

mop Boot from a Decnet MOP server

rcp Boot from a server via rcp

tftp Boot from a tftp server

nzaklnet1(config)#boot system flash ?

WORD System image filename

<cr>

nzaklnet1(config)#boot system flash NEWIMAGE NAME

boot-start-marker

boot system flash bootflash:cat4000-i9s-mz.122-25.ewa10.bin - should be?? boot system flash:cat4000-i9s-mz.122-25.ewa10.bin'?

boot system bootflash:cat4000-i9s-mz.122-25.EWA4

boot system bootflash:cat4000-i9s-mz.122-25.EWA4.bin

boot-end-marker

!

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Bronze

Re: 4503 IOS update failed...

It would be displayed next to the filename, which it doesn't at the moment.

The problem you had was due to case sensitive differences between the string and the actual filename.

21 REPLIES
Hall of Fame Super Bronze

Re: 4503 IOS update failed...

The correct command is:

boot system flash bootflash:image-name.bin

However, if you only have one bin file in the bootflash, you don't even need this command.

Can you verify the image was loaded correctly into bootflash by typing,

dir bootflash:

Community Member

Re: 4503 IOS update failed...

That is what I had originally.

Yes I can see the image when typing dir bootflash:

Did you have chance to view my original instruction sheet, did it all look correct?

So best practice would be to remove the existing .bin image so only one .bin exists - What happens if the image fails to load again, how I be able to boot tftp x.x.x.x if the switch is dead for recovery?

Thanks again

Brendan

Purple

Re: 4503 IOS update failed...

You should not have to get rid of the old image unless you are out of space , as Edison said it should be "boot system flash bootflash: , then write mem. Verify with the "show bootvar" command as to which image will load . Also check config register is correct , if you have a boot statement it should use the one in the statement , if no boot statement is specified it will use the first image it finds in bootflash which would be your old image .

Hall of Fame Super Bronze

Re: 4503 IOS update failed...

Yes, I reviewed the instructions and they are correct.

Best practice is to keep the original image (if there is enough space in the bootflash) along with the new image. With this approach, you can revert back to the original image in case you encounter a bug with the new image.

With that said, what's really the problem with the upgrade ? It isn't clear to me ...

Community Member

Re: 4503 IOS update failed...

The system came back with

rommon 1 > Unable to load bootflash:cat4000cat4000-i9s-mz.122-25.ewa10.bin system will automatically restart 5

It just continually did this until {ctrl-c} was pressed. Then I used the boot cammand and pointed to the old image.

Hall of Fame Super Bronze

Re: 4503 IOS update failed...

The image that is trying to load is incorrect.

You have cat4000 twice on the filename.

Community Member

Re: 4503 IOS update failed...

Sorry that was a typo.

Should read rommon 1 > Unable to load bootflash:cat4000-i9s-mz.122-25.ewa10.bin system will automatically restart 5

My log is all out of wack.

Hall of Fame Super Bronze

Re: 4503 IOS update failed...

Sounds like the new image is corrupted.

Can you load the old image and please post the output from typing

show version

and

dir bootflash:

Thanks

Community Member

Re: 4503 IOS update failed...

Show ver...

Cisco IOS Software, Catalyst 4000 L3 Switch Software (cat4000-I9S-M), Version 12

.2(25)EWA4, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2005 by Cisco Systems, Inc.

Compiled Fri 23-Sep-05 13:31 by ssearch

Image text-base: 0x10000000, data-base: 0x114DFF08

ROM: 12.2(20r)EW1

Dagobah Revision 226, Swamp Revision 31

nzaklnet1 uptime is 3 days, 15 hours, 43 minutes

System returned to ROM by power-on

System image file is "bootflash:"

cisco WS-C4503 (MPC8245) processor (revision 14) with 524288K bytes of memory.

Processor board ID FOX074104M8

MPC8245 CPU at 333Mhz, Supervisor IV

Last reset from PowerUp

11 Virtual Ethernet interfaces

98 Gigabit Ethernet interfaces

403K bytes of non-volatile configuration memory.

Configuration register is 0x2102

Dir Bootflash:

Directory of bootflash:/

1 -rwx 12495228 Jul 5 2006 07:29:18 +00:00 cat4000-i9s-mz.122-25.EWA4

.bin

61341696 bytes total (36443408 bytes free)

I have removed the new image from the boorflash:

This is part of the Show Run, it doesn't look right either?

oot-start-marker

boot system flash bootflash:cat4000-i9s-mz.122-25.ewa10.bin

boot system bootflash:cat4000-i9s-mz.122-25.EWA4

boot system bootflash:cat4000-i9s-mz.122-25.EWA4.bin

boot-end-marker

Thanks

Hall of Fame Super Bronze

Re: 4503 IOS update failed...

The boot variables keep prepending every time you enter the command. Let's cleaned up a bit and remove all the entries, in config mode, type:

no boot system flash bootflash:cat4000-i9s-mz.122-25.ewa10.bin

no boot system bootflash:cat4000-i9s-mz.122-25.EWA4

no boot system bootflash:cat4000-i9s-mz.122-25.EWA4.bin

I would've loved to see the output from dir bootflash: while the new image was there. It would've shown if the image was corrupted.

You have enough space to have both images in the flash at the same time.

I recommend you download the image once again from Cisco, perhaps the one you have is corrupted. Once downloaded, tftp back onto the switch and enter the appropriate bootflash command.

Ex,

boot system flash bootflash:cat4000-i9s-mz.122-25.EWA10.bin

Edit: One thing I noticed is the EWA10 is lower case in the boot system string. The image is case sensitive so it must match with the filename.

Community Member

Re: 4503 IOS update failed...

Fantastic, I think that will be it then - Images are case sensitive.

Now I don't want to mess with a live system with 1000+ users plugging away, does the removal of the boot system variables affect the running in anyway possible?

Thanks again,

Hall of Fame Super Bronze

Re: 4503 IOS update failed...

No. It doesn't affect the running config. Those commands are only read during bootup to load the image.

Community Member

Re: 4503 IOS update failed...

Awsome, thanks Edison, I will load the new image up on Friday night and see how it goes.

Community Member

Re: 4503 IOS update failed...

I copied the image back to teh switch, here is the output from dir bootflash:

zaklnet1#dir bootflash:

Directory of bootflash:/

1 -rwx 12495228 Jul 5 2006 07:29:18 +00:00 cat4000-i9s-mz.122-25.EWA4

.bin

3 -rwx 12402804 Sep 3 2007 19:42:18 +00:00 cat4000-i9s-mz.122-25.EWA1

0.bin

61341696 bytes total (24040476 bytes free)

Not sure how you tell if the image is corrupt, correct size?

Hall of Fame Super Bronze

Re: 4503 IOS update failed...

It would be displayed next to the filename, which it doesn't at the moment.

The problem you had was due to case sensitive differences between the string and the actual filename.

Purple

Re: 4503 IOS update failed...

You can also verify the integrity of the file with the "verify bootflash: command and this checks the file . There is usually is a check at the end of the file download so it should show even at that point if there is a problem . In all my years I'm not sure I have ever run into a corrupted image that was downloaded so its a pretty rare event. If there is a problem it is usuauly syntax problems with the boot statements etc... Also as a check on your boot statements first doa a "dir bootflash: , then copy and then paste that image into your boot statement and this will eliminate the imagename that is not typed correctly.

Re: 4503 IOS update failed...

Edison,

Are you sure you require boot system flash bootflash: ?

I checked by upgrading an IOS of a switch and setting the bootpath as

boot system bootflash:cat4000-i5k91s-mz.122-25.EWA9.bin which worked absolutely fine

Narayan

Hall of Fame Super Bronze

Re: 4503 IOS update failed...

Narayan,

I don't have the equipment at the moment to verify the syntax.

I'm going by the original post 'online help'.

If you notice, when the OP did

boot system ?

The correct option was flash

when he did boot system flash ?

It presented the image file name as the option. For completeness, one should include the word bootflash since that's where the image is actually stored.

Re: 4503 IOS update failed...

Edison, i checked it and it works and hence wanted to know whether it is really required. It may be available from a particular code; i am using 12.225 EWA9

Basically iam presented with both flash and file name as options and hence i think its working

MS_BGM_L3_SW1(config)#boot system ?

WORD TFTP filename or URL

flash Boot from flash memory

ftp Boot from a server via ftp

mop Boot from a Decnet MOP server

rcp Boot from a server via rcp

tftp Boot from a tftp server

MS_BGM_L3_SW1(config)#boot system ?

WORD TFTP filename or URL

flash Boot from flash memory

ftp Boot from a server via ftp

mop Boot from a Decnet MOP server

rcp Boot from a server via rcp

tftp Boot from a tftp server

MS_BGM_L3_SW1(config)#boot system

Narayan

Hall of Fame Super Bronze

Re: 4503 IOS update failed...

Since you have the equipment available, what happens if you enter boot system flash bootflash:image-name.bin ?

Does it work as not using the flash option ?

I rarely use this command as I usually only have one image in flash

Re: 4503 IOS update failed...

will check it out, production hours just started and i dont want to experiment now :-)

Narayan

1023
Views
24
Helpful
21
Replies
CreatePlease to create content