That error message indicates the flash does not hold a valid IOS - either corrupt or missing image. Copy a valid image to the flash using the instructions below, if you aren't already familiar with the procedure.
In addition to Sundar's comments you need to format your flash before copying up the new ios code onto your flash system..
regds
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: