Article

LBSources

GNS3 Announcement: Want To Run An ASA? At Least Run The Code On PEMU

Written by LBSources from http://www.gns3-labs.com on November 22nd, 2008 | 41 Comments

From the GNS3.net official site..

A new tool called “Cisco image unpacker” has been added on the download page. This tool which is simple to use, can unpack Cisco ASA and IOS images to be used with GNS3, Pemu or Qemu. Please note that at the moment only ASA v7 and early images are supported in GNS3 and Pemu. Read the provided README file to know how to use it.

Cisco binary image unpacker is a software that allows you to unpack IOS and ASA images.

Important notice: ASA v7 images can be used in GNS3 and Pemu. At the moment ASA v8 images run only with Qemu.

Read More

18,557 views

Tags: , , , , , ,

41 Responses to “GNS3 Announcement: Want To Run An ASA? At Least Run The Code On PEMU”

  1. Pier Carlo Chiodi pierky

    Great!!!!! Unpack once and go…
    No more ##################################### [OK]! :) I miss you

  2. Gayan Gayan

    cn u mail me that ios ..still i couldnt do it.. please

  3. LBSources LBSources

    Hello Gayan, Topologies is all that will be allowed to be shared here. Sharing Cisco IOS files is prohibited by this site and Cisco’s licensing agreement to those who own rights to Cisco IOS files..

  4. gayan gayan

    ok i asa802-k8.bin ios ..but i try to do wt u told.bt coulnt.cn u mail me to that loaded file or cn u share it in 4shared.com??
    if u cn tell me how unpack asa802-k8.bin file to gns usable format??

  5. LBSources LBSources

    Hello Gayan, you have to check the GNS3 site for the unpacker.. http://sourceforge.net/project/downloading.php?groupname=gns-3&filename=Unpack-0.1_win.zip&use_mirror=superb-east

    But here are the steps to unpack an ASA 8.0.x image..

    ===================================
    How to unpack ASA version 8 images?
    ===================================

    Image tested: asa802-k8.bin

    [Linux]

    $ python unpack.py –format ASA8 asa802-k8.bin
    gzip: /tmp/asa802-k8.bin.gz: decompression OK, trailing garbage ignored
    cpio: Removing leading `/’ from member names
    cpio: dev/console: Cannot mknod: Operation not permitted
    cpio: dev/ram0: Cannot mknod: Operation not permitted
    cpio: dev/mem: Cannot mknod: Operation not permitted
    cpio: dev/kmem: Cannot mknod: Operation not permitted
    cpio: dev/null: Cannot mknod: Operation not permitted
    cpio: dev/port: Cannot mknod: Operation not permitted
    cpio: dev/hda: Cannot mknod: Operation not permitted
    cpio: dev/hda1: Cannot mknod: Operation not permitted
    cpio: dev/hda2: Cannot mknod: Operation not permitted
    cpio: dev/hda3: Cannot mknod: Operation not permitted
    cpio: dev/hdb: Cannot mknod: Operation not permitted
    cpio: dev/hdb1: Cannot mknod: Operation not permitted
    cpio: dev/hdb2: Cannot mknod: Operation not permitted
    cpio: dev/hdb3: Cannot mknod: Operation not permitted
    cpio: dev/ttyS0: Cannot mknod: Operation not permitted
    cpio: dev/ttyS1: Cannot mknod: Operation not permitted
    cpio: dev/net/tun: Cannot mknod: Operation not permitted
    61039 blocks
    ASA8 initrd successfully unpacked in asa802-k8.bin.unpacked.initrd
    ASA8 kernel successfully unpacked in asa802-k8.bin.unpacked.vmlinuz

    [Windows]

    C:\Unpack>unpack.exe –format ASA8 asa802-k8.bin

    gzip: c:\docume~1\admini~1\locals~1\temp\asa802-k8.bin.gz: decompression OK, trailing garbage ignored
    cpio: Removing leading `/’ from member names
    cpio: vmlinuz: Function not implemented

    61039 blocks
    ASA8 initrd successfully unpacked in asa802-k8.bin.unpacked.initrd
    ASA8 kernel successfully unpacked in asa802-k8.bin.unpacked.vmlinuz

    Create a FLASH file with the follwing command: “qemu-img create FLASH 256M”

    Then you can use Qemu to launch ASA:

    $qemu -hda FLASH -hdachs 980,16,32 -kernel asa802-k8.bin.unpacked.vmlinuz -initrd asa802-k8.bin.unpacked -m 256 –no-kqemu
    -append “auto nousb ide1=noprobe bigphysarea=16384 console=ttyS0,9600n8 hda=980,16,32″ -serial telnet::15000,server,nowait

    Finally start telnet to connect on port 15000:

  6. gayan gayan

    but when i try to unpack it give like this output..

    C:\Unpack>unpack.exe –format ASA8 asa802-k8.bin
    ‘gzip’ is not recognized as an internal or external command,
    operable program or batch file.
    cpio: Removing leading `/’ from member names
    cpio: vmlinuz: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: System.map: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/kernel/drivers/net/e100.ko: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/kernel/drivers/net/e1000/e1000.ko: Function not imple
    mented
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/kernel/fs/fat/fat.ko: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/kernel/fs/msdos/msdos.ko: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/kernel/fs/nls/nls_ascii.ko: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/kernel/fs/nls/nls_utf8.ko: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/kernel/fs/vfat/vfat.ko: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/kernel/lib/crc-ccitt.ko: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/kernel/lib/libcrc32c.ko: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/kernel/net/tipc/tipc.ko: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/modules.pcimap: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/modules.dep: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/modules.ieee1394map: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/modules.usbmap: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/modules.ccwmap: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/modules.isapnpmap: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/modules.inputmap: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/modules.alias: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: lib/modules/2.6.17.8/modules.symbols: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: bin/busybox: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: bin/tipc-config: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: bin/tunctl: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: dev/console: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: dev/ram0: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: dev/mem: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: dev/kmem: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: dev/null: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: dev/port: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: dev/hda: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: dev/hda1: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: dev/hda2: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: dev/hda3: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: dev/hdb: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: dev/hdb1: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: dev/hdb2: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: dev/hdb3: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: dev/ttyS0: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: dev/ttyS1: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: dev/net/tun: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: lib/libpthread.so.0: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: lib/libthread_db.so.1: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: lib/libc.so.6: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: lib/ld-linux.so.2: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: bin/gdbserver: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: lib/libstdc++.so.6: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: lib/libm.so.6: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: lib/libgcc_s.so.1: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: lib/libdl.so.2: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: lib/libexpat.so.1: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: etc/inittab: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: etc/init.d/rcS.common: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: etc/init.d/rcS: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: asa/bin/lina: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: asa/bin/lina_monitor: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: Removing leading `/’ from member names
    cpio: asa/scripts/format_flash.sh: Function not implemented
    cpio: Removing leading `/’ from member names
    cpio: asa/scripts/fsck_flash.sh: Function not implemented
    61039 blocks

    gzip: c:\docume~1\gayan-~1\locals~1\temp\asa802-k8.bin.gz already exists; do you
    wish to overwrite (y or n)? not overwritten
    ASA8 initrd successfully unpacked in asa802-k8.bin.unpacked.initrd
    ASA8 kernel successfully unpacked in asa802-k8.bin.unpacked.vmlinuz

    asa802-k8.bin.unpacked.
    asa802-k8.bin.unpacked. files ar in the folder..

    then i create
    C:\Unpack>qemu-img create FLASH 256M
    Formating ‘FLASH’, fmt=raw, size=262144 kB

    The flash file also there..

    then hw i load asa to gns..i try to load that flash file ..but not work..
    cn u help me to do that.. because it very useful to me ..

    Thank you..
    I appreciate if u reply me ….

  7. gayan gayan

    when i run qemu my processor go high..wt cn i do fo it..i cant load any image :(

  8. LBSources LBSources

    For PIX images you must use BES (Battle Encoder Shirase) to limit how much CPU priority Quemu will be given. For GNS23 - routers you use idlepc

    Link to BES: http://mion.faireal.net/BES/

    Read the GNS3 tutorial on how to use the idlepc option: http://downloads.sourceforge.net/gns-3/GNS3-0.5-tutorial.pdf?download

  9. gayan gayan

    Thanks

    but when i try to unpack it give like this output..

    C:Unpack>unpack.exe –format ASA8 asa802-k8.bin
    ‘gzip’ is not recognized as an internal or external command,
    operable program or batch file.

    ( ‘gzip’ is not recognized as an internal or external command, ) is this error??

    then wt file i load to gns..
    flash file or another one/????

  10. LBSources LBSources

    Maybe you are not an admin on the machine you are running this?

    Also gzip exists in the unpack folder. So you either have not extracted the unpack archive correctly or you are manually doing something to remove necessary files.

  11. gayan gayan

    then wt file i load to gns..
    FLASH file or another one ?

  12. LBSources LBSources

    @gayan .. You can always try on your own, :) but the .BIN file is the one to use once unpacked.

  13. shiva shiva

    in my laptop not running to console in gns3 soft ware

  14. shiva shiva

    pleasse reply to me

  15. LBSources LBSources

    @shiva Hello you need to describe your problem a little more before anyone can help you.

    Are you saying that you cannot get to the console of a router after you started it?

    What IOS are you using?

  16. Jun Jun

    I tried to unpack asa803-k8.bin but I got error message
    c:\Unpack-0.1_win\Unpack>unpack –format ASA8 asa803-k8.bin

    ” Couldn’t find any ZIP header in asa803-k8.bin ”

    all unpack files and ASA image are in the same folder.
    What should I do?

  17. sanjay sanjay

    pls tell how can i get the PIX IOS to work with GNS

  18. LBSources LBSources

    @Sanjay .. having a look at the documentation will help you: http://voxel.dl.sourceforge.net/sourceforge/gns-3/GNS3-0.5-tutorial.pdf

  19. Reda Reda

    unpack.exe [--output file] [--format ]

    C:\Users\…\Desktop\Reda New\GNS3\Unpack>unpack.exe -format ASA8 asa803-k8.bin

    Warning: No format set, defaulted to ASA7
    Couldn’t open ûformat

    C:\Users\…\Desktop\Reda New\GNS3\Unpack>

    what could be the problem?

  20. mohamed mohamed

    hi … i cant setup lab with 2 routers and pix, even if i try to do so, the pix goes to slow. wat can i do?

  21. Amin Amin

    I got this error.

    C:Unpack>unpack.exe –format ASA8 asa802-k8.bin
    ‘gzip’ is not recognized as an internal or external command,
    operable program or batch file.

    Can any body solve this??

  22. Kapil Kapil

    Hi LBSOurces,
    I have been following this forum for quite a while.
    Thanks a million for the great job.
    Just wanted to know that have got a work around to
    run ASA V8 on GNS 3 .
    If yes then please help out with your expertise.
    Thanks and regards,

  23. Raj Raj

    I tried to unpack asa821-k8.bin but I got error message
    c:\Unpack-0.1_win\Unpack>unpack –format ASA8 asa821-k8.bin

    ” Couldn’t find any ZIP header in asa803-k8.bin ”

    all unpack files and ASA image are in the same folder.
    What should I do?

    Same issue as Jun above.. Please help.

  24. suraj suraj

    Whenever i am loading asa image in gns3 it is always showing pix why it is not showing asa?

  25. Dorin Dorin

    i had problems with the instructions on this page.
    Use the following steps to complete the unpacking:
    1.Unpack the unpack.rar (in this example) in d:\gns3\unpack
    2.copy asa802-k8.bin in d:\gns3\unpack
    3.creat a .bat file and enter the text:
    PATH=D:\GNS3\Unpack
    unpack.exe –output asa802-k8 –format ASA8 asa802-k8.bin
    4.start the .bat file
    5.In d:\gns3\unpack you should find 2 files asa802-k8.initrd and asa802-k8.vmlinuz

  26. John John

    I recieve an error everytime i try to unpack asa802-k8.bin

    ‘gzip’ is not recognized as an internal or external command,
    operable program or batch file.
    cpio: warning: skipped 133225 bytes of junk
    cpio: E├”|<Ö-B╫▄▓63¬▬^°º←3ß╟¡k¶■nKΩåφπ╫√(Jz╦[█r·ûS╖╓╥ºb½o8}δ█rm
    ←åôf|èƒV‼ª⌂}·VL╟÷╜┌Ä╙╖ûl₧∩¢←↑¬_A╟c♫←Å[%u┌⌐Θ╤\¼
    Ω↨/═ǪLh╦Të☻ñ%8▲δ│╤⌠7SUu╨π╙∙?a≈♣ú½z\å☺♫r☼π≡÷ÑV(┬╤&D1_♂-▐≡yε╬wd╘Θòîbæ▄Θ╙p═Zd╡╣2µ▀
    ò→ÿqn9JY╒»¿a══1↓
    σ♂Γ⌡°↓&a═╥Ra1e─▓öL⌠►≈C%╙α√₧│┤▲Y?◄╜-☼J\↨¼a╚}╬P~tàGÄ╛╢°┼┴∟+♠±gY║A⌐ª♠S!╜@πüìê│╪~↓←L
    1:╘LkQÑ
    ├ǰ╖T¬\♂M╝U▐z╖₧│┌ƺ╥╘╔▬Y^â⌐ô╩âπàⁿαzN∞→╧öe√╘┬X4⌂₧X ▄ë╚i],u≡ú⌡mâ|↑≡√`└▀öÇ╒┴ÇìJ└oé☺
    Å»↓r~‼¶╫δΦüQ↓·7@7h·
    ≥í╙aI╗♫µ∩îå█⌡:äH┌↨,≥¢g►\■╞╝╞╜@Ö¢Ä∙H█°^♫·Wº≥Kü¬╥%ö╚╗~♫ö√ÇÜ4═↨F♥g┬;╬a▬╤±K«¿oÇ≥╤£ 4
    ¥`J▒0Deæ▀8½┴3¶φ←╪←gálü0úB→à↓╠n╓WΦóτä·zè¼█T─w░♂↔♂áQFà8↔│q÷╒RªR→∩°}Po╡2S╬嬵╙║p♦╩±
    DcÇ▐o≡S═x╓ev┼▬►≈☺╔H[@:T²▓┐q∟So←╔*╔aΓæfcFG╒añ╣◄g@æx▼å☼∩£c╔╚▒êå↑╫ⁿÇ*»æ÷┼òº#┘&█í⌐╖├
    4╥►█│Φ√H■█l=ºä4gÑ╬∙~R0▐"♂⌠`╧►∟5▐æç·ö☺sÅöH╗¬║H~ôYA▲╦RrÉ∟S⌐-&.Ñ╙*▀♂Ñ6τñ>ⁿ▌$°Heσ: u
    nknown file type
    cpio: premature end of file
    Traceback (most recent call last):
    File "unpack.py", line 208, in
    File "unpack.py", line 146, in unpackASA8
    File "shutil.pyo", line 199, in move
    File "shutil.pyo", line 91, in copy2
    File "shutil.pyo", line 46, in copyfile
    IOError: [Errno 2] No such file or directory: ‘c:\\docume~1\\jburford\\locals~1\
    \temp\\tmp2mbgqe\\vmlinuz’

    Any ideas on how to do this with no errors

  27. saket saket

    C:\Unpack>unpack.exe –format ASA8 asa802-k8.bin
    ‘gzip’ is not recognized as an internal or external command,
    operable program or batch file.
    The system cannot find the file specified.
    Traceback (most recent call last):
    File “unpack.py”, line 208, in
    File “unpack.py”, line 146, in unpackASA8
    File “shutil.pyo”, line 199, in move
    File “shutil.pyo”, line 91, in copy2
    File “shutil.pyo”, line 46, in copyfile
    IOError: [Errno 2] No such file or directory: ‘c:\\docume~1\\yash\\locals~1\\tem
    p\\tmpdirmhb\\vmlinuz’

  28. taw taw

    John and saket, try to use the comments of Dorin. But in the .bat file use for the second line “–” where you have “-”. Thank you to Dorin.

    Dorin
    December 24th, 2009 at 5:32 am

    i had problems with the instructions on this page.
    Use the following steps to complete the unpacking:
    1.Unpack the unpack.rar (in this example) in d:\gns3\unpack
    2.copy asa802-k8.bin in d:\gns3\unpack
    3.creat a .bat file and enter the text:
    PATH=D:\GNS3\Unpack
    unpack.exe –output asa802-k8 –format ASA8 asa802-k8.bin
    4.start the .bat file
    5.In d:\gns3\unpack you should find 2 files asa802-k8.initrd and asa802-k8.vmlinuz

  29. Shelly Shelly

    I am new to the GNS3 and cisco…. I used the unpacker and asa708-k8.bin
    all went will got the following output:

    C:\Unpack>unpack.exe –format ASA7 asa708-k8.bin
    Archive: c:/users/shelly~1.oa/appdata/local/temp/asa708-k8.bin.zip
    inflating: c:/users/shelly~1.oa/appdata/local/temp/pix
    ASA7 binary image successfully unpacked in asa708-k8.bin.unpacked

    My questions are 1.in GNS3 preferences/Qemu/ASA where do I point the path to the intrd:
    do i use the original path for the bin filed I downloaded from Cisco site ?
    2. Where to I point the path to the kernel?

    thank you
    Shelly

  30. LBSources LBSources

    @Shelly Try here: http://www.brainbump.net/2010/03/gns3-how-to-emulate-asa-in-windows-7/

  31. Shelly Shelly

    I do not have anything that looks like the tutorial.
    There is no vmlinuz file on my computer.. so I have no idea what I am looking for to point to for the kernel.
    the other file I have is a zip file… does not appear to be what is requried for the initrd box. Any help is appreciated.

  32. Shelly Shelly

    Forgot to mention… I am running windows not linux.

  33. Shelly Shelly

    I got it to work.

  34. Shahul Hameed Shahul Hameed

    C:\Unpack>unpack.exe –format ASA8 asa802-k8.bin
    ‘gzip’ is not recognized as an internal or external command,
    operable program or batch file.
    The system cannot find the file specified.
    Traceback (most recent call last):
    File “unpack.py”, line 208, in
    File “unpack.py”, line 146, in unpackASA8
    File “shutil.pyo”, line 199, in move
    File “shutil.pyo”, line 91, in copy2
    File “shutil.pyo”, line 46, in copyfile
    IOError: [Errno 2] No such file or directory: ‘c:\\docume~1\\yash\\locals~1\\tem
    p\\tmpdirmhb\\vmlinuz’

    Solution :
    Copy the gzip.exe file from the unpack folder and paste it in C:\windows\System32
    Then unpack the ASA image it will work

  35. GD GD

    C:\Unpack>unpack.exe –format ASA8 asa802-k8.bin
    Traceback (most recent call last):
    File “unpack.py”, line 208, in
    File “unpack.py”, line 140, in unpackASA8
    File “unpack.py”, line 70, in executeCommand
    TypeError: ’str’ object is not callable

  36. GD GD

    help me plzzz
    C:\Unpack>unpack.exe –format ASA8 asa802-k8.bin
    Traceback (most recent call last):
    File “unpack.py”, line 208, in
    File “unpack.py”, line 140, in unpackASA8
    File “unpack.py”, line 70, in executeCommand
    TypeError: ’str’ object is not callable

  37. ickekin2 ickekin2

    I think there is a problem with unpacking the asa821-k8.bin and asa822-k8.bin images. The unpack executable cannot find the zip header. Best bet is to try the asa802-k8.bin image. It seems to work. The README help file also clearly shows the unpacking of asa802 image.

  38. Phillip Phillip

    These are my problems with unpack image ASA8. Please Help

    C:\>cd unpack

    C:\Unpack>unpack.exe –format ASA8 asa802-k8.bin
    ‘gzip’ is not recognized as an internal or external command,
    operable program or batch file.
    The system cannot find the file specified.
    Traceback (most recent call last):
    File “unpack.py”, line 208, in
    File “unpack.py”, line 146, in unpackASA8
    File “shutil.pyo”, line 199, in move
    File “shutil.pyo”, line 91, in copy2
    File “shutil.pyo”, line 46, in copyfile
    IOError: [Errno 2] No such file or directory: ‘c:\\users\\bbio\\appdata\\local\\
    temp\\tmp5dvcrp\\vmlinuz’

    C:\Unpack>unpack.exe –format ASA8 asa802-k8.bin
    ‘gzip’ is not recognized as an internal or external command,
    operable program or batch file.
    The system cannot find the file specified.
    Traceback (most recent call last):
    File “unpack.py”, line 208, in
    File “unpack.py”, line 146, in unpackASA8
    File “shutil.pyo”, line 199, in move
    File “shutil.pyo”, line 91, in copy2
    File “shutil.pyo”, line 46, in copyfile
    IOError: [Errno 2] No such file or directory: ‘c:\\users\\bbio\\appdata\\local\\
    temp\\tmpkv_bnm\\vmlinuz’

    C:\Unpack>unpack.exe –format ASA8 asa802-k8.bin
    ‘gzip’ is not recognized as an internal or external command,
    operable program or batch file.
    The system cannot find the file specified.
    Traceback (most recent call last):
    File “unpack.py”, line 208, in
    File “unpack.py”, line 146, in unpackASA8
    File “shutil.pyo”, line 199, in move
    File “shutil.pyo”, line 91, in copy2
    File “shutil.pyo”, line 46, in copyfile
    IOError: [Errno 2] No such file or directory: ‘c:\\users\\bbio\\appdata\\local\\
    temp\\tmpd955gm\\vmlinuz’

    C:\Unpack>unpack.exe –format ASA8 asa802-k8.bin
    ‘gzip’ is not recognized as an internal or external command,
    operable program or batch file.
    The system cannot find the file specified.
    Traceback (most recent call last):
    File “unpack.py”, line 208, in
    File “unpack.py”, line 146, in unpackASA8
    File “shutil.pyo”, line 199, in move
    File “shutil.pyo”, line 91, in copy2
    File “shutil.pyo”, line 46, in copyfile
    IOError: [Errno 2] No such file or directory: ‘c:\\users\\bbio\\appdata\\local\\
    temp\\tmpxneb4m\\vmlinuz’

    C:\Unpack>unpack.exe –format ASA8 asa802-k8.bin
    ‘gzip’ is not recognized as an internal or external command,
    operable program or batch file.
    The system cannot find the file specified.
    Traceback (most recent call last):
    File “unpack.py”, line 208, in
    File “unpack.py”, line 146, in unpackASA8
    File “shutil.pyo”, line 199, in move
    File “shutil.pyo”, line 91, in copy2
    File “shutil.pyo”, line 46, in copyfile
    IOError: [Errno 2] No such file or directory: ‘c:\\users\\bbio\\appdata\\local\\
    temp\\tmpmq0xzt\\vmlinuz’

    C:\Unpack>cd..

    C:\>unpack
    Access is denied.

    C:\>unpack.exe
    Access is denied.

    C:\>cd unpack

    C:\Unpack>unpack
    unpack [--output file] [--format ]

    C:\Unpack>unpack.exe –format ASA8 asa802-k8.bin
    ‘gzip’ is not recognized as an internal or external command,
    operable program or batch file.
    The system cannot find the file specified.
    Traceback (most recent call last):
    File “unpack.py”, line 208, in
    File “unpack.py”, line 146, in unpackASA8
    File “shutil.pyo”, line 199, in move
    File “shutil.pyo”, line 91, in copy2
    File “shutil.pyo”, line 46, in copyfile
    IOError: [Errno 2] No such file or directory: ‘c:\\users\\bbio\\appdata\\local\\
    temp\\tmpkjepxe\\vmlinuz’

    C:\Unpack>unpack.exe –format ASA8 asa802-k8.bin
    ‘gzip’ is not recognized as an internal or external command,
    operable program or batch file.
    The system cannot find the file specified.
    Traceback (most recent call last):
    File “unpack.py”, line 208, in
    File “unpack.py”, line 146, in unpackASA8
    File “shutil.pyo”, line 199, in move
    File “shutil.pyo”, line 91, in copy2
    File “shutil.pyo”, line 46, in copyfile
    IOError: [Errno 2] No such file or directory: ‘c:\\users\\bbio\\appdata\\local\\
    temp\\tmprovheq\\vmlinuz’

    C:\Unpack>unpack.exe –output ASA8 asa802-k8.bin
    Warning: No format set, defaulted to ASA7
    Couldn’t find any ZIP header in asa802-k8.bin

    C:\Unpack>unpack.exe –output ASA8 asa802-k8.bin
    Warning: No format set, defaulted to ASA7
    Couldn’t find any ZIP header in asa802-k8.bin

    C:\Unpack>unpack.exe –output asa802-k8-format ASA8 asa802-k8.bin
    Warning: No format set, defaulted to ASA7
    Couldn’t open ASA8

    C:\Unpack>unpack.exe -output asa802-k8-format ASA8 asa802-k8.bin
    Warning: No format set, defaulted to ASA7
    Couldn’t open asa802-k8-format

    C:\Unpack>unpack.exe -output asa802-k8 -format ASA8 asa802-k8.bin
    Warning: No format set, defaulted to ASA7
    Couldn’t open ûoutput

    C:\Unpack>unpack.exe -output asa802-k8 -format ASA8 asa802-k8.bin
    Warning: No format set, defaulted to ASA7
    Couldn’t open ûoutput

    C:\Unpack>unpack.exe -output asa802-k8 -format ASA8 asa802-k8.bin
    Warning: No format set, defaulted to ASA7
    Couldn’t open ûoutput

    C:\Unpack>

  39. Phillip Phillip

    Hi

    anybody please help

  40. AViK AViK

    Hello GURUs. I got such such situation:

    1) Received the asa802-k8.bin.unpacked.initrd
    asa802-k8.bin.unpacked.vmlinuz
    from Umpacking.
    2) Created successfully flash file with “qemu-img create FLASH 256M” command

    Now, could you please help me with ASA simulation on GNS3:

    a)What “Kernel cmd line” I should type in GNS3 ASA tab?
    b)Where should I put the FLASH file?
    c)What “Qemu options” I should type in GNS3 ASA tab?
    d)Should I edit the “QEMU general setting” tab, like “IP/Host binding” or “Qemuwrapper port”?

  41. praveen praveen

    Dear All,

    Please find the links below to run ASA successfull on GNS3.

    http://blog.gns3.net/2009/12/how-to-emulate-cisco-asa/#more-141

    http://www.sadikhov.com/forum/index.php?s=04354f42d4cf5f828edbce13e41fab68&showtopic=177924&st=80

    Enjoy.

    Regards,
    Praveen

Leave a Reply



Subscribe To GNS3-Labs

Subscribe to GNS3 Labs :: Cisco Router Simulator Network Topologies


Show Love!

If you would like to donate for the time it takes to do all of this, feel free to use the link below. Thank you in advance for any contribution you make :)

Categories