Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Deleting IOS Image - Permission Denied

Hi,

I'm having a small problem updating the system image of my 871 router and would appreciate any help given.

I'm currently running IOS 12.4(4) and would like to update to 12.4(11). I have downloaded the correct image (advipservices), copied it to a ready TFTP server and connected via telnet to console, dropping the router into ROMMON (I have 24MB of flash and not enough space to copy the new image on without deleting the old one).

However, when I try to delete the old image file I get a "Permission Denied" error. This means I don't have the space required to proceed with the update. The file permissions on the .bin file are -rwx.

Does anyone know what I'm doing wrong?

Thanks and apologies if this is a no brainer,

Andy

4 REPLIES
Silver

Re: Deleting IOS Image - Permission Denied

New Member

Re: Deleting IOS Image - Permission Denied

Hi,

Thanks for the reply. Unfortunately that procedure doesn't work for me because:

1. It assumes that you have enough memeory on the flash to copy the new image along side the existing image before switching, which I do not.

2. The example given is an actually an overwrite of the existing image with an identical copy rather than a newer image.

The only way I could see the example working is if I rename the new IOS image to be the same as the old IOS image, which I don't really want to do.

Any other ideas?

Thanks,

Andy

Cisco Employee

Re: Deleting IOS Image - Permission Denied

Andy,

Why you are falling to rommon. You can delete the file without getting into rommon. If you are unable to delete the file, you can try formatting the flash and then TFTP the file back to the flash using TFTP when the router is up or TFTPDNLD procedure even if the router is in rommon. So try formatting the flash when you are up and running and should work for you.

You should be aware of the following:

The documentation says that the tftp will run over the *first LAN port*

On the 871 it runs on the 2nd lan port, FE1, I have come across it many times. Just give it a try and let us know your findings.

-amit singh

Silver

Re: Deleting IOS Image - Permission Denied

If you check point 9 in the document, you'll see that when there is not enough space on the flash you are given the option to erase it.

As for the file name being the same, that is just because they are saving the ios image from flash to tftp and then reloading it. It is not a requirement.

You can also try the erase command:

router#erase flash:

router#copy tftp flash:

1015
Views
0
Helpful
4
Replies
CreatePlease to create content