

UEFI v/s BIOS
source link: https://blog.knoldus.com/uefi-v-s-bios/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

BIOS and UEFI are two of a kind, but completely different from each other. They serve one major purpose: booting the machine and they do it in different ways and with different options. Without them, all your hardware and the very machine you’re reading this blog on, wouldn’t even start. But what are the differences? And why are they mutually exclusive?
BIOS
BIOS stands for Basic Input Output System. It is a special type of software called firmware stored on the motherboard. When the power button is pressed BIOS is the first software that runs.
It is responsible for mainly 3 things:
- Performing POST (Power On Self Test)
- Basic IO
- Booting
BIOS still works in the 16-bit realm. Most BIOS can only boot from an MBR(Master Boot Record) partitioned disk. MBR only supports up to 2TB partitions. This means it won’t recognize the disk past 2TB. We can use GPT(GUID Partition Table) for disks bigger than 2TB. The only problem is that most BIOS does not support GPT.
This means if we have a 3TB disk, we will not be able to completely use it with BIOS.
UEFI
Unified Extensible Firmware Interface in short UEFI, is low-level software that starts when you boot your PC before booting your operating system like BIOS. It aims to resolve what BIOS could not.
A UEFI can (in addition to what a BIOS can):
- Can Boot from a disk larger than 2 TB using GPT.
- Provides the user with a graphical user interface, which is easy to use than the old terminal interface in BIOS
- Provide mouse support. (BIOS can rarely do this)
Some of the technical advantages of using UEFI are:
- Secure Boot: UEFI Secure Boot is an optional setting that enforces signature checking of the boot process. When the PC starts, the firmware checks the signature of each piece of boot software, including UEFI firmware drivers, EFI applications, and the operating system. If the signatures are valid, the PC boots and the firmware gives control to the operating system. In this way, a system can guard against malicious attacks, rootkits, and unauthorized software updates that could happen prior to the OS launching.
- GUID Partition Table (GPT): Support GPT replaces the obsolete Master Boot Record (MBR) partition scheme. GPT allows for storage media boot partitions greater than 2 TB in size, more than 4 partitions (up to 128), and the use of newer storage media such as PCI Express devices. It also improves data integrity through redundant disk layout structures.
- Platform and Architecture Independence: UEFI supports x86, x86_64, ARM, ARM64, PowerPC, Itanium, and other architectures. UEFI can also be emulated via hypervisors like Hyper-V, VMware, Xen, KVM, and others. UEFI simplifies device management through a homogeneous firmware experience.
- Consistent Variables and Services: A standardized set of variables, services, and drivers are common to all UEFI implementations regardless of the host device. UEFI on a desktop PC features the same core set of UEFI capabilities found on a device such as a smartphone. Application developers can create software tools without worrying about platform-specific firmware quirks commonly found with BIOS. Firmware developers can isolate platform-specific code through modularization.
- Modular and Extensible: UEFI firmware modules can be added, removed, or updated by vendors and device owners. New modules can be created to extend the capabilities of a device’s firmware. Modules may interact with device resources (e.g. network adapters, RAID controllers), UEFI environment variables, and kernel-mode drivers.
- Improved Boot Performance: UEFI can run in 32-bit or 64-bit mode and has more addressable address space than BIOS, which means your boot process is faster. It also means that UEFI setup screens can be slicker than BIOS settings screens, including graphics and mouse cursor support. Not only this, some of the UEFI modules and drivers can be loaded in parallel, rather than legacy sequential, to reduce boot time.
Drawbacks of UEFI
The biggest problem with UEFI is hardware and software support. In order for it to work properly, the hardware and operating system must both support the appropriate specification. This isn’t as much of a challenge with the current Windows or macOS but older operating systems such as Windows XP do not support it.
Conclusion
BIOS has been extremely powerful booting solution for last 20 plus years. But now it has reached some limitations that makes it tough to grow. UEFI on the other hand has taken good deal of methods from BIOS and has streamlined it for the users. Sooner or later it is going to completely replace BIOS.
References:
https://docs.oracle.com/cd/E23161_01/html/E37044/gnchj.html
https://en.wikipedia.org/wiki/Master_boot_record
https://en.wikipedia.org/wiki/GUID_Partition_Table
https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface
Recommend
-
36
Flashing the BIOS on the PC Engines APU4c4 I absolutely love the PC Engines APU devices. I use them for testing HardenedBSD experimental features in more constrained 64-b...
-
24
Defeating a Laptop's BIOS Password We found a laptop laying around the office that had BIOS password enabled. On top of that, the laptop had secure boot turned on. We wanted to run an OS that was not signed wit...
-
16
Restoring stock BIOS on a Braswell Chromebook with a broken rom Jun 16, 2017 Since Braswell is still widely unsupported in the world of Chromebooks (no public Tianocore/Windows rom released yet)...
-
45
百敖BIOS中文视频培训一:BIOS启动总览中央处理器 (CPU)话题下的优秀回答者请到UEFI内核Edk2开源项目的维护者和Stable tag的维护者,百敖内核架构师高黎明,带来百...
-
11
内存为什么要Training? 内存初始化代码为什么是BIOS中的另类?
-
27
Updating the BIOS using linux The first logic executed on most computers is the BIOS. Essentially it sets up hardware specific to the system, and then passes control to a general purpose operating system. The BIOS has traditionally be...
-
10
华硕AMD 500/400主板Agesa 1.2.0.新BIOS上线华硕AMD 500/400主板Agesa 1.2.0.新BIOS上线 2021-01-15 18:28:39 来源:互联网 摘要:为带给大家更好的性能体验,华硕AMD 500、400系主板官网已上线新BIOS(AM4...
-
27
BIOS/UEFI培训终于上线了,小伙伴一起来吧中央处理器 (CPU)话题下的优秀答主借助卓易信息【688258】强大的云服务和专业的技术能力,我筹划了几个月的卓易云课堂终于上线了!(...
-
5
BIOS云课堂增加UEFI界面和SCT全解系列内容!中央处理器 (CPU)话题下的优秀答主BIOS的设置界面是给用户的第一印象,也是的BIOS开发需要重点着力的地方。UEFI内核维护者高黎明为你讲...
-
83
soggi's BIOS & Firmware Page Welcome to soggi's BIOS & Firmware Page! Get BIOSes, firmware, drivers, manuals, patches, tools, utilities, tech demos, other downloads and specifications for your legacy/retro/vintage PC...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK