I've got my hands on a Cisco 2900XL switch and I wanted to delete the config and reset to factory default.
I logged into the switch and I think I types in the cmd 'erase flash' and confirmed all the questions.
I rebooted the switch and all I see is the Switch prompt.
Recovery From Corrupt or Missing Software Image on Cisco Catalyst 2900XL and 3500XL Series Switches - Cisco Systems
I used the above link to try to fix the problem myself but when I press the mode button and release, as it says on the page nothing seems to happen.
Also when I type 'flash_init' I get info displayed but when I type 'load_helper' nothing is displayed and I return to the Switch prompt.
All 24 port lights are on apart from port 1 and the system light is flashing green.
How can I fix my switch?

Thank You.