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 ArchitectAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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 ArchitectAuthor 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
GranModCommented:
PAQed with points refunded (250)

GranMod
Community Support Moderator
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking Protocols

From novice to tech pro — start learning today.