ASA5505 picks old boot image after resetting to defaults

MACROLEVEL
MACROLEVEL used Ask the Experts™
on
Hello,

I have 2 or 3 images loaded into my ASA5505. ASA 7.24/ASDM 5.24 I believe is default one that ASA came with, and I upgraded to ASA 8.2(2) / ASDM 6.2.5. Everything works fine using new images, but every time I reset the device to factory defaults (config factory-default then reload save-config) ASA boots up using original ASA/ASDM images and I have to go through procedure of setting up proper (new) images.

My question is where actually is this factory default config located and how can I edit it so it will use new images as default every time I reset ASA to defaults so I can delete old images to free space on ASA?

Thanks.

 
 
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2010
Commented:

According to the cisco reference manual for the default-config :

"This command also clears the boot system command, if present, along with the rest of the configuration. The boot system command lets you boot from a specific image, including an image on the external Flash memory card. The next time you reload the security appliance after restoring the factory configuration, it boots from the first image in internal Flash memory; if you do not have an image in internal Flash memory, the security appliance does not boot. "

So I would say that to force a certain image, all you need to do is delete the older images from FLASH:   leaving only the one you want to boot with.   That should be an easy work-around.

Author

Commented:
Any idea how ASA knows which one is the first image for ASA and ASDM? Maybe there is a default config file stored somewhere in the memory which has all this information including all other default settings about IPs, interfaces, DHCP etc. Any ideas?
Top Expert 2010
Commented:
According to the docs, it will boot "the 1st image in system flash".     I never considered it before, but I suppose if you do a "dir flash:" whichever shows up 1st in the listing will be the boot image.  

That kind of goes opposite of how the 2800 routers boot where in my experience, the router always seems to boot the latest code.    
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
You're probably right... Look at the image: there are some digits in the left column and oldest image is on the top with smaller ID or whatever it is - 92. I will try to delete it and will see...
2010-01-27-162224.png
Top Expert 2010

Commented:
Safe bet, I'm sure.

Author

Commented:
You're absolutely right. Deleted all old images leaving only set of latest ones, restored to factory defaults, unit restarted and loaded proper images without errors. Thank you!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial