cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
39956
Views
20
Helpful
6
Replies

Problems copying IOS image from USB to flash on 3750X

network4fun
Level 1
Level 1
Hello, I have tried copying an IOS image from USB to flash on a 3750X-48P-L Cisco switch. The switch had been part of a stack, lost power, and got caught in a boot loop. I initialized the flash and I ran the following commands: switch: dir usbflash0: Directory of usbflash0:/ 2 drw- 0 .disk 9 drw- 0 BOOT 257 drw- 0 CASPER 265 drw- 0 DISTS 280 drw- 0 EFI 284 drw- 0 ISOLINUX 353 -rw- 24415 MD5SUMS 354 drw- 0 POOL 414 drw- 0 PRESEED 417 -rw- 221 README.diskdefines 418 -rw- 94 SYSLINUX.CFG 419 -rw- 34494 AUTORUN.ICO 420 -rw- 20397568 c3750e-universalk9-mz.150-2.SE4.bin 421 -rw- 110 AutoRun.inf 422 -rw- 92854 Platform.ico 423 -rw- 1712474 SEERemovableStorageAccessUtility.exe 2138046464 bytes available (1602224128 bytes used) -- MORE -- switch: copy usbflash0:c3750e-universalk9-mz.150-2.SE4.bin flash: flash:: no such file or directory I formatted the flash directory because I wanted to clear any corrupted files. http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750x_3560x/software/release/12-2_53_se/configuration/guide/3750xscg/swtrbl.html I tried following the document above without any successr. The document corresponds to a different IOS boot loader version than the one on the switch. switch: version C3750E Boot Loader (C3750X-HBOOT-M) Version 12.2(53r)SE1, RELEASE SOFTWARE (fc1) Compiled Wed 03-Mar-10 19:48 by nachen Do I have the correct syntax for copying the IOS from USB to flash? Do you have any idea of why I can read the usbflash0: directory but not copy the file from flash? Flash contents: switch: dir flash: Directory of flash:/ 57670656 bytes available (1024 bytes used) Any help would be greatly appreciated. Thank you.
1 Accepted Solution

Accepted Solutions

Can you give the output of "show boot".

I think you will need to do something like:

BOOT=usbflash:xxxxx.bin

or maybe

set BOOT=usbflash:xxxxx.bin

And then do the boot command again.

View solution in original post

6 Replies 6

Philip D'Ath
VIP Alumni
VIP Alumni

I believe what you are doing should work.

You could either look at upgrading the ROMMON, as the version you have might be too old to support this - or you could just TFTP copy the image to the router.

Carlos Villagran
Cisco Employee
Cisco Employee

Hi!

Please do not try to copy the IOS to flash and then boot. Try to boot directly from the usb with 

switch: boot usbflash:xxxxx.bin

After that many other steps can be made to copy the file to flash, etc.

Hope it helps, best regards!

JC

Thank you Carlos.  I ran the boot usbflash0:xxxxx.bin command and I got the following results:

% Front-end Microcode IMG MGR: HW image is upgraded. MCU reset causes the switch to reload

Using driver version 1 for media type 2
Base ethernet MAC Address: f8:66:f2:c1:ec:80
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
mifs[2]: 0 files, 1 directories
mifs[2]: Total bytes     :    2097152
mifs[2]: Bytes used      :       1024
mifs[2]: Bytes available :    2096128
mifs[2]: mifs fsck took 2 seconds.
mifs[3]: 0 files, 1 directories
mifs[3]: Total bytes     :    4194304
mifs[3]: Bytes used      :       1024
mifs[3]: Bytes available :    4193280
mifs[3]: mifs fsck took 3 seconds.
mifs[4]: 5 files, 1 directories
mifs[4]: Total bytes     :     524288
mifs[4]: Bytes used      :       9216
mifs[4]: Bytes available :     515072
mifs[4]: mifs fsck took 1 seconds.
mifs[5]: 5 files, 1 directories
mifs[5]: Total bytes     :     524288
mifs[5]: Bytes used      :       9216
mifs[5]: Bytes available :     515072
mifs[5]: mifs fsck took 1 seconds.
mifs[6]: 0 files, 1 directories
mifs[6]: Total bytes     :   57671680
mifs[6]: Bytes used      :       1024
mifs[6]: Bytes available :   57670656
mifs[6]: mifs fsck took 45 seconds.
...done Initializing Flash.
done.
Loading "flash:/c3750e-universalk9-mz.122-55.SE1/c3750e-universalk9-mz.122-55.SE1.bin"...flash:/c3750e-universalk9-mz.122-55.SE1/c3750e-universalk9-mz.122-55.SE1.bin: no such file or directory

Error loading "flash:/c3750e-universalk9-mz.122-55.SE1/c3750e-universalk9-mz.122-55.SE1.bin"

Interrupt within 5 seconds to abort boot process.
Boot process failed...

The system is unable to boot automatically.  The BOOT
environment variable needs to be set to a bootable
image.


switch:

The switch reloaded after I set the boot command.  Any other ideas?

Thank you.

Can you give the output of "show boot".

I think you will need to do something like:

BOOT=usbflash:xxxxx.bin

or maybe

set BOOT=usbflash:xxxxx.bin

And then do the boot command again.

Hi!

I remember I have been gone through this before and the solution was to actually double check the bin file name. In the output you wrote:

Error loading "flash:/c3750e-universalk9-mz.122-55.SE1/c3750e-universalk9-mz.122-55.SE1.bin"

Can you check that the name of the file is exactly the one you see in the dir? Because I see you are probably typing:

boot usbflash: flash:/c3750e-universalk9-mz.122-55.SE1/c3750e-universalk9-mz.122-55.SE1.bin"

It should be just:   boot usbflash:c3750e-universalk9-mz.150-2.SE4.bin

Hope it helps, best regards!

JC

Thank You it works 

Review Cisco Networking for a $25 gift card