Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
commandline [2009/03/23 20:24] stefanha |
commandline [2010/01/30 06:54] sha0 Add BusID setting |
||
---|---|---|---|
Line 37: | Line 37: | ||
**chain [image name/URI]** This will fetch, load, then execute either an embedded image or one specified by the URI. Equivalent to **imgfetch**, then **imgload**, and then **imgexec**. | **chain [image name/URI]** This will fetch, load, then execute either an embedded image or one specified by the URI. Equivalent to **imgfetch**, then **imgload**, and then **imgexec**. | ||
- | **imgfree** Remove all fetched/loaded images. | + | **imgfree [image name]** Free one or all executable/loadable images. |
**kernel [-n|--name <image name>] <filename> [arguments]** Fetch and load a bzImage format Linux kernel. Equivalent to an **imgfetch** followed by **imgload**. | **kernel [-n|--name <image name>] <filename> [arguments]** Fetch and load a bzImage format Linux kernel. Equivalent to an **imgfetch** followed by **imgload**. | ||
Line 73: | Line 73: | ||
**root-path** NFS/iSCSI root path. The path to a network root filesystem. Equivalent to DHCP option 17 (Root Path) | **root-path** NFS/iSCSI root path. The path to a network root filesystem. Equivalent to DHCP option 17 (Root Path) | ||
+ | iSCSI root path syntax: iscsi:<servername>:[protocol]:[port]:[LUN]:<targetname> | ||
**username** Username to be used for any authentication. Currently only used by iSCSI. | **username** Username to be used for any authentication. Currently only used by iSCSI. | ||
Line 90: | Line 91: | ||
**dhcp-server** The dhcp server from which settings were obtained | **dhcp-server** The dhcp server from which settings were obtained | ||
- | **dns-server** The DNS server to use for resolving hostnames | + | **dns** The DNS server to use for resolving hostnames |
**next-server** The (TFTP) server from which to obtain files when not specifying an HTTP URL | **next-server** The (TFTP) server from which to obtain files when not specifying an HTTP URL | ||
- | **initiator_iqn_setting** The iSCSI initiator name | + | **initiator-iqn** The iSCSI initiator name |
**<dhcp_opt_num>:<format>** Set a DHCP option by its number (ie. //209:string// for PXELINUX config file override) | **<dhcp_opt_num>:<format>** Set a DHCP option by its number (ie. //209:string// for PXELINUX config file override) | ||
+ | |||
+ | **busid** This yields a five-byte hexadecimal code representing the adapter's bus type, followed by the two-byte vendor ID, followed by the two-byte device ID. This could be handy for fetching an initrd or other RAM disk image containing the OS driver for the particular network adapter. For example: | ||
+ | gPXE> initrd http://webserver/initrd-${net0/busid} | ||
==SMBIOS== | ==SMBIOS== | ||
Read-only access to the system's Systems Management BIOS. Identifiers follow the format <type>.<offset>.<length>:<format>. Example: To read the Manufacturer name, //get smbios/1.4.0:string// will read SMBIOS offset 4 as a string. Valid formats: string, uristring (for URI-friendly string format), ipv4, int8, int16, int32, uint8, uint16, uint32, hex, uuid | Read-only access to the system's Systems Management BIOS. Identifiers follow the format <type>.<offset>.<length>:<format>. Example: To read the Manufacturer name, //get smbios/1.4.0:string// will read SMBIOS offset 4 as a string. Valid formats: string, uristring (for URI-friendly string format), ipv4, int8, int16, int32, uint8, uint16, uint32, hex, uuid |