Skip to content

Latest commit

 

History

History
125 lines (79 loc) · 2.69 KB

grub.md

File metadata and controls

125 lines (79 loc) · 2.69 KB

GRUB

Description

GNU GRUB is a Multiboot boot loader. It was derived from GRUB, the GRand Unified Bootloader, which was originally designed and implemented by Erich Stefan Boleyn.

Directory

References


Generate GRUB Config

Description

This details how to generate a new GRUB config.

Steps

Generate a new GRUB config:

sudo grub-mkconfig -o /boot/grub/grub.cfg

Dual Booting

Description

This details how we can enable dual booting into Windows or another Linux install.

References

Steps

  1. Install the os-prober package using yay.

  2. Update the GRUB config /etc/default/grub:

    sudo nano /etc/default/grub

    Update the value of the following line from true to false:

    GRUB_DISABLE_OS_PROBER=false
    
  3. Regenerate a new GRUB config.


Theme Customisation

Description

This details how to change the theme/appearance of the GRUB bootloader.

References

Steps

  1. Clone the distro-grub-themes repository:

    git clone https://github.com/AdisonCavani/distro-grub-themes.git
  2. Create the themes directory:

    sudo mkdir -p /boot/grub/themes
  3. Copy the desired theme (i.e. arch) to the themes directory:

    sudo cp -r distro-grub-themes/customize/arch /boot/grub/themes
  4. Update the GRUB config /etc/default/grub:

    sudo nano /etc/default/grub

    Add the following line to the config:

    GRUB_THEME="/boot/grub/themes/arch/theme.txt"

    [!NOTE]
    Replace arch with the actual name of the theme you copied.

    Be sure to comment any other GRUB_BACKGROUND and GRUB_THEME lines to avoid conflicts.

  5. Regenerate a new GRUB config.