Showing results for 
Search instead for 
Did you mean: 

unable to load ios on 2821


I have a router and im tring to load image from rommon mode but i didnt. i tried a lot and various images but still its not i will provide you the error in below

rommon 5 > xmodem flash:/c2800nm-ipbasek9-mz.151-2.T1.bin
Do not start the sending program yet...
program load complete, entry point: 0x8000f000, size: 0xc940
         File size           Checksum   File name

WARNING: All existing data in flash will be lost!
Invoke this application only for disaster recovery.
Do you wish to continue? y/n  [n]:  y
Ready to receive file flash:/c2800nm-ipbasek9-mz.151-2.T1.bin ...
program load complete, entry point: 0x8000f000, size: 0xc940

Format: All system sectors written. OK...
Format: Operation completed successfully.

Format of flash: complete
program load complete, entry point: 0x8000f000, size: 0xc940
open(): Open Error = -36
create a file failed...err code = -1
rommon 6 >

could you please update me with the exact problem and how to resolve this

thanks and regards


5 Replies 5

Tim Smith
Level 4
Level 4

Hey mate...

Much better way to do this is with TFTP.

Especially with the size of IOS images these days.

Give this one a go.



Nagaraja Thanthry
Cisco Employee
Cisco Employee


Please try the following:

xmodem -r "image name"


xmodem -r

This will load the image to the RAM and will boot the router. Then you can

perform regular TFTP process.


If it is possible, you can also try TFTPdnld process.


If nothing works, if you have a spare router that takes the flash card, put

the card in that router, copy the image through normal TFTP process and then

put the flash card back in the router is question.

Hope this helps.



Dear Nagaraj

Thanks for your replay and its more helpfull to me. but im  try with xmodem -c and fileneme its working now i can load the image. but in this process i got one more problem.

if you konw could you please tell me.

i.e. if i tring to load though tftpdnld its showing pre-configured ip address and tftp file name. im tring to download that one but its belongs to 2851 image file name. so im tring to change with set commands. but i didnt.

so my question is how to change the ip settings  in cisco 2821 router on rommon mode

see the procedure on which also works for most cisco device:

rommon's SET shows you the current values.

to change them, write


No spaces before or after the = .

Example from the URL above:

          rommon 16 > IP_ADDRESS=
     rommon 17 >
     rommon 18 >
     rommon 19 >
     rommon 20 >
     rommon 21 > tftpdnld

No, you cannt ping the device, it's just used for tftp .

If tftp-server and device are on the same (V)-LAN, you may set DEFAULT_GATEWAY to the ip-address of the TFTP_SERVER.

Be sure only to give the switch the image;

not the .tar file with the webby-devices-management. You can load this later when IOS is running

by "archive tar /xtract URL flash: "

Hope this help's,



Leo Laohoo
Hall of Fame
Hall of Fame

Got another option for you ...

Your router has a CF slot.  Put the IOS into a CF and replace it.

Review Cisco Networking for a $25 gift card