Been there, done that. You’ll have to have a console connection to the switch and use the xmodem transfer to get it there, unless the switch is up and running on the IOS.
1. Turn the switch off, hold in the mode button on the front when you plug it back in and until the stat light goes out.
2. If you see Switch: on the console, type init_flash
3. Type load_helper
4. Type Dir flash: and check for a .bin image (IOS)
5. If you have a .bin file you can boot from it by typing boot flash:filename.bin
6. If that fails, you’ll have to use xmodem to copy over a valid IOS image -> copy xmodem: flash:filename.bin. Setup your terminal to send the file via xmodem
-> In hyperterminal use the menu option of Transfer->Send File: Select the file and Protocol of Xmodem.
7. Wait a LONG time…
8. When the image has copied over, you can type boot flash:filename.bin. Otherwise, if your config register is correct, you could simply reboot. However, you’ll probably want to upgrade it when you put the new IOS on it. Use
boot system flash:filename.bin once it’s loaded to set where it boots.
Hope this helps. Here’s Cisco’s word.