Friday, May 3, 2024
33
rated 0 times [  33] [ 0]  / answers: 1 / hits: 52590  / 2 Years ago, sat, february 19, 2022, 7:42:00

Can anyone explain me with fairly simple words and not too technical concepts what exactly is GRUB, what is its primary usage and how to use it efficiently for a dual boot Windows/Ubuntu installation?



I have already read a couple of resources but I am still confused.


More From » installation

 Answers
1

Basically, GRUB bootloader is the software that loads the Linux kernel. (It has other uses as well). It is the first software that starts at a system boot.



When the computer starts, BIOS first run a Power-on self-test (POST) to check hardware like memory, disk drives and that it works properly.



Then BIOS checks the Master Boot Record (MBR), which is a 512 byte section located first on the Hard Drive. It looks for a bootloader (like GRUB). The hard drive's partition tables are also located here.



enter image description here



Then you'll be prompted by the GRUB menu which can contain a list of the operating systems installed (in the case of dual boot), or perhaps the different kernels installed in a Linux distro.



When you choose which distro or kernel you want to use, GRUB loads the selected kernel. The kernel starts init (or systemd), which is the first process to start in Linux. init then starts other processes like network services and other that you might have configured to start at boot time.



enter image description here



The boot process contains alot of defined expressions and terms, way to much to add in a simple answer like this. Google is your friend!



Remember that this is a very basic explanation of the boot process and GRUB's role in it.



This youtube video provides a pretty nice introduction to the linux boot process, including basic information on the GRUB Bootloader:



Understanding the Linux Boot Process - CompTIA Linux+, LPIC-1


[#29373] Sunday, February 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
irripri

Total Points: 164
Total Questions: 111
Total Answers: 107

Location: South Georgia
Member since Sun, Aug 8, 2021
3 Years ago
irripri questions
Mon, Aug 29, 22, 03:19, 2 Years ago
Thu, Mar 30, 23, 01:56, 1 Year ago
Thu, Dec 30, 21, 08:53, 2 Years ago
;