HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

grubby — Tool for configuring `grub` and `zipl` bootloaders. More information: <https://manned.org/grubby.8>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
grubbycommandandclitoolconfiguringforgrub
linux

Problem

How to use the grubby command: Tool for configuring grub and zipl bootloaders. More information: <https://manned.org/grubby.8>.

Solution

grubby — Tool for configuring grub and zipl bootloaders. More information: <https://manned.org/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

Code Snippets

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

Context

tldr-pages: linux/grubby

Revisions (0)

No revisions yet.