From a985d6bb3ee26db6444702c3c0c8bff53ba46824 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Tue, 1 Apr 2025 23:44:50 +0800 Subject: feat(www): add cheat-sheet. --- www/content/notes/cheat-sheet/_index.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 www/content/notes/cheat-sheet/_index.md (limited to 'www/content/notes/cheat-sheet') 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 +``` -- cgit v1.2.3