SlideShare a Scribd company logo
4
Most read
6
Most read
7
Most read
Boot process
BIOS vs UEFI
Concepts about booting a computer: the test
BIOS
EFI,UEFI
MBR
GPT
SECURE BOOT
ESP
FAT32
BIOS
1. POST(Power-On Self Test): gets a list of the available boot devices.
2. Add-On ROMs: RAID, Video Card, etc..
3. Allow to modify settings.
4. Load into memory the MBR(512 bytes) form the first hard disk, start the bootloading process
BIOS/MBR Boot process
First stage: loads bootstrap code in the MBR.
It looks up the active partition from the partition table
and load the bootsector (512 bytes) into memory.
Second stage: loads the bootstrap section in the
partition bootsector. It looks up a file stored on the
partition itself.
Last stage: loads this file who loads the SO
MBR partition table limitations
● Can manage up to 2TB disk space.
● Up to 4 primary partitions. Hack: use 1 extended partition with 4 logical
partitions inside.
● The OS communication with BIOS is thought interruptions.
GPT partition table improvements
● Can manage up to more the 9ZB: (TB->PB->EB->ZB)
● 128 primary partitions
UEFI SPECIFICATION
● Based in EFI which was developed by Intel.
● Released in 2005. Specification manage by UEFI Forum, http://uefi.org/members
● Requires the firmware to interpret GPT partition table but also MBR for BIOS
compatibility mode.
● Defines a new GPT partition type: ESP (EFI System Partition), accessible by
both the firmware and the OS
● Defines the UEFI boot manager who load UEFI drivers and UEFI bootloader
at boot time.
● Provides efibootmgr, a tool to configure the system boot behaviour from a
booted OS.
UEFI BOOT MANAGER
[root@system directory]# efibootmgr -v
BootCurrent: 0002
Timeout: 3 seconds
BootOrder: 0003,0002,0000,0004
Boot0000* CD/DVD Drive BIOS(3,0,00)
Boot0001* Hard Drive HD(2,0,00)
Boot0002* Fedora HD(1,800,61800,6d98f360-cb3e-4727-8fed-5ce0c040365d)File(EFIfedoragrubx64.efi)
Boot0003* opensuse HD(1,800,61800,6d98f360-cb3e-4727-8fed-5ce0c040365d)File(EFIopensusegrubx64.efi)
Boot0004* Hard Drive BIOS(2,0,00)P0: ST1500DM003-9YN16G
Disk boot targets can be defined but also non-disk targets as PXE server.
Disk boot targets:
● BIOS compatibility boot entries: 0000,0004. Autogenerated by the firmware.
● “Fall backpath” native UEFI entries: 0001. The firmware will look through each ESP partition in the
disk, in the order they exist, and look for EFIBOOTBOOT{machine type short-name}.EFI: BOOT64.EFI
(x86-64)BOOTIA32.EFI (x86-32)
● Full native UEFI entries: 0002,0003. When you do a native UEFI OS install, the operating system
install a bootloader which loads the OS kernel and so on to an EFI system partition, and add an
entry to the UEFI boot manager configuration with a name and the location of the bootloader (in EFI
executable format) that is intended for loading that operating system.
UEFI/GPT BOOT PROCESS
SECURE BOOT
The firmware can contain a set of signatures, and refuse to run any EFI executable which is not signed
with one of those signatures.
Computers complying with the requirements must:
● Ship with Secure Boot turned on (except for servers)
● Have Microsoft’s key in the list of keys they trust
● Disable BIOS compatibility mode when Secure Boot is enabled (actually the UEFI spec requires this
too, if I read it correctly)
● Support signature blacklisting
● X86 computers must allow a physically present person who can disable Secure Boot and also can
enable Custom Mode, and modify the list of keys the firmware trusts
● ARM computers must NOT allow a physically present person who can disable Secure Boot and also
can NOT enable Custom Mode, and modify the list of keys the firmware trusts
Concepts about booting a computer: the solution
BIOS : type of firmware
EFI,UEFI: type of firmware
MBR: Type of partition table
GPT: type of partition table
SECURE BOOT: An extension of the UEFI specification
ESP: type of partition
FAT32: type of partition

More Related Content

PPTX
What is a secure enterprise architecture roadmap?
PPT
Aix overview
PPTX
PRESTIGE SHANTINIKETAN, WHITEFIELD, BENGALURU
PPT
SDH Principle - Huawei
PPTX
BIOS basic input output system
PDF
QEMU Disk IO Which performs Better: Native or threads?
PDF
Virtualization Architecture & KVM
PDF
Virtualization with KVM (Kernel-based Virtual Machine)
What is a secure enterprise architecture roadmap?
Aix overview
PRESTIGE SHANTINIKETAN, WHITEFIELD, BENGALURU
SDH Principle - Huawei
BIOS basic input output system
QEMU Disk IO Which performs Better: Native or threads?
Virtualization Architecture & KVM
Virtualization with KVM (Kernel-based Virtual Machine)

