aboutsummaryrefslogtreecommitdiff
path: root/www/content/notes/cheat-sheet.md
blob: efb3b359d1c8e3b2130c26eba7840ed9cbf2f8ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
title: "Cheat Sheet"
date: 2025-04-01T23:09:53+08:00
lastmod: 2025-04-01T23:09:53+08:00
---

Update GRUB after `grub` package is updated. Replace `/boot` with your mount
point of the EFI partition in `--efi-directory=/boot`. Replace `GRUB` with your
bootloader id in `--bootloader-id=GRUB`.

```bash-session
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
```