Cisco router loses configuration on reload even after saving it

ciscoios

I'm configuring a Cisco 3640 and it's not saving simple things like my hostname.
I've tried with 'wr' and 'copy running-config startup-config'. Also erased the configuration but no luck.
There's no error whatsoever when running the above commands.
Is my flash bad?
Anyway I can debug this more thoroughly?

Thanks!

Best Answer

It sounds like you have a configuration register at the wrong setting. For instance, setting: confreg 0x2142 at an rommon will boot the router to a fresh/default mode. Trying entering config-register 0x2102 from an enable prompt to got back to booting from your configuration