mkinitramfs
mkinitramfs is a command-line utility used in Debian and its derivatives, such as Ubuntu, to generate an initial RAM filesystem, often referred to as an initramfs. The initramfs is a small archive that contains essential kernel modules and utilities needed to boot the main Linux system. When the Linux kernel starts, it first loads the initramfs into memory. The initramfs then takes over the initial boot process, mounts the root filesystem, and eventually hands over control to the real init system (like systemd or SysVinit) on the root partition.
The primary purpose of mkinitramfs is to bundle necessary drivers and tools that are required to access
mkinitramfs is typically invoked automatically by the package management system (like apt) when kernel packages are