diff options
author | brian <brian@FreeBSD.org> | 2004-07-08 13:40:33 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2004-07-08 13:40:33 +0000 |
commit | 2821a50eaafae3e4c7204aef9e58c6f40d221bbb (patch) | |
tree | ebac46b3b358807a8144fabd366380413a43366c /sys/boot/common/loader.8 | |
parent | 7c245468ef2fa07526f2540ec91012b5c7f4e9c8 (diff) | |
download | FreeBSD-src-2821a50eaafae3e4c7204aef9e58c6f40d221bbb.zip FreeBSD-src-2821a50eaafae3e4c7204aef9e58c6f40d221bbb.tar.gz |
Change the following kernel options to environment variables:
BOOTP -> bootp
BOOTP_NFSROOT -> bootp.nfsroot
BOOTP_NFSV3 -> bootp.nfsv3
BOOTP_COMPAT -> bootp.compat
BOOTP_WIRED_TO -> bootp.wired_to
This lets you PXE boot with a GENERIC kernel by putting this sort of thing
in loader.conf:
bootp="YES"
bootp.nfsroot="YES"
bootp.nfsv3="YES"
bootp.wired_to="bge1"
or even setting the variables manually from the OK prompt.
Diffstat (limited to 'sys/boot/common/loader.8')
-rw-r--r-- | sys/boot/common/loader.8 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys/boot/common/loader.8 b/sys/boot/common/loader.8 index a77a828..958b33b 100644 --- a/sys/boot/common/loader.8 +++ b/sys/boot/common/loader.8 @@ -352,6 +352,29 @@ by the kernel during the boot phase. List of semicolon-separated search path for bootable kernels. The default is .Dq Li kernel;kernel.old . +.It Va bootp +Setting this variable tells the kernel to use BOOTP to obtain an IP address +and hostname at boot time. +The kernel must be built with +.Dv NFSCLIENT +and +.Dv NFS_ROOT +defined. +.It Va bootp.compat +Setting this variable enables a workaround for broken BOOTP daemons. +.It Va bootp.nfsroot +Setting this variable tells the kernel to NFS mount the root filesystem using +BOOTP information. +.It Va bootp.nfsv3 +Setting this variable tells the kernel to use NFS version 3 to mount the root +filesystem. +.It Va bootp.wired_to +This variable may be set to the name of the interface that is to be used to +boot from when +.Va bootp +is set. +If it is not set, the system will attempt to boot from all available +interfaces, using the first one found. .It Va console Defines the current console. .It Va currdev |