Update cheatsheets

This commit is contained in:
ivuorinen
2025-08-07 00:22:23 +00:00
parent c22ca08b6b
commit 9c36a48bd3
35 changed files with 316 additions and 38 deletions

View File

@@ -10,12 +10,24 @@ source: https://github.com/tldr-pages/tldr.git
- Install GRUB on a BIOS system:
`grub-install --target {{i386-pc}} {{path/to/device}}`
`sudo grub-install {{path/to/device}}`
- Install GRUB on a BIOS system while specifying architecture:
`sudo grub-install --target {{i386-pc}} {{path/to/device}}`
- Install GRUB on an UEFI system:
`grub-install --target {{x86_64-efi}} --efi-directory {{path/to/efi_directory}} --bootloader-id {{GRUB}}`
`sudo grub-install --efi-directory {{path/to/efi_directory}}`
- Install GRUB on an UEFI system while specifying architecture and boot menu text:
`sudo grub-install --target {{x86_64-efi}} --efi-directory {{path/to/efi_directory}} --bootloader-id {{GRUB}}`
- Install GRUB pre-loading specific modules:
`grub-install --target {{x86_64-efi}} --efi-directory {{path/to/efi_directory}} --modules "{{part_gpt part_msdos}}"`
`sudo grub-install --target {{x86_64-efi}} --efi-directory {{path/to/efi_directory}} --modules "{{part_gpt part_msdos}}"`
- Display help:
`grub-install {{[-?|--help]}}`