Remove Flash Partitionin 2651XM

Unanswered Question
Dec 3rd, 2009

We have router 2650XM with the partions which i need remove.

Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-ADVSECURITYK9-M), Version 12.3(5c), RELEASE SOFTWARE (fc2)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Wed 14-Apr-04 06:07 by cmong
Image text-base: 0x80008098, data-base: 0x812A2A98

ROM: System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)

XXXXXX uptime is 1 week, 6 days, 7 hours, 52 minutes
System returned to ROM by reload at 08:18:02 CST Fri Nov 20 2009
System restarted at 08:20:01 CST Fri Nov 20 2009
System image file is "flash:2:c2600-advsecurityk9-mz.123-5c.bin"

cisco 2651XM (MPC860P) processor (revision 0x301) with 126976K/4096K bytes of memory.
M860 processor: part number 5, mask 2
Bridging software.
X.25 software, Version 3.0.0.
2 FastEthernet/IEEE 802.3 interface(s)
2 Serial(sync/async) network interface(s)
1 Virtual Private Network (VPN) Module(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash partition 1 (Read/Write)
16384K bytes of processor board System flash partition 2 (Read/Write)

!
!
partition flash 2 16 16
!
!
!

I tried "no partition flash" but it did not work. it shows the partition. Can anyone help me in removing the partition since i need more than 16 MB to load the IOS.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 0 (0 ratings)
Reza Sharifi Thu, 12/03/2009 - 14:25

Hi,

Have tried "delete flash" (in the exac mode)

T-1#delete flash:

HTH

Reza

Reza Sharifi Thu, 12/03/2009 - 14:43

Here are the steps from the config guide:

http://www.cisco.com/en/US/docs/routers/access/1800/1841/software/configuration/guide/b_image.html

SUMMARY STEPS

1. enable

2. (Class B file systems only) squeeze flash:

3. dir flash:

4. From the displayed output of the dir flash: command, compare the number of bytes available to the minimum flash requirements for the new system image.

a. If the available memory is equal to or greater than the new system image's minimum flash requirements, proceed to the "Copying the System Image into Flash Memory" section.

b. If the available memory is less than the new system image's minimum flash requirements, proceed to Step 5.

5. From the displayed output of the dir flash: command, compare the number of bytes total to the size of the system image to which you want to upgrade.

a. If the total memory is less than the new system image's minimum flash requirements, you must upgrade your compact flash memory card. See the hardware installation guide for your router.

b. If the total memory is equal to or greater than the new system image's minimum flash requirements, proceed to Step 6.

6. dir /all flash:

7. From the displayed output of the dir /all flash: command, write down the names and directory locations of the files that you can delete.

8. (Optional) copy flash: {tftp | rcp}

9. (Optional) Repeat Step 8 for each file that you identified in Step 7.

10. delete flash:directory-path/filename

11. Repeat Step 10 for each file that you identified in Step 7.

12. (Class B file systems only) squeeze flash:

13. dir flash:[partition-number:]

14. From the displayed output of the dir flash: command, compare the number of bytes available to the size of the system image to which you want to upgrade.

a. If the available memory is less than the new system image's minimum flash requirements, then you must upgrade your compact flash memory card to a size that can accommodate both the existing files and the new system image. See the hardware installation guide for your router.

b. If the available memory is equal to or greater than the new system image's minimum flash requirements, proceed to the "Copying the System Image into Flash Memory" section.

ahttp://www.cisco.com/en/US/docs/routers/access/1800/1841/software/configuration/guide/b_image.html

Reza

dhanasekaran.r Thu, 12/03/2009 - 14:50

Thanks Reza once gain ,, the problem is when i put dir /all flash,, i see an error message as shown below.

T#dir /all flash:1:
Directory of flash:1:/

    1  -rw-    11566300   Dec 1 2009 10:55:45 -06:00  c2600-advsecurityk9-mz.123-5c.bin

16777216 bytes total (5210852 bytes free)
T#dir /all flash:2:
%Error opening flash:2:/ (No such file or directory)

Where as Show flash shows 32MB


t#sh flash

System flash directory, partition 1:
File  Length   Name/status
  1   11566300  c2600-advsecurityk9-mz.123-5c.bin 
[11566364 bytes used, 5210852 available, 16777216 total]
16384K bytes of processor board System flash (Read/Write)

16384K bytes of processor board System flash (Read/Write)

Actions

Login or Register to take actions

This Discussion

Posted December 3, 2009 at 2:19 PM
Stats:
Replies:5 Avg. Rating:
Views:611 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard