cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1054
Views
1
Helpful
10
Replies

After booting from ROMMON USB stick is then no longer recognized

CiscoMan86
Level 1
Level 1

Hi,

I have two 9300-24UX and on both I have the same problem. Both are factory-resetted and started in ROMMON. Then I booted the switch with boot usbflash0:<filename>.bin from my USB Stick. After they started, I will install and activate the IOS: install add file usbflash0:<filename>.bin activate commit, but now, the switch doesn‘t find the USB Stick, on both switches the same problem. dir ? Doesn‘t show the usbflash0.

On other 9300 switches this procedure works fine. I have only on the 9300-24UX the problem.

I have no idea anymore.

greetings

CiscoMan86

1 Accepted Solution

Accepted Solutions

Leo Laohoo
Hall of Fame
Hall of Fame

@CiscoMan86 wrote:
Both are factory-resetted and started in ROMMON. Then I booted the switch with boot usbflash0:<filename>.bin from my USB Stick. 

That is an incorrect process (takes longer time).  

After factory-reset of the switch, the most effective (& efficient) method of putting the firmware back in is to use the following command: 

emergency-install usbflash0:firmware.bin

View solution in original post

10 Replies 10

balaji.bandi
Hall of Fame
Hall of Fame

what is the IOS XE Code you booted, can you post complete boot log and error you getting ?

after booting are you able to dir  usbflash0:

follow below steps always works  :

dir usbflash0:

h# copy usbflash0:cat9k_iosxe.xxxxxxxxxxxxxxx.bin flash:

Install the software.

# request platform software package install switch all file flash:cat9k_iosxe.xxxxxxxxx.bin auto-copy

# reload

 

On other 9300 switches this procedure works fine. I have only on the 9300-24UX the problem.

i am more keen to know what is other models and what IOS Xe running on that devices ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

after booting are you able to dir  usbflash0:  ——> no, i‘m NOT able to dir usbflash0:, because usbflash0 isn‘t there (this is my problem)

i am more keen to know what is other models and what IOS Xe running on that devices ? —-> for example 9300-48T or 9300X-48TX, all with IOS 17.9.5

what is the IOS XE for this model you running same version ?

dir all (see output)

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Sry, I don’t understand your Question. What do you mean? When you mean the IOS XE version, I use for all the devices IOS XE 17.9.5.

Leo Laohoo
Hall of Fame
Hall of Fame

@CiscoMan86 wrote:
Both are factory-resetted and started in ROMMON. Then I booted the switch with boot usbflash0:<filename>.bin from my USB Stick. 

That is an incorrect process (takes longer time).  

After factory-reset of the switch, the most effective (& efficient) method of putting the firmware back in is to use the following command: 

emergency-install usbflash0:firmware.bin

Thx @Leo Laohoo, one Switch is now okay and installed with 17.9.5.

But when I try the command on the other Switch I get an error:

switch: emergency-install usbflash0:cat9k_iosxe.17.09.05.SPA.bin

WARNING: The system partition (bootflash:) will be erased during the system recovery install process.Are you sure you want to proceed? [y] y/n [n]: y

Starting system recovery (usbflash0:cat9k_iosxe.17.09.05.SPA.bin) ...boot: attempting to boot from [sda9:cat9k-recovery.SSA.bin]

boot: reading file cat9k-recovery.SSA.bin##############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################

PLATFORM_TYPE C9300 speed 9600

Booting Recovery Image 16.6.1

Initiating Emergency Installation of bundle usbflash0:cat9k_iosxe.17.09.05.SPA.bin

Emergency Install failed - bundle usbflash0:cat9k_iosxe.17.09.05.SPA.bin does not exist

Will reboot now


@CiscoMan86 wrote:
Emergency Install failed - bundle usbflash0:cat9k_iosxe.17.09.05.SPA.bin does not exist

Translation:  File "cat9k_iosxe.17.09.05.SPA.bin" is not found in the USB flash drive.

And why can the switch start the first steps from USB? That's not logical!

switch: emergency-install usbflash0:cat9k_iosxe.17.09.05.SPA.bin

WARNING: The system partition (bootflash:) will be erased during the system recovery install process.Are you sure you want to proceed? [y] y/n [n]: y

Starting system recovery (usbflash0:cat9k_iosxe.17.09.05.SPA.bin) ...boot: attempting to boot from [sda9:cat9k-recovery.SSA.bin]

boot: reading file cat9k-recovery.SSA.bin#########################################################################################

PLATFORM_TYPE C9300 speed 9600

Could be a bug. 

Cold reboot the switch and try again.

Before the reboot, remove the USB flash drive.  Insert only after the switch has gone into ROMMON and check the USB flash has been correctly identified: 

dir usbflash0:

Now, I used an other USB Stick, with this the recovery is working. Strange. But now I'm happy.

@Leo Laohoo Thx for the info with the emergency-install command!