cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
1719
Views
10
Helpful
20
Replies
LeeSteventon
Beginner

Cisco 2811 unable to load flash ios, constantly defaulting to ROMMON

Hi all,

 

I'm suddenly having problems with a 2811 not being able to boot from flash.

 

Each time I restert I get the error message:

 

loadprog: bad file magic number: 0x0
boot: cannot load "flash:"

I have tried:

- loading the image again onto the same and a new CF card - no success

- booting from a flash USB with the same ios image - no success

- entering into ROMMON and issuing the boot flash:<image name> command - same result, no success.

 

The following is the screen output:

 


Configuration Summary
(Virtual Configuration Register: 0x214f)
enabled are:
load rom after netboot fails
ignore system config info
console baud: 9600
boot: image specified by the boot system commands
or default to: cisco17-c2811

do you wish to change the configuration? y/n [n]: n


You must reset or power cycle for new config to take effect
rommon 2 > dir flash:
program load complete, entry point: 0x8000f000, size: 0xcb80
Directory of flash:

2 25534596 -rw- c2800nm-ipbase-mz.124-15.T7.bin
6237 2748 -rw- sdmconfig-2811.cfg
6834 1038 -rw- home.shtml
7380 5391 -rw- running-config
7382 5391 -rw- running-config_29-12-2017
rommon 3 > reset
c2811 platform with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Upgrade ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
program load complete, entry point: 0x8000f000, size: 0xcb80

loadprog: bad file magic number: 0x0
boot: cannot load "flash:"
c2811 platform with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Upgrade ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
program load complete, entry point: 0x8000f000, size: 0xcb80

loadprog: bad file magic number: 0x0
boot: cannot load "flash:"
c2811 platform with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Upgrade ROMMON initialized
Entering rommon> prompt after several failed attempts to boot an IOS image.
Please check your internal/external flash drives for the correct IOS image
and issue 'reset' at the rommon> prompt to re-try the boot process.
rommon 1 >

 

Any ideas / pointers as to what I can try next?

 

Thanks in advance for all and any help!

20 REPLIES 20

Hi Leo,

 

This router has loaded this before. It's been switched off for a while as it wasn't in use ( a couple of weeks). Now I want to set it up again as poart of a home network expansion and when I switched it on, it started giving these errors. When I first got the unit (yes it is an ebay purchase) all was working fine and I backed up the ios image on the CF to a TFTP server I have running. I've tried loading this backed up image to another CF card (in case the card was corrupt in some way) but I get the same results. I've tried connecting to the TFTP server and using tftpdnld to run it from there (as well as setting up a temporary solarwinds tftp server on my pv and doing the same from there connected locally to Fa0/0). None of which worked.

 

I have a second 2811 (also an ebay purchase) running c2800nm-adventerprisek9_sna-mz.151-3.T4.bin. I've tried the same approach using this ios (other than taking the CF out of the working 2811 and putting it into the defunkt 2811) but the results are the same.

 

Any pointers!? :) 

Two different routers and trying to load the same IOS? And both with the same result?
This points to a corrupt file being loaded.

No, one router boots fine, the other doesn't

Hey Leo,

 

I just removed the lid and gave the insides a blast with air. Removed the DRAM module cleaned and replaced and put it all back together again. Then it started to boot properly!

LOL.
Finally! It's working.


@LeeSteventon wrote:

loadprog: bad file magic number: 0x0
boot: cannot load "flash:"


Pop the lid.  Make sure the DRAM isn't dislodged.  

If the router came from a used market, make sure there are no "grits" on the DRAM:  Take it out and clean it with something dry.  Can of compressed air will suffice.

View solution in original post