BOOTC-LOAD...-FOR-SOURCE(8)
πΈ BOOTC-LOAD...-FOR-SOURCE(8) β aka bootc-loader-entries-set-options-for-source πΈ
okay bestie, sit down, hydrate, because this one is a system manager's page and we're getting into it π
β¨ NAME β¨
bootc-loader-entries-set-options-for-source β set or update the kernel arguments owned by a specific source π«Ά
β¨ SYNOPSIS β¨
bootc loader-entries set-options-for-source --source NAME [--options "KARGS"]
β¨ DESCRIPTION β¨
so basically? you're setting or updating the kernel arguments that belong to one specific source. and here's the cute part: every source's args get tracked through x-options-source-<name> extension keys sitting inside the BLS config files on /boot π
the options line gets recomputed as the merge of all tracked sources plus any untracked (pre-existing) options. like, everyone shows up to the group chat, nobody gets left on read π
this command stages a new deployment with your updated kernel args. meaning: nothing happens right now. changes take effect on the next reboot. it's giving "I'll do it tomorrow" but for real this time π
and if a staged deployment already exists (say, from bootc upgrade)? it gets replaced using the staged deployment's commit and origin β so the pending upgrade stays pending, we're just layering the kargs change on top like a cute little cardigan β¨
β¨ OPTIONS β¨
--source=SOURCEβ the name of the source that owns these kernel arguments. gotta name your source bestie, it's how we know whose kargs these are π--options=OPTIONSβ the kernel arguments to set for this source. these are the actualKARGSyou're assigning π
β¨ REQUIREMENTS β¨
listen, this is the important part, no skipping π
this command needs ostree >= 2026.1 with bootconfig-extra support, because that's what preserves extension BLS keys through staged deployment roundtrips. slay.
on older ostree versions, bootc loader-entries is unavailable. not deprecated, not hidden-ninja-mode, just unavailable:
- it's omitted from
bootc --help(ghosted, literally) - invoking it β including with
--helpβ prints an error and exits with status 77
and 77 is special, ok? it's distinct from usage errors (2) and other failures (1). so if you're writing a caller, you can probe for the feature by checking the exit status of:
bootc loader-entries set-options-for-source --help
exit status as vibes check. iconic. π¦
β¨ EXAMPLES β¨
Add TuneD kernel arguments:
bootc loader-entries set-options-for-source --source tuned \
--options "isolcpus=1-3 nohz_full=1-3"
Update TuneD kernel arguments (replaces previous values):
bootc loader-entries set-options-for-source --source tuned \
--options "isolcpus=0-7"
Remove all kernel arguments owned by TuneD:
bootc loader-entries set-options-for-source --source tuned
(no --options? boom, cleaned out. the way that just works π)
Multiple sources can coexist independently:
bootc loader-entries set-options-for-source --source tuned \
--options "nohz=full isolcpus=1-3"
bootc loader-entries set-options-for-source --source dracut \
--options "rd.driver.pre=vfio-pci"
look at them, two sources, living their separate lives, no drama, main character energy for both π₯
β¨ KNOWN LIMITATIONS β¨
okay so here's the lowkey cursed part π
source keys set by prior calls in the same boot cycle (i.e. before any reboot) get discovered by reading the staged deployment data file at:
/run/ostree/staged-deployment
if that file is missing or cannot be parsed, sources from prior calls may not be discovered, which can potentially orphan their kargs. π
in practice this shouldn't happen though β the file is managed by ostree and is always present when a staged deployment exists. so like, breathe. but be aware. periodt.
β¨ SEE ALSO β¨
β¨ VERSION β¨
v1.17.1 π
and that's the whole page bestie, we ate and left no crumbs π β¨ mwah, go reboot something. BOOTC-LOAD...-FOR-SOURCE(8) β System Manager's Manual, v1.17.1 π¦π
π¦ where this page comes from
- fedora 43: bootc 1.17.1-1.fc43 Β· Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
- fedora 44: bootc 1.17.1-1.fc44 Β· Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms