5 kbootnsh uefi shell command – Kontron CP3003-V uEFI BIOS User Manual

Page 58

Advertising
background image

The uEFI Shell

CP3003-SA/CP3003-V uEFI BIOS

Page 52

ID 1053-4014, Rev. 2.0

D R A F T — F O R I N T E R N A L U S E O N L Y

6.2.5

kbootnsh uEFI Shell Command

USAGE:

(continued)

Boot from device containing the string "SanDisk":

Shell> kboot -n SanDisk

Boot from first device found that is of type harddrive:

Shell> kboot -t harddrive

Boot from device using the path to the device:

Shell> kboot -p "PciRoot(0x0)/Pci(0x1f,0x2/Sata(0x1,0x0)"

kbootnsh

FUNCTION:

Manage the startup script stored in the flash

SYNTAX:

kbootnsh [-?] [-b] [-d] [[-g] [-p] <filename>]

where:

-b

Display output page by page

-?

Show online help

-g <filename>

Store the current boot script to disk. If there is no phys-
ical disk drive present, the kmkramdisk command
may be used.

-p <filename>

Store the shell script pointed to by filename to flash.

Note: The shell script cannot be larger then 400

bytes.

-d

Delete the current startup script from flash.

DESCRIPTION:

The kbootnsh command manages the flash-stored startup script. If the
shell is launched by the boot process, it executes a shell script stored in
the flash. If the shell script terminates, the shell will continue the boot
process. However, the shell script can of course contain any other boot
command.

USAGE:

Get current startup script to file named boot.nsh

COMMAND / RESPONSE EXAMPLE:

Shell> kbootnsh -g boot.nsh

Store file named boot.nsh to flash:

COMMAND / RESPONSE EXAMPLE:

Shell> kbootnsh -p boot.nsh

Delete startup script:

COMMAND / RESPONSE EXAMPLE:

Shell> kbootnsh -d

kboot

Advertising
This manual is related to the following products: