GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  UEFI (8)

NAME

UEFI - Unified Extensible Firmware Interface bootstrapping procedures

CONTENTS

Description
Files
See Also
History
Authors
Caveats

DESCRIPTION

The UEFI Unified Extensible Firmware Interface provides boot- and run-time services to operating systems. UEFI is a replacement for the legacy BIOS on the i386 and amd64 CPU architectures, and is also used on arm64 and ia64.

The UEFI boot process loads system bootstrap code located in an EFI System Partition (ESP). The ESP is a GPT or MBR partition with a specific identifier that contains an msdosfs(5) FAT file system with a specified file hierarchy.
Partition Scheme      ESP Identifier
GPT      C12A7328-F81F-11D2-BA4B-00A0C93EC93B
MBR      0xEF
 

The UEFI boot process proceeds as follows:

  1. UEFI firmware runs at power up and searches for an OS loader in the EFI system partition. The path to the loader may be set by an EFI environment variable. If not set, the default is /EFI/BOOT/BOOTX64.EFI. The default UEFI boot configuration for
    .Fx installs boot1.efi as /EFI/BOOT/BOOTX64.EFI.
  2. boot1.efi reads boot configuration from /boot.config or /boot/config. Unlike other first-stage boot loaders, boot1.efi passes the configuration to the next stage boot loader and does not itself act on the contents of the file.
  3. boot1.efi searches partitions of type freebsd-ufs and freebsd-zfs for loader.efi. The search begins with partitions on the device from which boot1.efi was loaded, and continues with other available partitions. boot1.efi then loads and executes loader.efi.
  4. loader.efi loads and boots the kernel, as described in loader(8).

The vt(4) system console is automatically selected when booting via UEFI.

FILES

/boot/boot1.efi
  First stage UEFI bootstrap
/boot/boot1.efifat
  msdosfs(5) FAT file system image containing boot1.efi for use by bsdinstall(8) and the bootcode argument to gpart(8).
/boot/loader.efi
  Final stage bootstrap
/boot/kernel/kernel
  default kernel
/boot/kernel.old/kernel
  typical non-default kernel (optional)

SEE ALSO

vt(4), boot.config(5), msdosfs(5), boot(8), gpart(8), uefisign(8)

HISTORY

UEFI boot support first appeared in
.Fx 10.1 .

AUTHORS


.An -nosplit UEFI boot support was developed by
.An Benno Rice Aq Mt benno@FreeBSD.org ,
.An Ed Maste Aq Mt emaste@FreeBSD.org , and
.An Nathan Whitehorn Aq Mt nwhitehorn@FreeBSD.org . The
.Fx Foundation sponsored portions of the work.

CAVEATS

EFI environment variables are not supported by loader(8) or the kernel.
Search for    or go to Top of page |  Section 8 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.