aboutsummaryrefslogtreecommitdiff
path: root/www/content/notes/cheat-sheet.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 22:23:15 +0800
commit1f2a1aa9fee74111b5e174a2c5d8b0bfdf988c1d (patch)
tree51b74b25ec141984f02f471c09fd9d1943a17254 /www/content/notes/cheat-sheet.md
parent4182874b764ea3d6ec6224e1b4d0f1b38ff78c05 (diff)
downloadcrupest-1f2a1aa9fee74111b5e174a2c5d8b0bfdf988c1d.tar.gz
crupest-1f2a1aa9fee74111b5e174a2c5d8b0bfdf988c1d.tar.bz2
crupest-1f2a1aa9fee74111b5e174a2c5d8b0bfdf988c1d.zip
feat(www): update.
Diffstat (limited to 'www/content/notes/cheat-sheet.md')
-rw-r--r--www/content/notes/cheat-sheet.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/content/notes/cheat-sheet.md b/www/content/notes/cheat-sheet.md
new file mode 100644
index 0000000..efb3b35
--- /dev/null
+++ b/www/content/notes/cheat-sheet.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
+```