Boot Command


boot [-file filename] [-flags longword[,longword]] [-protocols enet_protocol] [-halt] [boot_device]


Description

Examples
The boot command performs the following functions:

Where:
-file filenameSpecifies the name of a file to load into the system. For booting from Ethernet, this name is limited to 15 characters. Use the set boot_file command to set an environment variable that specifies a default boot file.
-flags dataSpecifies additional information for the operating system. Use the set boot_osflags command to set an environment variable that specifies a default boot flag values.
Tru64 UNIX boot flags.
-protocols enet_protocolSpecifies an Ethernet protocol(s) that will be used for a network boot. Values may be mop or bootp.
-haltForces the bootstrap operation to halt and invoke the console program after the image is loaded and the page tables and other data structures are set up.
boot_deviceSpecifies a device path or list of devices that the firmware will attempt to boot. Use the set bootdef_dev command to set an environment variable that specifies a default boot device.

Boot Command Examples

>>>bootBoots the system from the default boot device.
>>>boot ewa0Boots the system from Ethernet port ewa0.
>>>boot -file dec2.sys ewa0Boots the file named dec2.sys from Ethernet port ewa0.
>>>boot -protocol bootp ewa0Boots using TCP/IP BOOTP protocol from Ethernet post ewa0. (Make sure the environment variables ewa0_protocols and ewa0_inet_init are both set to BOOTP before booting.)
>>>boot -flags aBoots the system from the default boot device using flag settings 0,1.
>>>boot -halt dka0Loads the image from disk dka0, but remains in console mode.
>>> boot Trying MOP boot. ... ... ...Successful boot from a system that is set to secure mode. In this example the boot command is equivalent to:(boot eza0.0.6.0 -file myfile.sys -flags 0)


Tru64 UNIX Boot Flags

Tru64 UNIX boot flags can be stored in the boot_osflags variable or typed in along with the boot command. The possible boot flags for Tru64 UNIX are:

FlagDescription
a
Load OS from the specified boot device. Boot to multiuser mode.
i
Prompt for the name of a file to load and other options (Boot interactively). Boot to single user mode.
s
Stop in single user mode. Boot /vmunix to single user mode and stop at the # (root) prompt.
d
Full dump, implies "s" as well.