Understanding the GRUB 2 bootloader

Serving Up GRUB

© Photo by Bas Peperzak on Unsplash

© Photo by Bas Peperzak on Unsplash

Article from Issue 300/2025
Author(s):

Deeper knowledge of the GRUB 2 bootloader will help you with troubleshooting and customizing your Linux boot environment.

Initially released in 1995, the GRUB bootloader has been around for 30 years. A major rewrite began around 2002 resulting in GRUB 2. Even today, the overwhelming majority of Linux computers continue to rely on GRUB.

Despite GRUB's advanced age, most Linux users are only vaguely aware of GRUB's existence. GRUB typically operates silently in the background – the average user doesn't notice it during operating system installation or the boot process. If a user does see GRUB, this typically means something has gone seriously wrong. Because attempting to understand GRUB in that moment creates significant stress, you should have at least a basic understanding of GRUB's architecture and configuration so that you know your recovery options should a crisis arise.

The GRUB bootloader is actually called GRUB 2 to distinguish it from the first version. I will use the name GRUB 2 even though the old version isn't really around anymore.

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • In-Depth Security

    More than just a boot manager, GRUB 2 can help you add another line of protection to your security defenses.

  • Grub Customizer

    Is the simple black and white GRUB menu causing confusion and obscuring important choices? Why not customize with GRUB themes and the Grub Customizer?

  • Exercise Place

    The GRUB 2 boot manager might seem intimidating at first glance. All the more reason to spin up a virtual playground so you can practice.

  • Configuring Dual Boot

    When two systems share a single computer, a boot manager handles the prompts that determine which system to boot. We’ll show you several multiple boot scenarios and describe how to set up your system for dual booting Linux with Windows.

  • Linux Boot Process

    If you want to troubleshoot startup issues, you need a clear understanding of how Linux boots.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News