Unfortunately the only way to do this is from ROMMON mode - so in order to easily access it we can instruct the switch to automatically enter it on the next reload:
conf t
boot enable-break
or alternatively power of the switch, hold down the 'Mode' button, turn the switch on (while still holding the 'Mode' button) for around 15 seconds.
Then set the baud rate appropriately:
set BAUD 9600
boot the IOS image:
flash_init
boot
and finally once it's booted up ensure that we revoke the 'enable-break' command:
conf t
no boot enable-break
conf t
boot enable-break
or alternatively power of the switch, hold down the 'Mode' button, turn the switch on (while still holding the 'Mode' button) for around 15 seconds.
Then set the baud rate appropriately:
set BAUD 9600
boot the IOS image:
flash_init
boot
and finally once it's booted up ensure that we revoke the 'enable-break' command:
conf t
no boot enable-break