UPDATE-TIRFS(8)
π UPDATE-TIRFS π
ok so bestie, welcome to the tiny-initramfs corner of the manual, section 8, and today's main character is update-tirfs β the little script that builds you a whole initramfs image. no cap. let's get into it π
β¨ NAME β¨
update-tirfs β generate a tiny-initramfs image π¦
β¨ SYNOPSIS β¨
update-tirfs [-k kernel-version]
that's it. that's the whole vibe. one optional flag, zero drama π
β¨ DESCRIPTION β¨
so like, the update-tirfs script generates initramfs images that contain the tiny-initramfs init binary, and it drops them right into the standard Debian location so your boot loader can actually find them. it doesn't do the heavy lifting itself though β it calls mktirfs(8) to create the actual image, like the bestie that delegates πββοΈ
when you call it, all initramfs images in /boot for matching kernel versions get replaced. all of them. gone, replaced, slay β¨
please read /usr/share/doc/tiny-initramfs-core/README.md for an overview of the use cases tiny-initramfs was designed for and the features it supports. fr fr, go read it, it's giving essential context π
β¨ OPTIONS β¨
-k,--kernel-version=kernel-versionβ which kernel version to generate the initramfs image for. by default, the special valueallis assumed, which indicates that the initramfs image should be regenerated for all installed kernel versions. yes, every single one. it's giving thorough π
β¨ CONFIGURATION β¨
if it exists, the config file /etc/tiny-initramfs/tiny-initramfs.conf can modify the behavior of mktirfs(8) in how the initramfs image is constructed. so it's not update-tirfs that reads it directly β it's mktirfs doing the reading. please refer to the documentation of the mktirfs utility for the details, iykyk π
β¨ EXAMPLE β¨
update all initramfs images:
update-tirfs
update the initramfs image for a specific kernel version:
update-tirfs -k 4.2.0
see? cute, simple, iconic π
β¨ DEBIAN MAINTAINER SCRIPTS β¨
please do not call this utility from Debian maintainer scripts. use the update-initramfs trigger instead, because that one will not depend on the initramfs implementation. like, it's literally the whole point. don't do it bestie, i'm begging π
β¨ FILES β¨
/etc/tiny-initramfs/tiny-initramfs.confβ if present, values in there will be used as defaults for the command line arguments ofmktirfs./usr/share/doc/tiny-initramfs-core/tiny-initramfs.conf.exampleβ an example configuration file that may be copied to the above location. copy-paste core π
β¨ SEE ALSO β¨
β¨ AUTHORS β¨
Christian Seiler <christian@iwakd.de> β ty for your service king π«Ά
and that's the whole page, bestie!! this one's from the tiny-initramfs Manual, dated Jan 2016, and you just read the entire thing. no notes. periodt π
π¦ where this page comes from
- debian bookworm: tiny-initramfs 0.1-5 Β· GLP-3+
- debian trixie: tiny-initramfs 0.1-6.1 Β· GLP-3+
- ubuntu jammy: tiny-initramfs 0.1-5 Β· GLP-3+
- ubuntu noble: tiny-initramfs 0.1-5.1 Β· GLP-3+
- ubuntu questing: tiny-initramfs 0.1-6.1
- ubuntu resolute: tiny-initramfs 0.1-6.1build1 Β· GLP-3+
- ubuntu stonking: tiny-initramfs 0.1-7 Β· GLP-3+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms