5-13
Cisco 7206 Installation and Configuration Guide
OL-5102-02
Chapter 5 Maintaining the Cisco 7206
Reformatting a Flash Memory Card
Note
To avoid potential problems when inserting spare Flash memory cards in your Cisco 7206, we
recommend that you reformat all of your Flash memory cards on a Cisco 7206 running one of the
recommended Cisco IOS software releases.
Caution
The following formatting procedure erases all information on the Flash memory card. To prevent the loss
of important data that might be stored on a Flash memory card, proceed carefully. If you want to save
the data on a Flash memory card, copy the data to a server before you format the card.
The reformatting procedure assumes the following:
•
You have already booted your Cisco 7206.
•
You have access to a TFTP server (meaning you know its name and have connectivity to it) and at
least one interface is available over which you can access this server, or a secondary Flash memory
card available in slot 0 or slot 1 onto which you can copy files.
Note
To ensure access to a TFTP sever, you will need to configure at least one network interface
using the setup command facility. For instructions on using this procedure, refer to
Chapter 4, “Performing a Basic Configuration of the Cisco 7206,”
the
“Configuring
Interfaces” section on page 4-6
.
•
You know the filename of the image you want you want to copy to the TFTP server or onto the
secondary Flash memory card.
Use the following procedure to reformat a Flash memory card:
Step 1
Insert the Flash memory card into slot 0. (If slot 0 is not available, use slot 1.) (Refer to the
“Installing
and Removing a Flash Memory Card” section on page 5-7
.”
Step 2
Copy all the files on the Flash memory card to a TFTP server or a secondary Flash memory card. The
following example is for copying files to a TFTP server. Refer to the earlier section
“Copying a Bootable
Image onto a Flash Memory Card” section on page 5-10
for Flash memory card examples.
Router> en
Password:
Router#copy slot0:image.name tftp
Enter destination file name [image.name]: image.name
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCC
Address or name of remote host [tftp.server.name]? tftp.server.name
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!
Router#
Step 3
Reformat the Flash memory card using the format slot0: (or format slot1:) command as follows.
Router# format slot0:
All sectors will be erased, proceed? [confirm]
Enter volume id (up to 30 characters): MyNewCard
Formatting sector 1
Format device slot0 completed
Router#
Step 4
Copy the files you saved to the TFTP server back to the Flash memory card as follows.