What's hot (20)

PPTX
Uefi and bios
PPTX
Unified Extensible Firmware Interface (UEFI)
PDF
Lecture 8 disk management
PDF
Uboot startup sequence
PDF
Linux Porting
PDF
Arm device tree and linux device drivers
PPTX
Disk management / hard drive partition management / create drive or partition...
PPT
PPTX
System Booting Process overview
PDF
PPTX
Bios vs uefi
PDF
Linux boot process
PPT
Bios and cmos
PDF
Linux LVM Logical Volume Management
PPT
Linux Booting Steps
PPTX
Linux Device Tree
PDF
Understanding The Boot Process
PDF
Introduction to Modern U-Boot
Uefi and bios
Unified Extensible Firmware Interface (UEFI)
Lecture 8 disk management
Uboot startup sequence
Linux Porting
Arm device tree and linux device drivers
Disk management / hard drive partition management / create drive or partition...
System Booting Process overview
Bios vs uefi
Linux boot process
Bios and cmos
Linux LVM Logical Volume Management
Linux Booting Steps
Linux Device Tree
Understanding The Boot Process
Introduction to Modern U-Boot
Ad

Viewers also liked (20)

PPT
ODP
Description of GRUB 2
PDF
UEFI presentation
PPTX
Bios uefi y legacy
PPTX
Implementing a UEFI BIOS into an Embedded System
PPTX
UEFI Spec Version 2.4 Facilitates Secure Update
ODP
5. boot process
PPT
Spring Boot with Quartz
PPTX
Kernel I/O subsystem
PDF
Disk allocation methods
PPT
Memory management
PPT
Operating systems
PPT
Registers
PDF
Docker allocating resources
PDF
Booting & shut down,
PPTX
Cpu registers
PPT
File access methods.54
PPTX
Real time Operating System
PPTX
Real Time OS For Embedded Systems
Description of GRUB 2
UEFI presentation
Bios uefi y legacy
Implementing a UEFI BIOS into an Embedded System
UEFI Spec Version 2.4 Facilitates Secure Update
5. boot process
Spring Boot with Quartz
Kernel I/O subsystem
Disk allocation methods
Memory management
Operating systems
Registers
Docker allocating resources
Booting & shut down,
Cpu registers
File access methods.54
Real time Operating System
Real Time OS For Embedded Systems
Ad

Similar to Boot process: BIOS vs UEFI (20)

DOCX
Review paper on bios vs uefi
PPT
BOOTING.ppt
PDF
Grub2 Booting Process
PPTX
Boot_Loaders.pptx
PPTX
COC. 1 COMPUTER SYSTEM SPECIFICATIONS-BIOS.pptx
PDF
Bootkits: past, present & future
PPTX
Chapter II - OS installation-Virtualization.pptx
DOCX
Module 5 raw
PDF
Bootkits: Past, Present & Future - Virus Bulletin
PPTX
Ict resources
DOCX
bios.docx
PPTX
Sorage & pc booting ppt prabu
ODP
Basics of boot-loader
PPTX
BIOS__Power-On-Self-Test.pptx
PPTX
BIOS-UEFI.pptxpppppppppppppppptttxxxxxxxxxx
PDF
Booting from gpt
PPTX
Bootloaders (U-Boot)
PDF
File000124
PDF
Distro Recipes 2013: Secure Boot and Linux: several issues, one solution
PPTX
CSA-113-personal-computeasdaasdasdasr.pptx
Review paper on bios vs uefi
BOOTING.ppt
Grub2 Booting Process
Boot_Loaders.pptx
COC. 1 COMPUTER SYSTEM SPECIFICATIONS-BIOS.pptx
Bootkits: past, present & future
Chapter II - OS installation-Virtualization.pptx
Module 5 raw
Bootkits: Past, Present & Future - Virus Bulletin
Ict resources
bios.docx
Sorage & pc booting ppt prabu
Basics of boot-loader
BIOS__Power-On-Self-Test.pptx
BIOS-UEFI.pptxpppppppppppppppptttxxxxxxxxxx
Booting from gpt
Bootloaders (U-Boot)
File000124
Distro Recipes 2013: Secure Boot and Linux: several issues, one solution
CSA-113-personal-computeasdaasdasdasr.pptx

More from Alea Soluciones, S.L. (9)

PDF
JavaScript, qué hermoso eres
PDF
Introducción a sysdig
PDF
Tests funcionales con Geb
PDF
Introduction to Connascence
PDF
Continuous Integration
PDF
PDF
Twelve factor apps
PDF
Presentación CAS 2016: Alineando valores y principios con prácticas técnicas
PDF
Taller PyConEs 2016: Introducción a TDD
JavaScript, qué hermoso eres
Introducción a sysdig
Tests funcionales con Geb
Introduction to Connascence
Continuous Integration
Twelve factor apps
Presentación CAS 2016: Alineando valores y principios con prácticas técnicas
Taller PyConEs 2016: Introducción a TDD

