diff options
| author | Maxim Sobolev <sobomax@FreeBSD.org> | 2016-04-08 00:24:21 +0000 |
|---|---|---|
| committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2016-04-08 00:24:21 +0000 |
| commit | 88a8e56bbc3439b1a01a81ea7c76ca8ae4d2c2a8 (patch) | |
| tree | 031fc94c5d95d6637e1d417d4fa1fc868f7551f1 /sys/boot/forth | |
| parent | 43b227c89f52a3b054ee35c6534a9e3470b6d228 (diff) | |
Notes
Diffstat (limited to 'sys/boot/forth')
| -rw-r--r-- | sys/boot/forth/loader.conf.5 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sys/boot/forth/loader.conf.5 b/sys/boot/forth/loader.conf.5 index 0320e988cdfd..631250c5278c 100644 --- a/sys/boot/forth/loader.conf.5 +++ b/sys/boot/forth/loader.conf.5 @@ -112,6 +112,31 @@ The name must be a subdirectory of that contains a kernel. .It Ar kernel_options Flags to be passed to the kernel. +.It Ar vfs.root.mountfrom +Specify the root partition to mount. +For example: +.Pp +.Dl vfs.root.mountfrom="ufs:/dev/da0s1a" +.Pp +.Xr loader 8 +automatically calculates the value of this tunable from +.Pa /etc/fstab +from the partition the kernel was loaded from. +The calculated value might be calculated incorrectly when +.Pa /etc/fstab +is not available during +.Xr loader 8 +startup (as during diskless booting from NFS), or if a different +device is desired by the user. +The preferred value can be set in +.Pa /loader.conf . +.Pp +The value can also be overridden from the +.Xr loader 8 +command line. +This is useful for system recovery when +.Pa /etc/fstab +is damaged, lost, or read from the wrong partition. .It Ar password Protect boot menu with a password without interrupting .Ic autoboot |
