From bce728719e7f57272d99b6d039f10b4c636fa024 Mon Sep 17 00:00:00 2001 From: Guido Falsi Date: Mon, 6 Nov 2023 13:11:26 +0100 Subject: [PATCH] Add paragraph documenting loader.env functionlity Approved by: docs (carlavilla) Differential Revision: https://reviews.freebsd.org/D42476 --- stand/man/loader.efi.8 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/stand/man/loader.efi.8 b/stand/man/loader.efi.8 index 37f56cf7be3..16165c68556 100644 --- a/stand/man/loader.efi.8 +++ b/stand/man/loader.efi.8 @@ -205,6 +205,14 @@ does not implement the probe .Fl P functionality where we use the video console if a keyboard is connected and a serial console otherwise. +.Ss Additional Environment Variables +.Nm +loads some extra variables early in startup from +.Pa /efi/freebsd/loader.env +from the EFI partition. Only simple variables can be set here. It can be useful to specify the root filesystem: +.Bd -literal -offset indent +rootdev=disk0s1a +.Ed .Ss Staging Slop The kernel must parse the firmware memory map tables to know what memory it can use.