This section describes options for the create_cf command. Administrators can use the create_cf command when troubleshooting problems with the boot image, as described under To Upgrade to a Boot Image From a Network Boot in U-Boot Monitor Mode. Use it carefully as described in this section.Caution! Only use the --doformat option to save the image that is currently in RAM into the image1 area, but be aware that this option reformats all flash partitions while saving the image.Note: Use the --image[1|2]option to save the image that is currently in RAM into a specific image area, without reformatting the partitions that contain the other image.The following table provides more information about the create_cf command options, which you can view from the Linux command line by entering the name of the command.
Options for the create_cf command Not recommended. Checks if a boot image is already on the device. If no image is on the device (as would be true for a newly installed removable flash on a PCMCIA card) and if no image is specified, runs --doformat and installs the image in image1. If multiple images are on the device, and no image is specified, presents a choice of images for the user to choose from, and then writes the image from RAM into the specified image area. In either case, restores the factory default configuration -d device Creates the image on the specified device. The default device is /dev/hda (the removable flash memory). Make sure the filesystem is not mounted.Use the -d device option if you want to create the image in another location, such as on an installed compact flash PCMCIA card. (The device names for PCMCIA cards are determined by the number of the card slot where the card is installed, either /dev/hdc (PCMCIA slot 1) or /dev/hde (PCMCIA slot 2). Creates the image using factory default configuration files. By default, if this option is not entered, the configuration from the current partition is used, if valid. For more details, see How Configuration Changes Are Handled. Does not format the compact flash. The sizes of partitions hda1-3 and 5-8 are checked. If the partition sizes are not smaller than 2, 2, 5, 51, 51, 6, and 6 Mbytes respectively, the image is installed in the specified image area. --image N Creates/replaces imageN, when n=1 | 2. Use this option to replace only the specified image without erasing both images. Changes the currentimage environment variable to boot from the image.