Handling the startup script in the flash bank, The uefi shell cp6003-sa/ra/rc uefi bios – Kontron CP6003-RC uEFI BIOS User Manual

Page 62

Advertising
background image

The uEFI Shell

CP6003-SA/RA/RC uEFI BIOS

Page 62

ID 1045-9149, Rev. 2.0

P R E L I M I N A R Y

6.3.3.5

Handling the Startup Script in the Flash Bank

In case there is no mass storage device attached, the startup script can be generated in a RAM
disk and stored in the flash bank using the following instructions:

4. Press <ESC> during power-up to log into the uEFI Shell.

5. Create a RAM disk and set the proper working directory as shown below:

6. Enter the sample start-up script mentioned above in this section using the edit uEFI Shell

command.

7. Save the start-up script to the uEFI flash bank using the kbootnsh uEFI Shell command.

8. Reset the board to execute the newly installed script using the reset uEFI Shell com-

mand.

9. If a script is already installed, it can be edited using the following kbootnsh uEFI Shell

commands.

Shell> kmkramdisk -s 3 myramdisk

Shell> myramdisk:

myramdisk:\> edit boot.nsh

myramdisk:\> kbootnsh -p boot.nsh

myramdisk:\> reset

myramdisk:\> kbootnsh -g boot.nsh

myramdisk:\> edit boot.nsh

Advertising
This manual is related to the following products: