booted to tar file and now stuck in mini boot loader

RUN-DMCRUN-DMC Member Posts: 35 ■■□□□□□□□□
Hey all,
Working on a Aironet 1231 wireless AP. Trying to update the code, I mistakenly set the flash to boot to a .tar file. So I'm stuck in this mini boot loader. I finally figured out how to extract the tar but I run out of space on the flash, so it will not finish extracting.

ap: tar -xtract tftp://10.4.80.100/c1200-k9w7-tar.123-8.JEA.tar flash:

extracting info (274 bytes)
c1200-k9w7-mx.123-8.JEA/ (directory) 0 (bytes)
extracting c1200-k9w7-mx.123-8.JEA/c1200-k9w7-mx.123-8.JEA
lines omitted
(3664203 bytes)Error writing flash:/c1200-k9w7-mx.123-8.JEA/c1200-k9w7-mx.123-8.JEA (Not enough space on device)

ap: dir flash:

Directory of flash:/

2 -rwx 27 <date> private-config
7 drwx 448 <date> c1200-k9w7-mx.123-7.JA2
3 -rwx 5027840 <date> c1200-k9w7-tar.123-8.JEA.tar
4 -rwx 2232 <date> config.txt
5 -rwx 274 <date> info
6 -rwx 768 <date> env_vars
145 -rwx 2072 <date> private-multiple-fs
152 drwx 64 <date> c1200-k9w7-mx.123-8.JEA


I try to delete the .tar but get-> permison denied, when trying to remove it to free up room on the flash so I can fully extract it.

ap: delete c1200-k9w7-tar.123-8.JEA.tar
Are you sure you want to delete "c1200-k9w7-tar.123-8.JEA.tar" (y/n)?y
File "c1200-k9w7-tar.123-8.JEA.tar" not deleted -- permission denied

Any thoughts my friends?

Comments

  • GrimBShroutGrimBShrout Member Posts: 1 ■□□□□□□□□□
    Cisco says this to upgrade software: To copy software images either by downloading a new version or uploading the existing one, use the archive download-sw or the archive upload-sw privileged EXEC command. For more information, see the "Working with Software Images" section.

    So in your case:
    archive download-sw tftp://10.4.80.100/c1200-k9w7-tar.123-8.JEA.tar

    As for the unextracted archive use this command to remove it:
    delete /force /recursive c1200-k9w7-mx.123-8.JA

    Let me know what happens.
  • FatFingerFatFinger Member Posts: 1 ■□□□□□□□□□
    Hey RUN_DMC:
    I'm stuck in the same funky mode you were in on your 2006 posting re: unable to delete tar files and unable to "archive download" a new IOS image. Like you, my extraction attempt does not have enough flash space to handle all the files. Can you give me a hand?

    Thanks in advance.........
Sign In or Register to comment.