mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-15 12:00:07 +00:00
Update cheatsheets
This commit is contained in:
@@ -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]}}`
|
||||
|
||||
Reference in New Issue
Block a user