Editing UEFI

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 9: Line 9:
 
==Description==
 
==Description==
  
The [https://www.freebsd.org/cgi/man.cgi?query=uefi&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports UEFI] Unified Extensible Firmware Interface provides boot- and runtime services to operating systems.  UEFI is a replacement for the legacy  BIOS on the i386 and amd64 CPU architectures, and is also used on arm,    arm64 and ia64.
+
The UEFI Unified Extensible Firmware Interface provides boot- and runtime services to operating systems.  UEFI is a replacement for the legacy  BIOS on the i386 and amd64 CPU architectures, and is also used on arm,    arm64 and ia64.
  
 
The UEFI specification is the successor to the Extensible Firmware Interface (EFI) specification. The terms are often used interchangeably.
 
The UEFI specification is the successor to the Extensible Firmware Interface (EFI) specification. The terms are often used interchangeably.
  
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 [https://www.freebsd.org/cgi/man.cgi?query=msdosfs&sektion=5&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports msdosfs(5)] FAT file system with a specified  file hierarchy.
+
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.
  
 
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px"  
 
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px"  
Line 25: Line 25:
 
|}
 
|}
  
The UEFI boot process proceeds as follows<br/>
+
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 beset by an EFI environment variable.  If not set, an architecture-specific default is used.
 
1. UEFI firmware runs at power up and searches for an OS loader in the EFI system partition.  The path to the loader may beset by an EFI environment variable.  If not set, an architecture-specific default is used.
  
Line 40: Line 39:
  
 
The default UEFI boot configuration for FreeBSD installs boot1.efi in the default path.
 
The default UEFI boot configuration for FreeBSD installs boot1.efi in the default path.
 
 
2.  boot1.efi reads boot configuration from /boot.config or /boot/config.  Unlike other first-stage boot loaders,
 
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.
 
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
 
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.  If both freebsd-ufs and
 
on the device from which boot1.efi was loaded, and continues with other available partitions.  If both freebsd-ufs and
 
freebsd-zfs partitions exist on the same device the freebsd-zfs partition is preferred.  boot1.efi then loads and
 
freebsd-zfs partitions exist on the same device the freebsd-zfs partition is preferred.  boot1.efi then loads and
 
executes loader.efi.
 
executes loader.efi.
 
+
4. loader.efi loads and boots the kernel, as described in loader(8).
4. loader.efi loads and boots the kernel, as described in [https://www.freebsd.org/cgi/man.cgi?query=loader&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports loader(8)].
+
  
 
The [https://www.freebsd.org/cgi/man.cgi?query=vt&sektion=4&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports vt(4)] system console is automatically selected when booting via UEFI.
 
The [https://www.freebsd.org/cgi/man.cgi?query=vt&sektion=4&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports vt(4)] system console is automatically selected when booting via UEFI.

Please note that all contributions to GhostBSD Wiki are considered to be released under the Creative Commons Attribution (see GhostBSD Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)