commands.sh

mkinitfs

linux

Generate an initramfs on Alpine Linux.

More info →

Examples (5)

Generate an initramfs with the features specified in `/etc/mkinitfs/mkinitfs.conf`

Use a different configuration file

mkinitfs -c path/to/config

Compress the initramfs using the specified compression algorithm (default: gzip)

mkinitfs -C gzip|xz|zstd|lz4|none

List files that will be included in the initramfs image

List all available features

made by @shridhargupta | data from tldr-pages