I can not squeeze flash: directory from Boot loader to load new IOS image by "xmodem" Flash directory is still full

Posted on 2008-11-18
Last Modified: 2012-05-05

I am upgrading a Cisco 3550 switch. At first I deleted my old image then try to load a new image from my TFTP server from my PC.

But I got error in TFTP server and then lost the connectivity from my Cisco 3550 XL. When I rebooted the Switch I got "Switch:" prompt, which is from boot loader, since I don't have any valid IOS image to boot.

Then I tried to load my new image using "xmodem" command and got failed due to unavailable space in the flash drive. As I deleted my old files and again tried to delete few other unnecessary files still I don't have enough space is Flash drive.

I need to free my flash drive to load new image. Need your expert help to resolve this issue.

Few Outputs from the Swtich
switch: dir flash:
Directory of flash:/

2    -rwx  286       <date>               env_vars
4    drwx  6720      <date>               html
6    -rwx  108       <date>               info
5    -rwx  7136      <date>               y
113  -rwx  108       <date>               info.ver
114  -rwx  400       <date>               snmpengineid

2579456 bytes available (1033216 bytes used)

switch: version
C3500XL Boot Loader (C3500-HBOOT-M) Version 12.0(5)XU, RELEASE SOFTWARE (fc1)
Compiled Mon 03-Apr-00 17:47 by swati
Question by:Mansurul
    LVL 43

    Expert Comment

    You only have 4MB of Flash.  How big is the image you are trying to copy?

    Author Comment

    c3550-i9k2l2q3-mz.121-22.EA5a --- 4.2 MB

    c3550-i5q3l2-mz.121-12c.EA1 -- 3.8 MB

    But from the output  of Flash Directory

    2579456 bytes available (1033216 bytes used) --- this used 1033216 bytes should be free as well.

    How can I accommodate my new IOS image in it.
    LVL 43

    Expert Comment

    Delete the html directory and see how much that frees up.  The html directory is not needed.

    Are you just trying to copy the BIN file or are you trying to copy the .tar file?  You should only be copying the .bin file.
    LVL 43

    Accepted Solution

    Oh, lol, I see your problem.  You are trying to copy a 3550 image onto a 3500XL switch.  Download the correct image for the 3500XL and it should only be under 2MB.

    Author Closing Comment

    Thanks for your reply.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
    Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now