---
# System prepended metadata

title: '**GRUB Bootloader**                 ![](https://i.imgur.com/TAUkHtU.png)'

---

# **GRUB Bootloader**                 ![](https://i.imgur.com/TAUkHtU.png)
## **What is GRUB?**
>GRUB is the next generation of the GRand Unified Bootloader. It's the first software program that runs when a computer starts. It's responsible for loading and transferring control to the Linux kernel.

---

## **Install and configure GRUB**
  For this example, I'm going to show how to install and configure GRUB during an Arch Linux install.
  
---
First of all GRUB has to be downloaded, to do so:
  ```
  pacstrap /mnt grub-bios
  ```
![](https://i.imgur.com/DMQAFdY.png)

After that it has to be installed into the hard drive
 
```
grub-install /dev/sda
```
Then a configuration file has to be generated
```
grub-mkconfig -o /boot/grub/grub.cfg
```

![](https://i.imgur.com/K0mtWDo.png)

The system now has to be rebooted, and GRUB will be installed

![](https://i.imgur.com/SkALwBE.png)

Made by: Rodrigo Oliveira TIIGR0916B