beautypg.com

Software maintenance, Introduction, Files – H3C Technologies H3C MSR 30 User Manual

Page 56: Bootware program file, Application files

background image

48

Software Maintenance

Introduction

Files

BootWare program file

The file is stored in the flash memory to boot an application. A complete BootWare file includes two

segments: basic and extended.

The basic section is used for the basic initialization of the system.

The extended section provides abundant human-computer interaction (HCI) functions and is used to
initialize interfaces and update the applications and the boot system.

After the basic section is loaded, you can load and update the extended section through the menu
of the basic section.

Application files

The router is available with Dual Image function. By default, the system defines and attempts to boot in

order with three boot files: main, backup, and secure, provided they are available with CF card. If the

router fails to boot with the secure boot file, it prompts the boot failure. For more information about the

boot files, refer to

Maintaining Application and Configuration Files

on page

68

.

The following table gives default names and types of boot files.

Table 25 Default names and types of the boot files

Boot file

File name

File type

Main boot file

main.bin

M

Backup boot file

backup.bin

B

Secure boot file

secure.bin

S

NOTE:

The application programs for system boot can be type M, B and S, but not type N. You can store them
in Flash memory, but only one for each. For example, if an M+B file exists, it is impossible to have

another M or B file. If you change the file type of another file to B, the M+B file becomes a type M file.

You can modify the name of an application file in storage after the application file is loaded. You cannot
modify the file type of a type S application file, but you can modify the file type of type M/B and N

application files in the BootWare menu or using commands after the application program boots.

Secure boot file is the last resort for system boot. You can download it in the BootWare menu and must
name it secure.bin. However, you cannot modify this file or change the type of another file to S. If you
change the name of the secure boot file with the rename command after the system boots, the file is

removed from CF card. To use the secure boot file after that, you need to download it again.

You can store type M, B, S files in storage media, but only one for each type in each storage medium.
For example, if a type M+B file exists in the Flash memory, there will be no type M or B file. If you change
the type of a file to B, the M+B file will become a type M file.