cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1269
Views
0
Helpful
6
Replies

Remove Flash Partitionin 2651XM

dhanasekaran.r
Level 1
Level 1

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.

6 Replies 6

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

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

T-1#delete flash:

HTH

Reza

Thanks Reza,, but it did not work too

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

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)

Do you have the option to format the partion?

T-1#format flash:

http://www.helpfindit.com/PDF/CISCO/DSCISCO108839.PDF

Reza

AKM Fahad Aziz
Level 1
Level 1

Please try this

Router(config)#no partition flash

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco