User`s guide
Changing the Boot Image
568
AlterPath OnSite Administrator’s and User’s Guide
currentimage is changed so that the system boots from the new
image.
• Do a network boot from the image and then save it onto the removable
flash
The U-Boot monitor command net_boot boots the image from the
TFTP server specified in the environment variables. After the image is
downloaded by network boot, the root filesystem is in the RAMDISK,
and the image can run even if no removable flash card is inserted.
From the command line, you can then run the create_cf script with
the --doformat option to automatically save the image from
RAMDISK into the removable flash. The script erases everything in the
flash, partitions the flash, if necessary, formats the partitions, and copies
the files currently in the RAMDISK into the corresponding image
partitions. If the flash is already partitioned, you can choose where the
image is saved using the option --imageN.
Changing the Boot Image
If, for any reason, you want to change to another image from the current one,
if you have access to the Web Manager, you can use the Config → Boot
Configuration screen to select the other image, and then use the “Restart”
button on the Mgmt → Restart screen to boot the OnSite from the new
location.
You have two other options if you cannot access the Web Manager:
• Use the CLI utility
See “To Boot from an Alternate Image Using CLI” on page 568.
• Boot in U-Boot monitor mode and use the available boot commands
See “To Boot in U-Boot Monitor Mode” on page 570.
T To Boot from an Alternate Image Using CLI
1. Connect to the OnSite from a terminal connected to the console port or
create a telnet or ssh connection, and log in as root.
2. Enter the CLI command.
# CLI