
/flash/crsh2/
directory on the device. You can view the contents of this file through the CLI, but you
cannot modify the file.
Understanding the boot.sys File
The system uses the boot.sys file to store the prioritized boot stack parameters and file groups the system uses
during startup. Modify this file only through system CLI commands and not through external means. Boot
parameters contain information the system needs to locate the operating system image file, including:
•
bootmode
: This setting is typically configured to normal, and identifies how the system starts.
•
boot stack information
: The boot stack is made up of prioritized file group entries that designate the
operating system image file and the CLI configuration file to load.
When a system is started for the first time, the boot.sys file is configured to use the normal boot mode and
load the operating system software image from the /flash directory.
There is no CLI configuration file contained on the local file system. This causes the system to automatically
start its CLI-based Quick Setup Wizard upon the first successful boot. Refer to
Getting Started
for more
information on using the Quick Setup Wizard.
Maintaining the Local File System
Use CLI commands to manage and maintain the devices that make up the local file system. Execute all the
commands described in this section in the Exec Mode. Unless otherwise specified, you must have security
administrator or administrator privileges to execute these commands.
File System Management Commands
Use the commands in this section to manage and organize the local file system.
For complete information on the commands listed below, see the
Exec Mode Commands
chapter of the
Command Line Interface Reference.
Important
Creating Directories
Use the
mkdir
command to create a new directory on the specific local device. This directory can then be
incorporated as part of the path name for any file located in the local file system.
[local]
host_name
#
mkdir { /flash | /usb1 | /hd-raid } /dir_name
Use the following command to create a directory named
configs
:
[local]
host_name
#
mkdir /flash/configs
ASR 5500 System Administration Guide, StarOS Release 21.5
86
Software Management Operations
Understanding the boot.sys File