07-07-2023 12:11 PM - last edited on 07-07-2023 02:09 PM by shule
I have a 9200L switch that the packages.conf file has been removed and it won't boot. I've been trying to get a copy of IOS on it via USB, but isn't working. I would be willing to take the slow and arduous process of xmodem to send a new bin file, but even that isn't working for me. Thoughts on next steps?
switch: dir flash:
Attributes Size Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-rw-r--r-- 2148 boothelper.log
drwxr-xr-x 4096 .installer
drwxr-xr-x 4096 .rollback_timer
drwxr-xr-x 4096 core
drwxr-xr-x 4096 .USWAP
drwxr-xr-x 4096 .CRFT
-rw-r--r-- 592 bootloader_evt_handle.log
drwxrwxrwx 4096 .prst_sync
-rw-r--r-- 5242880 ssd
drwxr-xr-x 4096 ss_disc
drwxr-xr-x 4096 tech_support
drwxr-xr-x 4096 dc_profile_dir
drwxr-xr-x 4096 sys_report
drwxr-xr-x 4096 fp_cc_crash
-rw-r--r-- 134899 memleak.tcl
drwxr-xr-x 4096 Tbot
drwxr-xr-x 4096 .rommon_sync
lrwxrwxrwx 13 NVRAM -> /flash1/NVRAM
-rw-r--r-- 1338 DigiCertGlobalRootCA.ca
-rw-r--r-- 1606 StarfieldServicesRootCA.ca
-rw-r--r-- 1261 Baltimore.ca
drwxr-xr-x 4096 .dbpersist
-rw-r--r-- 15524 rdope_out.txt
drwxr-xr-x 4096 pnp-info
drwxr-xr-x 4096 onep
drwxr-xr-x 4096 license_evlog
-rw-r--r-- 89 rdope.log
-rw------- 0 dope_hist
-rw-r--r-- 2097152 nvram_config
-rw-r--r-- 2097152 nvram_config_bkup
drwxr-xr-x 4096 pnp-tech
-rw-rw-rw- 463459352 cat9k_lite-rpbase.17.06.03.SPA.pkg
-rw-rw-rw- 44582807 cat9k_lite-rpboot.17.06.03.SPA.pkg
-rw-rw-rw- 5387288 cat9k_lite-srdriver.17.06.03.SPA.pkg
-rw-rw-rw- 13546516 cat9k_lite-webui.17.06.03.SPA.pkg
-rw-r--r-- 2148 boothelper.log.old
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
switch: set
ABNORMAL_RESET_COUNT=0
AUTO_SWITCH_CONSOLE_DISABLE=0
BAUD=9600
BOOT=flash:packages.conf;
BOOT_DEVICE_MODE=catalyst
BSI=0
CONSOLE_MIRRORING_DISABLE=0
MAC_ADDR=A4:11:BB:1C:7E:80
MANUAL_BOOT=no
MODEL_NUM=C9200L-48P-4G
MOTHERBOARD_SERIAL_NUM=X.X.X
NO_CONSOLE=0
RANDOM_NUM=6286810
RET_2_RCALTS=1688577619
ROMMON_BOARDID=0x4312
ReloadReason=Image Install RET_2_RCALTS=1666968531
SWITCH_DISABLE_PASSWORD_RECOVERY=0
SWITCH_NUMBER=1
SYSTEM_SERIAL_NUM=X.X.X
TEMPLATE=advanced
USB_DISABLE=0
switch:
Solved! Go to Solution.
07-10-2023 09:05 AM
M02@rt37 @Flavio Miranda Thank you for your responses. I was able to figure it out.
I was able to get the new version of IOS on the switch after formatting the USB drive to FAT, not FAT32 or exFAT. The USB drive was then able to be recognized by the switch. Copied the bin file to flash, then was able to boot and install the package.
07-07-2023 02:58 PM
07-08-2023 12:38 AM
Hi @Flavio Miranda,
This command will erase its entire boot flash no?
07-08-2023 08:56 AM
Thanks @Flavio Miranda, but the emergency-install command doesn't work when the switch won't boot to an OS, just ROMMON. The only prompt I can get is the "switch:" prompt after holding the mode button on the switch and connecting via console. If I power on the switch and let it go, it just loops through trying to boot but fails every time.
Initializing Hardware...
System Bootstrap, Version 17.9.1r [FC8], RELEASE SOFTWARE (P)
Compiled Wed 07/13/2022 19:01:21 by rel
Current ROMMON image : Primary
C9200L-48P-4G platform with 2097152 Kbytes of main memory
RAM test aborted by console.
boot: attempting to boot from [flash:packages.conf]
boot: reading file packages.conf
boot: failed to load flash:/user/packages.conf
ERROR: failed to boot from flash:packages.conf (Not Found)
Please wait while the system restarts.
Initializing Hardware...
System Bootstrap, Version 17.9.1r [FC8], RELEASE SOFTWARE (P)
Compiled Wed 07/13/2022 19:01:21 by rel
Current ROMMON image : Primary
C9200L-48P-4G platform with 2097152 Kbytes of main memory
boot: attempting to boot from [flash:packages.conf]
boot: reading file packages.conf
boot: failed to load flash:/user/packages.conf
ERROR: failed to boot from flash:packages.conf (Not Found)
Please wait while the system restarts.
Initializing Hardware...
System Bootstrap, Version 17.9.1r [FC8], RELEASE SOFTWARE (P)
Compiled Wed 07/13/2022 19:01:21 by rel
Current ROMMON image : Primary
C9200L-48P-4G platform with 2097152 Kbytes of main memory
boot: attempting to boot from [flash:packages.conf]
boot: reading file packages.conf
boot: failed to load flash:/user/packages.conf
ERROR: failed to boot from flash:packages.conf (Not Found)
Please wait while the system restarts.
Initializing Hardware...
System Bootstrap, Version 17.9.1r [FC8], RELEASE SOFTWARE (P)
Compiled Wed 07/13/2022 19:01:21 by rel
Current ROMMON image : Primary
C9200L-48P-4G platform with 2097152 Kbytes of main memory
WARNING: Bootable URL's in BOOT variable not found or exhausted.
Please check the ROMMON configuration or boot command usage.
switch:
If I insert a USB drive to one of the ports on the front:
switch: dir usbflash0:
media drive "usbflash0:" not present.
Error[22]: Failed to open directory!
switch: dir usbflash1:
Error[11]: Failed to open directory!
switch:
07-10-2023 09:05 AM
M02@rt37 @Flavio Miranda Thank you for your responses. I was able to figure it out.
I was able to get the new version of IOS on the switch after formatting the USB drive to FAT, not FAT32 or exFAT. The USB drive was then able to be recognized by the switch. Copied the bin file to flash, then was able to boot and install the package.
07-10-2023 09:28 AM
Great news! You're so welcome @Vlaming
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide