corrupt router flash

Hi colleagues,
i have a cisco 1720 router that i needed to upgrade the IOS. I went through the normal process of deleting the existing ram and uploading the new image. when i rebooted the router, i had this error :

loadprog: error - trouble reading file magic number
boot: cannot load "flash:"
 
when i do dir flash, i geth the information bellow.
rommon 5 > dir flash:
         File size           Checksum   File name
         0 bytes (0x0)        0xffff    c1700-sv8y-mz.122-15.ZL1.bin

can anybody help me out this is extremely urgurnt.
thanks
LVL 2
thacloneCyber Security consultantAsked:
Who is Participating?
 
GranModConnect With a Mentor Commented:
PAQed with points refunded (250)

GranMod
Community Support Moderator
0
 
mattacukCommented:
I am  no expert on  upgradeing the IOS but it may be  possibe you have  the configuration register set wrong. It should be set to 2102 to boot from flash. In any case here is a guide to upgradeing your IOS;

http://www.cisco.com/en/US/products/hw/routers/ps380/products_tech_note09186a0080094b23.shtml
0
 
calvinetterCommented:
Notice the "File size" column shows 0 bytes, so somehow your IOS image didn't get copied to flash correctly or at all.  Connect via the console, power-cycle the router, interrupt the boot process (usually CTL-Break will work if using Hyperterminal), try copying via TFTP & say yes when it asks to erase flash.

cheers
0
 
thacloneCyber Security consultantAuthor Commented:
thanks colleagues,
realised later that the flash size was only 8MB and the ios image was 13MB. so that was how come i was able to load to nvram but not into flash. i did an upgrade of my flash and  bingo its working.
thaclone
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.