aboutsummaryrefslogtreecommitdiff
path: root/www/content/notes/cheat-sheet/index.md
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-04-01 23:44:50 +0800
committerYuqian Yang <crupest@crupest.life>2025-04-02 19:00:58 +0800
commitb2d2e2870660ae64358e7effcad1bb7e0c5dc998 (patch)
tree8e3eb0fb6c56cb81522701b8256777a098298212 /www/content/notes/cheat-sheet/index.md
parenta985d6bb3ee26db6444702c3c0c8bff53ba46824 (diff)
downloadcrupest-b2d2e2870660ae64358e7effcad1bb7e0c5dc998.tar.gz
crupest-b2d2e2870660ae64358e7effcad1bb7e0c5dc998.tar.bz2
crupest-b2d2e2870660ae64358e7effcad1bb7e0c5dc998.zip
feat(www): update.
Diffstat (limited to 'www/content/notes/cheat-sheet/index.md')
-rw-r--r--www/content/notes/cheat-sheet/index.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/content/notes/cheat-sheet/index.md b/www/content/notes/cheat-sheet/index.md
new file mode 100644
index 0000000..efb3b35
--- /dev/null
+++ b/www/content/notes/cheat-sheet/index.md
@@ -0,0 +1,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
+```