BIOS = Basic Input/Output System
Type: Firmware (software permanently stored in hardware)
Location: ROM chip soldered onto the motherboard
Age: Introduced in 1975, used for decades
Purpose: First program that runs when you power on your computer
Power On → BIOS chip activates immediately
POST (Power-On Self-Test) → Checks if hardware components are working
Tests CPU, RAM, keyboard, drives, etc.
You hear beeps if something fails
Hardware Initialization → Activates and configures detected hardware
Boot Device Selection → Looks for bootable devices in order (HDD, USB, CD, Network)
MBR Loading → Reads the Master Boot Record (first 512 bytes of disk)
Hand-off → Transfers control to the bootloader
❌ Uses 16-bit processor mode (slow and outdated) ❌ Supports only MBR partition scheme (max 4 primary partitions) ❌ Can't handle drives larger than 2TB ❌ Limited user interface (usually text-based) ❌ No network/remote management capabilities ❌ No secure boot features (vulnerable to bootkits/rootkits)
UEFI = Unified Extensible Firmware Interface
Type: Modern firmware replacement for BIOS
Introduced: Mid-2000s, became standard around 2010
Developed by: Intel (originally called EFI), now maintained by UEFI Forum
Power On → UEFI firmware initializes
POST → Hardware verification (faster than BIOS)
UEFI Boot Manager → Reads boot configuration from NVRAM
EFI System Partition (ESP) → Looks for bootloader in GPT partition
Bootloader Execution → Runs .efi files directly
.efi
OS Loading → Launches operating system
✅ Uses 32-bit or 64-bit mode (much faster) ✅ Supports GPT partition scheme (128+ partitions) ✅ Handles drives larger than 2TB (up to 9.4 ZB!) ✅ Graphical user interface with mouse support ✅ Network capabilities (remote diagnostics) ✅ Secure Boot → Prevents unauthorized OS loading ✅ Faster boot times ✅ Better hardware compatibility
Feature
BIOS
UEFI
Introduced
1975
2005+
Processor Mode
16-bit
32/64-bit
Partition Scheme
MBR
GPT
Max Partitions
4 primary
128+
Max Disk Size
2 TB
9.4 ZB
Boot Speed
Slower
Faster
Interface
Text-based
Graphical
Security
None
Secure Boot
Boot Process
MBR → Bootloader
ESP → .efi files
Firmware location: ROM chip on motherboard
Boot sector: First 512 bytes of disk (MBR)
Bootloader location: /dev/sda (first sector)
/dev/sda
Firmware location: Flash memory on motherboard
EFI System Partition (ESP): /boot/efi or /efi
/boot/efi
/efi
Bootloader location: /boot/efi/EFI/[distro]/ (e.g., /boot/efi/EFI/ubuntu/grubx64.efi)
/boot/efi/EFI/[distro]/
/boot/efi/EFI/ubuntu/grubx64.efi
Partition type: FAT32 (usually 100-550 MB)
Boot Order: Which device to boot from first (HDD, USB, Network)
Secure Boot: Enable/disable signature verification (UEFI only)
CSM (Compatibility Support Module): Enables BIOS mode on UEFI systems
Fast Boot: Skip some POST checks for faster startup
Virtualization (VT-x/AMD-V): Enable CPU virtualization features
TPM: Trusted Platform Module for encryption
# Check if your system uses UEFI or BIOS
[ -d /sys/firmware/efi ] && echo "UEFI" || echo "BIOS"
# View EFI variables (UEFI systems)
ls /sys/firmware/efi/efivars/
# Check partition scheme
sudo fdisk -l /dev/sda | grep "Disklabel type"
# Output: "gpt" = UEFI/GPT, "dos" = BIOS/MBR
Press during boot: F2, F10, F12, Del, or Esc (varies by manufacturer)
From Linux (UEFI only):
systemctl reboot --firmware-setup
What does BIOS stand for?
Basic Input/Output System
What does UEFI stand for?
Unified Extensible Firmware Interface
Where is BIOS/UEFI firmware physically stored?
On a chip on the motherboard (ROM for BIOS, flash memory for UEFI)
What is POST and when does it occur?
Power-On Self-Test - a diagnostic testing sequence that checks if hardware is functioning properly during system startup, performed by BIOS/UEFI
What partition scheme does traditional BIOS use?
MBR (Master Boot Record)
What partition scheme does UEFI use?
GPT (GUID Partition Table)
What is the maximum disk size supported by BIOS/MBR?
2 TB (Terabytes)
How many primary partitions can MBR support?
4 primary partitions (or 3 primary + 1 extended)
How many partitions can GPT support?
128 or more partitions
What command checks if your Linux system is using UEFI or BIOS?
What is the EFI System Partition (ESP)?
A FAT32 partition (usually 100-550 MB) that stores UEFI bootloaders and is typically mounted at /boot/efi
What is Secure Boot?
A UEFI feature that verifies digital signatures of bootloaders and OS kernels to prevent unauthorized or malicious software from loading during boot
What is the first thing BIOS/UEFI does after powering on?
Performs POST (Power-On Self-Test) to verify hardware functionality
What directory typically contains the EFI System Partition in Linux?
/boot/efi or /efi
What filesystem type is required for the ESP (EFI System Partition)?
FAT32 (vfat)
What is the main advantage of UEFI over BIOS regarding boot speed?
UEFI operates in 32/64-bit mode (vs BIOS's 16-bit mode) and can initialize hardware in parallel, resulting in faster boot times
What command reboots a Linux system directly into UEFI firmware settings?
What does CSM stand for in UEFI settings?
Compatibility Support Module - allows UEFI systems to boot in legacy BIOS mode
What is the primary responsibility of BIOS/UEFI in the Linux boot process?
Detect and initialize hardware, perform POST, and locate/launch the bootloader
How can you check if a disk uses GPT or MBR partition scheme?
sudo fdisk -l /dev/sda | grep "Disklabel type"(Output shows "gpt" for GPT or "dos" for MBR)
What file extension do UEFI bootloaders typically have?
.efi (e.g., grubx64.efi, shimx64.efi)
grubx64.efi
shimx64.efi
In what order does the boot process occur?
BIOS/UEFI → Bootloader → Kernel → Init System (Systemd)
Where are UEFI boot configuration variables stored?
In NVRAM (Non-Volatile RAM) on the motherboard, accessible in Linux at /sys/firmware/efi/efivars/
/sys/firmware/efi/efivars/
What is the typical size of an MBR boot sector?
512 bytes (first sector of the disk)
True or False: UEFI can boot from network locations.
True - UEFI supports PXE (Preboot Execution Environment) for network booting
Zuletzt geändertvor einem Monat