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


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
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You only have 4MB of Flash.  How big is the image you are trying to copy?
MansurulAuthor Commented:
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.
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.
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MansurulAuthor Commented:
Thanks for your reply.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.