I have a 3924 that I accidentally deleted the flash on it. Since then I've tried to reinstall the ios on it and I keep getting a permission issue. I have attached the error messages down below. I just would like to know how to load my ios back on my switch. As you can tell I've used various commands but It still won't allow me to do this.
switch: dir flash
unable to stat flash/: permission denied
switch: dir
List of filesystems currently registered:
flash[0]: (read-write)
xmodem[1]: (read-only)
null[2]: (read-write)
bs[3]: (read-only)
switch: dir flash
unable to stat flash/: permission denied
switch: flash
Initializing Flash...
...The flash is already initialized.
switch: version
C2900XL Boot Loader (C2900-HBOOT-M) Version 12.0(5)XU, RELEASE SOFTWARE (fc1)
Compiled Mon 03-Apr-00 17:20 by swati
switch: del ?
Are you sure you want to delete "?" (y/n)?y
File "?" not deleted -- permission denied
boot system flash:c2900xl-c3h2s-tar.120-5.WC5-n
usage: boot [-n|-j] [-p] [-c] [-f] [-i] [-m] [-notnd] [-notni] [-post] [-skip_p]
switch: boot system flash:c2900xl-c3h2s-tar.120-5.WC5 -p
usage: boot [-n|-j] [-p] [-c] [-f] [-i] [-m] [-notnd] [-notni] [-post] [-skip_p
switch: boot system flash:c2900xl-c3h2s-mz.120-5.WC5
usage: boot [-n|-j] [-p] [-c] [-f] [-i] [-m] [-notnd] [-notni] [-post] [-skip_p]
switch: