Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-26 00:13:26 +00:00
parent d1f45d718c
commit e815ba73c5
38 changed files with 142 additions and 45 deletions

21
tldr/linux/grubby Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# grubby
> Tool for configuring `grub` and `zipl` bootloaders.
> More information: <https://manned.org/man/grubby.8>.
- Add kernel boot arguments to all kernel menu entries:
`sudo grubby --update-kernel=ALL --args '{{quiet console=ttyS0}}'`
- Remove existing arguments from the entry for the default kernel:
`sudo grubby --update-kernel=DEFAULT --remove-args {{quiet}}`
- List all kernel menu entries:
`sudo grubby --info=ALL`