GRUB is a bootloader that is used to load the Linux kernel and initiate the boot process. It provides a menu interface that allows users to choose which operating system or kernel to boot. In this article, we will discuss the GRUB menu and its entries.
GRUB Menu Entries
The GRUB menu consists of two main entries: Daily Linux and Linux. We will discuss each entry in detail.
Daily Linux
Daily Linux is the custom entry that we have created for our system. This entry is used to boot the Linux operating system with a custom kernel and settings. The entry can be edited to include different kernel parameters, such as the root device, video mode, and console settings.
Here is an example of a Daily Linux entry:
title Daily Linux
linux /vmlinuz-5.4.0-57-generic root=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx rootflags=subvol=@ rootfstype=btrfs ro quiet splash
initrd /initrd.img-5.4.0-57-generic
In this example, the linux command specifies the kernel image file, the root parameter specifies the root device, and the rootflags parameter specifies the root flags. The initrd command specifies the initial RAM disk image file.
Linux
The Linux entry is the default boot entry that is provided by the GRUB installer. This entry is used to boot the default Linux kernel and settings.
Here is an example of a Linux entry:
title Linux
linux /vmlinuz-5.4.0-57-generic root=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx rootflags=subvol=@ rootfstype=btrfs ro quiet splash
initrd /initrd.img-5.4.0-57-generic
In this example, the linux command specifies the kernel image file, the root parameter specifies the root device, and the rootflags parameter specifies the root flags. The initrd command specifies the initial RAM disk image file.
References
This article provides a brief overview of the GRUB menu and its entries. For more detailed information, refer to the GRUB manual and tutorials.