Recently uploaded (20)

PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
cuic standard and advanced reporting.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Empathic Computing: Creating Shared Understanding
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PPT
Teaching material agriculture food technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Machine learning based COVID-19 study performance prediction
PDF
Modernizing your data center with Dell and AMD
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Advanced Soft Computing BINUS July 2025.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Dropbox Q2 2025 Financial Results & Investor Presentation
cuic standard and advanced reporting.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Empathic Computing: Creating Shared Understanding
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
MYSQL Presentation for SQL database connectivity
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
Teaching material agriculture food technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Machine learning based COVID-19 study performance prediction
Modernizing your data center with Dell and AMD
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
GamePlan Trading System Review: Professional Trader's Honest Take
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Advanced Soft Computing BINUS July 2025.pdf

Boot process: BIOS vs UEFI

  • 2. Concepts about booting a computer: the test BIOS EFI,UEFI MBR GPT SECURE BOOT ESP FAT32
  • 3. BIOS 1. POST(Power-On Self Test): gets a list of the available boot devices. 2. Add-On ROMs: RAID, Video Card, etc.. 3. Allow to modify settings. 4. Load into memory the MBR(512 bytes) form the first hard disk, start the bootloading process
  • 4. BIOS/MBR Boot process First stage: loads bootstrap code in the MBR. It looks up the active partition from the partition table and load the bootsector (512 bytes) into memory. Second stage: loads the bootstrap section in the partition bootsector. It looks up a file stored on the partition itself. Last stage: loads this file who loads the SO
  • 5. MBR partition table limitations ● Can manage up to 2TB disk space. ● Up to 4 primary partitions. Hack: use 1 extended partition with 4 logical partitions inside. ● The OS communication with BIOS is thought interruptions. GPT partition table improvements ● Can manage up to more the 9ZB: (TB->PB->EB->ZB) ● 128 primary partitions
  • 6. UEFI SPECIFICATION ● Based in EFI which was developed by Intel. ● Released in 2005. Specification manage by UEFI Forum, http://uefi.org/members ● Requires the firmware to interpret GPT partition table but also MBR for BIOS compatibility mode. ● Defines a new GPT partition type: ESP (EFI System Partition), accessible by both the firmware and the OS ● Defines the UEFI boot manager who load UEFI drivers and UEFI bootloader at boot time. ● Provides efibootmgr, a tool to configure the system boot behaviour from a booted OS.
  • 7. UEFI BOOT MANAGER [root@system directory]# efibootmgr -v BootCurrent: 0002 Timeout: 3 seconds BootOrder: 0003,0002,0000,0004 Boot0000* CD/DVD Drive BIOS(3,0,00) Boot0001* Hard Drive HD(2,0,00) Boot0002* Fedora HD(1,800,61800,6d98f360-cb3e-4727-8fed-5ce0c040365d)File(EFIfedoragrubx64.efi) Boot0003* opensuse HD(1,800,61800,6d98f360-cb3e-4727-8fed-5ce0c040365d)File(EFIopensusegrubx64.efi) Boot0004* Hard Drive BIOS(2,0,00)P0: ST1500DM003-9YN16G Disk boot targets can be defined but also non-disk targets as PXE server. Disk boot targets: ● BIOS compatibility boot entries: 0000,0004. Autogenerated by the firmware. ● “Fall backpath” native UEFI entries: 0001. The firmware will look through each ESP partition in the disk, in the order they exist, and look for EFIBOOTBOOT{machine type short-name}.EFI: BOOT64.EFI (x86-64)BOOTIA32.EFI (x86-32)
  • 8. ● Full native UEFI entries: 0002,0003. When you do a native UEFI OS install, the operating system install a bootloader which loads the OS kernel and so on to an EFI system partition, and add an entry to the UEFI boot manager configuration with a name and the location of the bootloader (in EFI executable format) that is intended for loading that operating system. UEFI/GPT BOOT PROCESS
  • 9. SECURE BOOT The firmware can contain a set of signatures, and refuse to run any EFI executable which is not signed with one of those signatures. Computers complying with the requirements must: ● Ship with Secure Boot turned on (except for servers) ● Have Microsoft’s key in the list of keys they trust ● Disable BIOS compatibility mode when Secure Boot is enabled (actually the UEFI spec requires this too, if I read it correctly) ● Support signature blacklisting ● X86 computers must allow a physically present person who can disable Secure Boot and also can enable Custom Mode, and modify the list of keys the firmware trusts ● ARM computers must NOT allow a physically present person who can disable Secure Boot and also can NOT enable Custom Mode, and modify the list of keys the firmware trusts
  • 10. Concepts about booting a computer: the solution BIOS : type of firmware EFI,UEFI: type of firmware MBR: Type of partition table GPT: type of partition table SECURE BOOT: An extension of the UEFI specification ESP: type of partition FAT32: type of partition