PIBOOTCTL-SET(1)
β¨ pibootctl-set(1) β¨
okay bestie, so this is a page from the pibootctl manual π
and it's literally all about the pibootctl set command. no cap, it's giving "change ur Pi's boot settings" energy and honestly? iconic.
πΈ NAME πΈ
pibootctl-set β it's a page in the pibootctl manual, bestie. that's the whole vibe. π
π¦ SYNOPSIS π¦
pibootctl set [-h] [--no-backup] [--all | --this-model | --this-serial]
[--json] [--yaml] [--shell]
[name=[value] [name=[value] ...]]
π DESCRIPTION π
so like, set changes the value of one or more boot configuration settings. that's it, that's the whole thing β¨
and here's the cute part: if u wanna reset a setting back to its default, u just omit the new value. literally just don't give it one. the way that works is so clean honestly. π«Ά
β¨ OPTIONS β¨
name=[value]β drop one or more settings to change right there on the command line π and if u wanna reset a setting to its default, just leave the value off. no value, no problem.-h,--helpβ shows u a lil brief help page for the command. ur lil cheat sheet fr fr π--no-backupβ pls don't take an automatic backup of the current boot configuration if one doesn't exist already. bold move, bestie π--allβ set the settings u named on all Pis this SD card is used with. this is the default context, so if u don't say anything, this is what u get π--this-modelβ set the settings for this model of Pi only. specific queen behavior π--this-serialβ set the settings for this Pi's serial number only. like, just this one physical Pi. main character energy, honestly π--jsonβ use JSON as the input format π§--yamlβ use YAML as the input format π--shellβ use avar=valueinput format suitable for the shell π
π USAGE π
so u can use set right at the command line to update the boot configuration, like:
$ sudo pibootctl set video.overscan.enabled=off
Backed up current configuration in backup-20200309-230959
and note β if no backup of the current boot configuration exists, a backup is automatically taken (unless u passed --no-backup, obviously). no cap. πΈ
u can change multiple settings all at once too, and reset settings to their default value by omitting the new value after the = sign:
$ sudo pibootctl set --no-backup serial.enabled=on serial.uart=
see how serial.uart= has nothing after the =? yeah. reset. slay. β¨
by default, settings get written into an [all] section in config.txt, which means they apply everywhere the SD card gets moved. but bestie, u can opt to make settings specific to the current model of Pi, or even the current Pi's serial number:
$ sudo pibootctl set --this-serial camera.enabled=on gpu.mem=128
and in that case an appropriate section like [0x123456789] will be added, and the settings get written under there. very demure, very specific. π
and for anyone out there building an interface on top of pibootctl (devs, i see u π), JSON, YAML, and shell-friendly formats can also be used to feed new values to the set command:
$ cat << EOF | sudo pibootctl set --json --no-backup
{"serial.enabled": true, "serial.uart": null}
EOF
quick vibe check: that backup thing is automatic unless u say--no-backup, so don't be surprised when abackup-...file just appears. it's not haunted, it's a feature π«Ά
π AUTHOR π
Dave Jones π the legend himself.
π COPYRIGHT π
2019-2020 Dave Jones
and that's the whole page, bestie!! this was pibootctl-set(1), from version 0.5.2, dated Sep 14, 2020 πΈ go forth and configure ur Pi, u absolute icon ππ
π¦ where this page comes from
- ubuntu jammy: pibootctl 0.5.2-0ubuntu1 Β· GPL-3.0-or-later
- ubuntu noble: pibootctl 0.5.2-0ubuntu1 Β· GPL-3.0-or-later
- ubuntu resolute: pibootctl 0.5.2-0ubuntu1 Β· GPL-3.0-or-later
- ubuntu stonking: pibootctl 0.5.2-0ubuntu1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms