cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1071
Views
2
Helpful
4
Replies

Catalyst 2960 bootloader error

Stian Andersen
Level 1
Level 1

Hey all,

Long story short;
I have a C2960G-24TC-L here that had sw version that was incapable of crypto keys. The goal being able to ssh into it..

The state of this thing now is pretty much blank after after formating the flash like a dummy beacause of the "file5" issue (see below).  I now have the correct IOS on it by using xmodem, but it still wont boot.

This is the error im getting and it will just loop from here unless i press the mode button again to return to the bootloader;
Base ethernet MAC Address: 00:1d:e6:b3:a8:80
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
flashfs[0]: 1 files, 1 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 32514048
flashfs[0]: Bytes used: 9828352
flashfs[0]: Bytes available: 22685696
flashfs[0]: flashfs fsck took 9 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs) installed, fsid: 3
done.
Loading "file5"...file5: no such device

Error loading "file5"

Interrupt within 5 seconds to abort boot process.
Loading "flash:/c2960-lanbasek9-mz.122-55.SE12.bin"...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

 

More info;

switch: dir flash:
Directory of flash:/

2 -rwx 9827200 <date> c2960-lanbasek9-mz.122-55.SE12.bin

22685696 bytes available (9828352 bytes used)

switch: set BOOT flash:c2960-lanbasek9-mz.122-55.SE12.bin

switch: reset
Are you sure you want to reset the system (y/n)?y
System resetting...

Im sure this is just something easy, but any help on how to restore this switch to at least boot again would be amazing.

Thanks,
Stian

1 Accepted Solution

Accepted Solutions

After posting the results of "set" i went ahead and "unset BOOTHLPR". We are now back in the game!

Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname thank_you_Leo_Laohoo!
%Warning! Hostname should contain at least one alphabet or '-' or '_' character

thank_you_Leo_Laohoo(config)#
*Mar 1 00:03:30.000: %CNS-3-WARNING: CNS ID not changed: bad hostname -Process= "Exec", ipl= 0, pid= 3
*Mar 1 00:03:30.000: %CNS-3-WARNING: CNS ID not changed: bad hostname -Process= "Exec", ipl= 0, pid= 3
*Mar 1 00:03:30.000: %CNS-3-WARNING: CNS ID not changed: bad hostname -Process= "Exec", ipl= 0, pid= 3
thank_you_Leo_Laohoo(config)#
thank_you_Leo_Laohoo(config)#
thank_you_Leo_Laohoo(config)#

View solution in original post

4 Replies 4

Leo Laohoo
Hall of Fame
Hall of Fame

In ROMMON, post the complete output to the command "set".

After posting the results of "set" i went ahead and "unset BOOTHLPR". We are now back in the game!

Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname thank_you_Leo_Laohoo!
%Warning! Hostname should contain at least one alphabet or '-' or '_' character

thank_you_Leo_Laohoo(config)#
*Mar 1 00:03:30.000: %CNS-3-WARNING: CNS ID not changed: bad hostname -Process= "Exec", ipl= 0, pid= 3
*Mar 1 00:03:30.000: %CNS-3-WARNING: CNS ID not changed: bad hostname -Process= "Exec", ipl= 0, pid= 3
*Mar 1 00:03:30.000: %CNS-3-WARNING: CNS ID not changed: bad hostname -Process= "Exec", ipl= 0, pid= 3
thank_you_Leo_Laohoo(config)#
thank_you_Leo_Laohoo(config)#
thank_you_Leo_Laohoo(config)#

LOL

Stian Andersen
Level 1
Level 1

switch: set
BAUD=115200
BOOT=flash:c2960-lanbasek9-mz.122-55.SE12.bin
BOOTHLPR=file5
CLEI_CODE_NUMBER=COM3G00BRB
MAC_ADDR=00:1D:E6:B3:A8:80
MODEL_NUM=WS-C2960G-24TC-L
MODEL_REVISION_NUM=D0
MOTHERBOARD_ASSEMBLY_NUM=73-10015-06
MOTHERBOARD_REVISION_NUM=A0
MOTHERBOARD_SERIAL_NUM=FOC11385EHW
POWER_SUPPLY_PART_NUM=341-0098-02
POWER_SUPPLY_SERIAL_NUM=AZS1137070H
SDM_TEMPLATE_ID=0
SWITCH_PRIORITY=1
SYSTEM_SERIAL_NUM=FOC1139Z2JE
TAN_NUM=800-26673-03
TAN_REVISION_NUMBER=A0
VERSION_ID=V03

switch: