UPDATE-MINIRAMFS(8)

✨ UPDATE-MINIRAMFS(8) ✨

okay bestie so this is update-miniramfs, and it lives in section 8 of the manual (that's the "System Administration" corner of the manpage universe πŸ› οΈ). it's giving main character energy for your boot setup, fr fr.


🌸 NAME 🌸

update-miniramfs β€” generate a miniramfs image. that's it, that's the vibe. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

update-miniramfs {-c|-d|-u} [-k version]
update-miniramfs -h

like, you have to pick a mode, bestie. no mode = no service. πŸ’…


πŸ‘‘ DESCRIPTION πŸ‘‘

The update-miniramfs script manages your miniramfs images on your local box. it keeps track of the existing miniramfs archives in /boot. πŸŽ€

There are three modes of operation: create, update or delete. You must at least specify one of those modes. no optionals on that one, sorry babe 😭

So what even is a miniramfs? It's a gzipped cpio archive containing the absolute minimum required to find and load the real initramfs. once that's loaded, boot is handed off to the initramfs and miniramfs is like "my work here is done ✌️". iconic behaviour tbh.


πŸ’… OPTIONS πŸ’…

  • -k version β€” set the specific kernel version to generate a miniramfs for. like, for example, the output of uname -r for your currently running kernel. 🧚 This argument is mandatory for create/delete and ignored for update. so if you're updating, don't stress about it, it literally does not care.
  • -c β€” this mode creates a new miniramfs archive. ✨ brand new baby archive, fresh out the box.
  • -u β€” this mode updates all miniramfs archives and creates new ones for all newly installed kernels. lowkey the "do everything" button 🫢
  • -d β€” this mode deletes an existing miniramfs archive. πŸ’€ bye bye.
  • -h, --help β€” print a short help page describing the available options in update-miniramfs. the classic cry for help, but make it documentation 🌈

πŸ“ EXAMPLES πŸ“

Update the miniramfs of all installed kernels (including those currently without miniramfs archives):

update-miniramfs -u

Create the miniramfs for a specific kernel:

update-miniramfs -c -k 6.0.0-6-amd64

see? not scary. slay. πŸ”₯


πŸ’œ AUTHOR πŸ’œ

Miniramfs is written by Arnaud Ferraris <aferraris@debian.org>, Jarrah Gosbell <debian@undef.tools>. absolute legends, we stan. 😌


🌈 SEE ALSO 🌈


heads up bestie: -k version is required for -c and -d, and straight-up ignored for -u. don't come for me, that's just the rules. πŸ’–

and that's the whole page, babe πŸŽ€ this one's from the miniramfs package, dated 2023/01/05 β€” yes, an elder, but a cute one. go forth and boot responsibly βœ¨πŸ’…πŸ¦‹