cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10080
Views
5
Helpful
15
Replies

Cisco 3925 router IOS Upgrade- booting with old IOS

shyamradhe
Level 1
Level 1

Hello all

I am trying to upgrade IOS of Cisco 3925 router.

running IOS- 15.2(4)M6

upgrade IOS-15.3.2T(ED)

just uploaded IOS to flash

copy tftp:/ flash:/ <file.bin>

updated boot system

boot system flash:/<file.bin>

verify the boot path

sho run | i boot

boot system flash:/<file.bin> [new IOS ]

save and reload,

but after rebooting router still picks the old IOS even when i check the boot path, it shows the new IOS path.

any idea? 

also cheked if there is another flash/bootflash 

dir shows 3 output

flash:, flash1: , flash0:/

kindly suggest !!!

2 Accepted Solutions

Accepted Solutions

Please post a the output of a "sh ver"

Curious to whether you have an E SPE and if you are trying to load a non E IOS?

View solution in original post

Radhemohan

It is essential to include the evidence describing the problem. Once you did, the answer is precise and not "try this OR try that".

The error message snippet you included is good but not complete. It is likely having another line that mentions machine and CPU type:

error - Invalid image for platform
e_machine = 134, cpu_type = 195 

Looks like you downloaded c3900-universalk9 whereas what you need is c3900e-universalk9.  The error message snippet you included seem to hint this to be the case.

Kind regards ... Palani

View solution in original post

15 Replies 15

Mark Malone
VIP Alumni
VIP Alumni

verify the ios did not get corrupted during upload

verify /md5 ......

you will get a code then where you downloaded the image on Cisco website you can verify the checksum there make sure they both match , if it got evcen slightly corrupted it wont boot

check the show bootvar , is it showing the new ios first too ?

this is your md5 checksum 7727d9c4daa89d62bb2ff6bdb0905feb

Hi Mark

checked !! and result is like below.

.............................Done!

verify /md5 (flash0:/c3900-universalk9-mz.SPA.153-2.T.bin) =7727d9c4daa89d62bb2ff6bdb0905feb

CINSUR01INTR02#sho bootvar

% Invalid input detected at '^' marke

also tried show bootvar, which is not supported in this IOS

Hi

ok so ios is good , your current ios is definitely in flash and not flash 1 or 0 ?

try show boot .. some platforms vary on that syntax

if its in correct flash then we need to see what's happening on console as its booting what errors its giving why its not taking the new ios

Ok

Working flash is "flash0:/",

I think flash0: and flash: is same, as i put ios file in flash:/ and its also showing in flash0:/

However "boot system" also not working 

but i can check boot path as below

CINSUR01INTR02#show run | i boot
boot-start-marker
boot system flash:/c3900-universalk9-mz.SPA.153-2.T.bin
boot-end-marker

however will check the errors during console access.

you could move the flash card to flash1 slot or put in a spare one and try boot from there too , rule out the other flash slot as an issue and card

stupid question but its definitely saving before the reload or the bootvar wont take

yes console probably next troubleshooting step see what its saying

Just some thoughts:

I've never used the forward slash "/" in the boot system flash: configuration.

Also, is your configuration register anything other than 0x2102?

It looks like your boot system command syntax is wrong (don't use / forward slash):

 

I have personally used, that works everytime

 

boot system flash flash0:c3900e-universalk9-mz.SPA.155-3.M6.bin

 

You can use "flash:" or "flash0:" and they are both the same (by default, if you use "flash:" then it means "flash0:").  If your 2nd CF slot is filled then you use "flash1:".

 

pls mark this as solved if you are satisfied.

Joseph W. Doherty
Hall of Fame
Hall of Fame

You might also check your config-register value.  I recall (?) there's an option to ignore boot var and just boot first valid IOS in flash.

Palani Mohan
Cisco Employee
Cisco Employee

Do you have access to the console log? If yes, please share its contents. It will *precisely* tell you what's going on, during boot phase.

yes 

checked the console logs and noticed error- invalid image for platform,

I think there must be 15.3.2M instead of 15.3.2T, as i my old IOS is from M series. 

Please post a the output of a "sh ver"

Curious to whether you have an E SPE and if you are trying to load a non E IOS?

Radhemohan

It is essential to include the evidence describing the problem. Once you did, the answer is precise and not "try this OR try that".

The error message snippet you included is good but not complete. It is likely having another line that mentions machine and CPU type:

error - Invalid image for platform
e_machine = 134, cpu_type = 195 

Looks like you downloaded c3900-universalk9 whereas what you need is c3900e-universalk9.  The error message snippet you included seem to hint this to be the case.

Kind regards ... Palani

thanks Palani

..You are right !!!

c3900e-universalk9 works..... 

johnd2310
Level 8
Level 8

Hi,

I think for the 3925 router the command should be

boot system flash c3900-universalk9-mz.SPA.153-2.T.bin

you don't need the :/

Thanks

John

**Please rate posts you find helpful**
Review Cisco Networking for a $25 gift card