≡ Menu

How to Unzip / Uncompress Cisco IOS

This procedure is quite simple and the following is done on Linux. When you have an uncompressed IOS, you don’t need to wait for it when it comes to loading it on Dynamips.

unzip -p c3725-adventerprisek9-mz.124-25.bin > c3725-adventerprisek9-mz.124-25.image

You can see both compressed and uncompressed versions below.

Workstation IOS # ls -ltrh |grep 3725
-rw-r--r-- 1 root root 38M 2010-11-29 16:47 c3725-adventerprisek9-mz.124-25.bin
-rw-r--r-- 1 root root 79M 2010-11-29 20:23 c3725-adventerprisek9-mz.124-25.image
Workstation IOS #

Comments on this entry are closed.

  • Add

    Hi Nish, Could you show how to go back from image to bin?

    Thanks

    • Add, I have tried the following method, but It doesn’t seem to work when I load the image on Dynamips… It does ZIP, but the MD5 checksum is different from the original BIN Image…

      I am not sure how to go back to the original BIN image… If I find out, I will let you know.

      zip -r c3725-adventerprisek9.bin c3725-adventerprisek9.bin.image
      • KD2BVA

        I’d love to know this as well. I’d like to be able to load openwrt on lap1232ag-a-k9 access points to be repurposed for use in Broadband-Hamnet (HSMM-Mesh)

        • OpenWRT will only work with the supported hardware.

          • KD2BVA

            they have a build that I think will work, ppc40x, just need to make it MZIP I think

            • I would recommend you look into their forums etc. Need to be careful when it comes to throwing firmware into a box or you will end up bricking it…

              • KD2BVA

                not too worried about that… If I can’t repurpose them they have to recycle them

              • KD2BVA

                besides I could alway boot it in ROMMON mode and put the IOS image back on if it doesn’t boot openwrt for some reason

  • Add

    Thanks a lot. I’ll post a solution if I find it.

Next post:

Previous post:

Copyright © Nish Vamadevan 2002-2017. All Rights Reserved. Terms and Policies.