diff options
Diffstat (limited to 'www/content/notes/cheat-sheet')
-rw-r--r-- | www/content/notes/cheat-sheet/_index.md | 11 | ||||
-rw-r--r-- | www/content/notes/cheat-sheet/index.md | 14 |
2 files changed, 14 insertions, 11 deletions
diff --git a/www/content/notes/cheat-sheet/_index.md b/www/content/notes/cheat-sheet/_index.md index f379f0b..ff72c3d 100644 --- a/www/content/notes/cheat-sheet/_index.md +++ b/www/content/notes/cheat-sheet/_index.md @@ -1,15 +1,4 @@ --- 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 -``` 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 +``` |