Link to home
Start Free TrialLog in
Avatar of m_loucel
m_loucel

asked on

CISCO 1700 series IOS ERROR

After a failed Upgrade due to lack of memory on my 1720 router
I decided to go back to the OLD ios which was working perfectly, so I perform:
delete [flashimage]
then tftp the old_image
conf t
no boot system flash [old_flash_image]
boot system flash [New_flash_image]
exit and reload (I don't care for the conf, just my test router)
this is what I got after that:

program load complete, entry point: 0x80008000, size: 0x30b8dc
Self decompressing the image : ############################################################################################################################################################################################################################################################################################################################################################################## [OK]

%SYS-6-READ_BOOTFILE_FAIL: flash:c1700-y-mz.121-27b.bin File read failed -- .

%SYS-6-BOOT_MESSAGES: Messages above this line are from the boot loader.
boot of "c1700-y-mz.121-27b.bin" using boot helper "flash:c1700-y-mz.121-27b.bin" failed
error returned: File read failed --
loadprog: error - on file open
boot: cannot load "c1700-y-mz.121-27b.bin"
System Bootstrap, Version 12.0(3)T, RELEASE SOFTWARE (fc1)
Copyright (c) 1999 by cisco Systems, Inc.
C1700 platform with 16384 Kbytes of main memory

program load complete, entry point: 0x80008000, size: 0x30b8dc
Self decompressing the image : #################################################### ......
-----> NOTE <------------
From above the router does a soft boot and load
..... continues normally then:

Press RETURN to get started!

00:00:05: %LINK-3-UPDOWN: Interface FastEthernet0, changed state to up
00:00:06: %SYS-5-CONFIG_I: Configured from memory by console
00:00:06: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software
IOS (tm) C1700 Software (C1700-Y-M), Version 12.1(27b), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Tue 16-Aug-05 18:22 by pwade
00:00:06: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to up

And all seems to be ok and normal...

I am totally thrown out of sequence here, why would it give me an error the first boot then suddenly do a soft boot and reloads the IOS like nothing ever happen?

I check every where and the only solution says to apply the
no boot system flash [old_flash_image]
boot system flash [New_flash_image]
exit and reload
which I already did, but I still get the same error over and over, the first time the router boots, fails, then by itlself does a soft boot, and like magic all goes normal as if nothing ever happened.

I would appreciate your help..

Maurice.
Avatar of JFrederick29
JFrederick29
Flag of United States of America image

Are you sure the filename is correct in the boot statement?  Can you post a "dir flash:".  If you only have 1 flash image, you don't need a boot statement as it will boot the only image it has in flash.
Avatar of m_loucel
m_loucel

ASKER

Sure JF here's the list:

Router#dir flash:
Directory of flash:/

    1  -rw-     3193336              <no date>  c1700-y-mz.121-27b.bin

And this is the name of the file taken from the root of my tftp:
c1700-y-mz.121-27b.bin

Can you post the following:

show run | i boot system
OK.

Router#show run | i boot system
boot system flash c1700-y-mz.121-27b.bin
ASKER CERTIFIED SOLUTION
Avatar of JFrederick29
JFrederick29
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Give this a shot (fixed mine) if you want to use the boot statement (if multiple images exist):

conf t
boot system flash:c1700-y-mz.121-27b.bin

From Cisco:

Using the boot flash Command

Booting a Cisco 1700 series router with the boot flash command or the boot system flash command results in unpredictable behavior. To work around this problem, be sure to enter a colon (:) following both commands (for example, boot flash: or boot system flash:).
Didn't work, still got the same exact error and behaviour.
Any other thoughts.
I would remove the boot statement.  Do you require it?
WAIT...

SOOOO SORRYYY

I did not see your first suggestion:
"I removed the boot statement and it works fine. "
no boot system flash c1700-y-mz.121-27b.bin

It worked, sweet .. thanks for the help.
And my apologies for not reading well.
Hey no prob at all.  Glad to help!
JFrederick29, Really A Genius.... not even my Cisco instructor was able to figure out that one, He's good just that sometimes we look the most complicated solution first, yours was the simple one and the right one.