What Is a Boot Loader?

28/12/2020

Although boot loaders tend to be very small and relatively simple, they play a critical role in the boot process. Visit just about any Linux-related forum and the chances that you’ll come across at least a few people asking how to fix a problem with a boot loader are high. To avoid problems with boot loaders, it’s paramount to understand what role they play in the boot process and what the most popular Linux boot loaders are.

A boot loader is a program responsible for loading the Linux kernel with optional kernel parameters and the Linux initial RAM disk, known as initrd. Linux kernel is the core of the Linux operating system, and it starts the init (short for initialization) process, or an init replacement such as systemd, immediately after being loaded. The Linux initial RAM disk provides a temporary storage space for loading critical files into memory before the real root file system can be mounted.

On older computers with BIOS (Basic Input/Output System), a boot loader resides in the MBR (Master Boot Record), which occupies the first 512 bytes on a disk, but newer computers with UEFI (Unified Extensible Firmware Interface) store it in a special partition called EFI System Partition.

A boot loader is loaded by BIOS or UEFI after a successful POST (Power-On Self-Test), which is a self-test process performed immediately after a computer or other digital electronic device is powered on.

Most Popular Linux Boot Loaders

There are several boot loaders from which Linux users can choose.

GRUB (GRand Unified Bootloader)

GRUB is the most popular and the most feature-packed boot loader for the Linux operating system. It is based on the now obsolete GRUB Legacy, which was created in 1995 by Erich Boleyn for the operating system GNU/Hurd. GRUB supports both BIOS and UEFI, and it can handle all popular Linux file systems, including Btrfs, ext4, ReiserFS v3, VFAT, and XFS. Compared to GRUB Legacy, modern GRUB is cleaner, more powerful, and safer.

LILO (Linux Loader)

LILO once used to be the most popular Linux boot loader, but it has gradually fallen from grace because it lacked support for multi-boot environments. The development of LILO was stopped in December 2015, and the limited support for modern file systems and non-existing support for UEFI both reflect this reality.

SYSLINUX

SYSLINUX is a collection of several lightweight boot loaders that support most major file systems, including FAT for MS-DOS, and ext2, ext3, ext4 for Linux. SYSLINUX can also handle Btrfs and XFS but only with some restrictions. SYSLINUX is commonly used for booting live distributions of the Linux operating system. The original SYSLINUX can boot from floppy disks and USB drives, and ISOLINUX, which is part of the SYSLINUX Project, can boot from CD-ROM ISO 9660 filesystems.

Conclusion

A boot loader is a critical piece of software that’s responsible for loading the Linux kernel and the Linux initial RAM disk. Linux users can choose from several different boot loaders, each with its own strengths and weaknesses.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

NƠI BÁN PROXY GIÁ RẺ NHẤT HIỆN NAY Onet.com.vn

DỊCH VỤ THUÊ PROXY PRIVATE DEDICATED ONET IDC cung cấp dịch vụ IP Proxy Private giúp quý khách sử dụng...
09/11/2022

Backup and Restore of Sqlite Database

How to Backup and Restore Data from SQLite on Ubuntu SQLite is a simple but very powerful database software. It is a very...
28/12/2020

Install Spark IM 2.8.2 – Instant Messaging Client on Linux

Spark IM is an Open Source, cross-platform IM client messaging app optimized for businesses and organizations. It comes...
28/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Mua proxy v4 chạy socks5 để chơi game an toàn, tốc độ cao ở đâu?
18/05/2024

Thuê mua proxy Telegram trọn gói, tốc độ cao, giá siêu hời
18/05/2024

Thuê mua proxy Viettel ở đâu uy tín, chất lượng và giá tốt? 
14/05/2024

Dịch vụ thuê mua proxy US UK uy tín, chất lượng số #1
13/05/2024

Thuê mua proxy Việt Nam: Báo giá & các thông tin MỚI NHẤT
13/05/2024