Dell UEFI User Manual

Boot Mode Considerations: BIOS vs. UEFI

An overview of differences between UEFI Boot Mode and traditional BIOS Boot Mode

Dell Engineering

June 2018

Dell UEFI User Manual

Revisions

Date

Description

 

 

October 2017

Initial release

 

 

June 2018

Added DHCP Server PXE configuration details.

 

 

The information in this publication is provided “as is.” Dell Inc. makes no representations or warranties of any kind with respect to the information in this publication, and specifically disclaims implied warranties of merchantability or fitness for a particular purpose.

Use, copying, and distribution of any software described in this publication requires an applicable software license.

Copyright © 2017 Dell Inc. or its subsidiaries. All Rights Reserved. Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be the property of their respective owners. Published in the USA [1/15/2020] [Deployment and Configuration Guide] [Document ID]

Dell believes the information in this document is accurate as of its publication date. The information is subject to change without notice.

2

: BIOS vs. UEFI | Doc ID 20444677 | June 2018

Table of contents

 

Revisions.............................................................................................................................................................................

 

2

Executive Summary ............................................................................................................................................................

4

1 Introduction...................................................................................................................................................................

5

2 Comparing UEFI and Traditional BIOS ........................................................................................................................

6

2.1

Partitioning Scheme for Boot Media ...................................................................................................................

6

2.2

Handoff from BIOS to Operating System ...........................................................................................................

6

2.3

User Interfaces for Firmware ..............................................................................................................................

6

2.4

Resource Allocation for Boot Device Firmware..................................................................................................

7

3 Features Requiring UEFI Boot Mode ...........................................................................................................................

8

3.1

UEFI Secure Boot...............................................................................................................................................

8

3.2

Boot to Non-Volatile Memory Express (NVMe) Devices ....................................................................................

8

3.3

Boot to Uniform Resource Identifier (URI)..........................................................................................................

8

4 Configuration Settings for UEFI Boot Mode .................................................................................................................

9

4.1

UEFI Boot Settings .............................................................................................................................................

9

4.2

UEFI Boot from Local Media ............................................................................................................................

12

4.3

UEFI PXE Boot Configuration ..........................................................................................................................

12

4.3.1

PXE Client Configuration..................................................................................................................................

13

4.3.2

PXE Server Configuration .................................................................................

Error! Bookmark not defined.

4.4

UEFI HTTP Boot Configuration (Boot from URI)..............................................................................................

15

4.4.1

HTTP Boot Client Configuration .......................................................................................................................

16

4.4.2

HTTP Boot Server Configuration......................................................................................................................

17

4.5

UEFI iSCSI Boot Configuration ........................................................................................................................

17

4.5.1

UEFI iSCSI Initiator Configuration ....................................................................................................................

17

4.5.2

iSCSI Target Configuration...............................................................................................................................

21

4.6

UEFI Secure Boot Configuration ......................................................................................................................

21

4.7

Integrated Device Firmware .............................................................................................................................

21

5 Technical support and resources ...............................................................................................................................

23

5.1

Related resources ............................................................................................................................................

23

3

: BIOS vs. UEFI | Doc ID 20444677 | June 2018

Executive Summary

Dell EMC servers provide the option of using the traditional BIOS boot mode or UEFI boot mode. The boot mode determines how the system BIOS interacts with adapter card firmware and operating system software. Specific security features and boot mechanisms are available only when the system is configured for UEFI boot mode.

This Dell EMC Deployment and Configuration Guide has two goals. First, it informs readers of the benefits and shortcomings of the two boot modes, so they can choose the boot mode that is best for their environment. Second, this paper provides an overview of the configuration needed to use UEFI boot mode. It is assumed that the reader is familiar with the traditional BIOS boot mode, and likely has existing infrastructure that uses BIOS boot mode. This paper outlines changes needed to support UEFI boot mode in an existing datacenter infrastructure.

4

: BIOS vs. UEFI | Doc ID 20444677 | June 2018

1 Introduction

Traditionally, the system BIOS performs initialization, boot, system management, and configuration tasks. The

BIOS initializes the system’s processors, memory, bus controllers, and I/O devices. After initialization is complete, the BIOS passes control to operating system (OS) software. The OS loader uses basic services provided by the system BIOS to locate and load OS modules into system memory. After booting the system, the BIOS and embedded management controllers execute system management algorithms, which monitor and optimize the condition of the underlying hardware. BIOS configuration settings enable fine-tuning of the performance, power management, and reliability features of the system.

The Unified Extensible Firmware Interface (UEFI) does not change the traditional purposes of the system BIOS. To a large extent, a UEFI-compliant BIOS performs the same initialization, boot, configuration, and management tasks as a traditional BIOS. However, UEFI does change the interfaces and data structures the BIOS uses to interact with I/O device firmware and operating system software. The primary intent of UEFI is to eliminate shortcomings in the traditional BIOS environment, enabling system firmware to continue scaling with industry trends.

Since 2010, Dell EMC has offered servers that support both the traditional BIOS boot mode and UEFI boot mode. However, the system administrator must choose the boot mode before deploying the server to its operating environment. This paper helps system administrators understand the implications of each boot mode. First, the paper explains the limitations of the traditional BIOS that UEFI resolves. Next, it describes functionality that is available in UEFI boot mode that is not available in BIOS boot mode. Finally, the paper provides considerations for deploying a server in UEFI boot mode in the midst of a traditional datacenter infrastructure.

5

: BIOS vs. UEFI | Doc ID 20444677 | June 2018

2 Comparing UEFI and Traditional BIOS

This sections explains how UEFI corrects certain shortcomings in traditional BIOS implementations. The UEFI boot mode offers:

Improved Partitioning scheme for boot media o Support for media larger than 2 TB o Redundant partition tables

Flexible handoff from BIOS to OS

Consolidated firmware user interface

Enhanced resource allocation for boot device firmware

2.1Partitioning Scheme for Boot Media

Traditional BIOS implementations use the Master Boot Record (MBR) scheme for partitioning boot media. Because it uses 32-bit addressing and 512-byte blocks, the MBR scheme limits the addressable storage in the boot media to 2 TB. The MBR scheme also limits the number of partitions to four, and expects bootstrap code to reside at specific locations in the media.

UEFI defines an improved partitioning scheme known as a GUID Partition Table (GPT). The GPT scheme uses 64-bit addressing, so the boot media can be much larger than 2 TB. Each entry in the table is identified by a 128-bit Globally Unique Identifier (GUID), so the scheme supports a large number of partitions. Bootstrap code is no longer required at fixed locations, and a backup partition table provides redundancy.

2.2Handoff from BIOS to Operating System

After performing system initialization, the BIOS attempts to transfer control to an operating system. Traditional BIOS implementations maintain a prioritized list (“boot order”) of bootable media in the system, and attempt to launch boot software according to the list of media. For each entry in the list, the BIOS loads bootstrap code from a well-known location and passes control to it; if the attempt fails, the BIOS attempts subsequent entries in the list.

UEFI implementations also maintain a boot order, but each entry corresponds to an individual file instead of an entire bootable medium. This scheme allows for one medium (such as a hard disk) to contain multiple boot order entries (for example, multiple operating system loaders). Since each entry specifies the location of the boot file, UEFI also supports booting via Uniform Resource Identifiers (URIs).

Unlike traditional BIOS implementations, all bootable files (executable bootstrap images) must be formatted according to the Portable Executable / Common Object File Format (PE/COFF). This requirement applies to any code executed by the BIOS, including device firmware (traditionally called “option ROMs”), pre-boot execution environment (PXE) boot programs, and operating system loaders.

2.3User Interfaces for Firmware

In a traditional BIOS, each boot device provides a separate user interface for its configuration settings. For example, a network boot device provides one interface for PXE settings, and a storage controller provides a

6

: BIOS vs. UEFI | Doc ID 20444677 | June 2018

separate interface for hard-disk or RAID configuration. Most boot devices require a system reboot after any firmware change, so system configuration requires multiple boots.

UEFI defines a shared user interface known as the Human Interface Infrastructure (HII). A user can configure all the firmware settings - including BIOS, onboard management controller, and boot devices – using a single user interface, without needing a reboot between changes for each device. HII also facilitates remote configuration of all firmware settings via baseboard management controller interfaces.

2.4Resource Allocation for Boot Device Firmware

Traditional BIOS implementations offer limited memory space for boot device firmware. Boot devices such as storage controllers and network interface controllers require increasing amounts of memory to execute their firmware during the boot process. When a system contains multiple boot devices, a traditional BIOS may not allocate enough memory space for all of the device firmware to execute.

UEFI eliminates this limitation by defining standard interfaces for memory management. In UEFI boot mode, boot devices use these interfaces to request memory space from the BIOS memory manager. When a system contains multiple boot devices, UEFI boot mode allocates memory on-demand for each device’s firmware.

7

: BIOS vs. UEFI | Doc ID 20444677 | June 2018

Loading...
+ 16 hidden pages