diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-04-01 23:44:50 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-04-01 23:44:50 +0800 |
commit | a985d6bb3ee26db6444702c3c0c8bff53ba46824 (patch) | |
tree | 8610b9a11c1cbd4e347e80a3bba4a191ae2abb7d /www/content/notes/cheat-sheet | |
parent | 9d9b68f8fb70dc72f34f3dd41f5811529e09789b (diff) | |
download | crupest-a985d6bb3ee26db6444702c3c0c8bff53ba46824.tar.gz crupest-a985d6bb3ee26db6444702c3c0c8bff53ba46824.tar.bz2 crupest-a985d6bb3ee26db6444702c3c0c8bff53ba46824.zip |
feat(www): add cheat-sheet.
Diffstat (limited to 'www/content/notes/cheat-sheet')
-rw-r--r-- | www/content/notes/cheat-sheet/_index.md | 15 |
1 files changed, 15 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..f379f0b --- /dev/null +++ b/www/content/notes/cheat-sheet/_index.md @@ -0,0 +1,15 @@ +--- +title: "Cheat Sheet" +date: 2025-04-01T23:09:53+08:00 +lastmod: 2025-04-01T23:09:53+08:00 +layout: single +--- + +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 +``` |