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.












wow.. thanks dude, am surprised that no one commented yet. nice work. coz i wasnt able to decompress it without ur instructions…
thanks.
Thanks, appreciate the feedback.
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
Try renaming the file with a .mz extension. I haven’t done this for while so I can’t quite remember.
Thanks! This article solved the issue I had attempting to boot 2600-series routers in GNS3.