Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UNABLE TO UPDATE IOS

Status
Not open for further replies.

myng94

Technical User
Sep 3, 2002
38
US
I purchased a used router cisco 2503, I went through the password recovery successfully, however, when I attempt:

copy tftp flash

I get the following error:
%Destination file system is read-only.

Also, I recently added an additional 8mb flash, could this be the problem? Please help me resolve this issue.

router#sh flash

System flash directory, partition 1:
File Length Name/status
1 8030024 c2500-ins-l.120-22.bin
[8030088 bytes used, 358520 available, 8388608 total]
8192K bytes of processor board System flash (Read ONLY)


System flash directory, partition 2:
File Length Name/status
1 8030024 c2500-ins-l.120-22.bin
[8030088 bytes used, 358520 available, 8388608 total]
8192K bytes of processor board System flash (Read/Write)

Thanks,
myng94
 
need to erash your flash, to make it look like one big 16mb stick...

if i remember right, the command should just be "erase flash"

hope this helps

BuckWeet
 
Dear ,

To override flash u shoould have read/write permition.The command u r trying to execute is trying to write file in first partition which is read only.

this is becoz u r booting ur router through first partition which u can't override directly or u must override flash using console.
please go through this link.


regards

Yash !!
 
Thanks for the help!!! However, I'm still in the same place, unable to upgrade. I tried the "erase flash" and the same error message:


%Destination file system is read-only

How can I make 1 partition??

 
erase the second partition.(either 'erase flash' or 'erase flash:2:')
then at the 'Router(config)' prompt, do a 'no part flash'. This will
combine the 2 flash chips and make them one 16M partion.
 
OK people .. remember how a 2500 works. Unlike the 2600s which load from ROM to RAM and then decompresses the image, the 2500 runs from ROM. So you need to boot into RMON, partition the 2 sticks to be 1 stick at 16 meg (which whacks the image) and then TFTP the new image.

Since the 2500 runs from flash, when you repartition the FLASH, you destroy the image. The router will not have ANY image on it at this point. You would load an image into flash just like any other 2500 without an image.

Lesson here!!!! copy the flash BEFORE you do anything!!!

Commands needed

partition flash partitions [size1 size2]
Router (boot)#copy tftp flash (notice the (boot) prompt)


Document has the load IOS details

THis doc has all the partition details:

MikeS
Find me at
"Take advantage of the enemy's unreadiness, make your way by unexpected routes, and attack unguarded spots."
Sun Tzu
 
FINALLY!!!!!!

THANKS FOR THE HELP GUYS!!!
Here is what solved the problem:

outer#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#partition flash 1 16

Router#sh flash

System flash directory:
File Length Name/status
1 8030024 c2500-ins-l.120-22.bin
[8030088 bytes used, 8747128 available, 16777216 total]
16384K bytes of processor board System flash (Read ONLY)

As you can see I had (1) 16mb Read ONLY flash at this point. So, I swithched slots with the memory sticks, rebooted:
Router#erase flash:2:
Erasing the flash:2 filesystem will remove all files! Continue? [confirm]
Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...erased
Erase of flash:2: complete

On the next reboot I had (1) 16mb Read/Write flash.

Thanks again for the help

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top