Top

Unzip IOS Images for Dynamips

15 January, 2008 by Greg Ferro      Print Posting

I have a directory ‘dynalab’ in my ‘Documents’ where I have put ALL my Dynamips / Dynagen related files. I created a directory there which has all my IOS images, this makes more sense to my mind. Makes it easier to backup.

gf:Documents gregferro$ mkdir dynalab
gf:Documents gregferro$ cd dynalab
gf:dynalab gregferro$ ls
gf:dynalab gregferro$

You can copy IOS images as normal using the Finder into the dynalab directory. To uncompress the images you can either download the Zipeg program (use a search engine to find it), or use the command line as follows:

gf:dyncode gregferro$ unzip -p c1700-sy-121-9.bin > c1700-sy-121-9.image
warning [c1700-sy-121-9.bin]: 16304 extra bytes at beginning or within zipfile
(attempting to process anyway)
gf:dyncode gregferro$

I have renamed the IOS file from .bin to .image so I can determine that it has been uncompressed. I keep the rest of the name the same, because that tells me the feature set of the image.

Now your images are ready to use. You can see the script I use to start Dynamips / Dynagen in a earlier post.

Please rate this post :    Why ?
Rating: 10.0/10 (1 vote cast)
Share:
  • Reddit
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon
  • TwitThis
  • LinkedIn

Comments

5 Responses to “Unzip IOS Images for Dynamips”

  1. Joel on August 18th, 2008 1:45 pm

    wow.. thanks dude, am surprised that no one commented yet. nice work. coz i wasnt able to decompress it without ur instructions…
    thanks.

  2. Greg Ferro on August 19th, 2008 6:51 am

    Thanks, appreciate the feedback.

  3. Richard on September 4th, 2008 1:08 am

    OK - I must be stupid. I downloaded the ZiPeg you recommended but it will not open any of my .bin IOS image files…and I cannot seem to find anywhere where it says it will do so…

    Any help on this..?

    Thanks :-)

  4. Greg Ferro on September 5th, 2008 7:29 am

    Try renaming the file with a .mz extension. I haven’t done this for while so I can’t quite remember.

  5. Al on November 7th, 2008 3:14 am

    Thanks! This article solved the issue I had attempting to boot 2600-series routers in GNS3.

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!





Bottom