Skip to content

Instantly share code, notes, and snippets.

@thanatos
Created September 12, 2023 00:07
Show Gist options
  • Save thanatos/b38c72dd89a9ee3923111a57a7e99ef6 to your computer and use it in GitHub Desktop.
Save thanatos/b38c72dd89a9ee3923111a57a7e99ef6 to your computer and use it in GitHub Desktop.
Arch: post Grub upgrade instructions

Install Grub:

See: https://wiki.archlinux.org/title/GRUB#Installation — for me, that command is:

grub-install --target=x86_64-efi --efi-directory=/esp --bootloader-id=Grub

--efi-directory is where the ESP partition is mounted. For me, /esp. --bootloader-id corresponds to the directory under /esp/EFI where Grub is, so just Grub as we put Grub at /esp/EFI/Grub.

Make config:

See: https://wiki.archlinux.org/title/GRUB#Configuration

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

Exactly the same as the wiki.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment