1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-16 11:35:24 +02:00
tldr/pages/linux/mkinitfs.md
2025-04-07 05:51:33 +03:00

524 B

mkinitfs

Generate an initramfs on Alpine Linux. More information: https://manned.org/mkinitfs.

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

mkinitfs

  • 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:

mkinitfs -l

  • List all available features:

mkinitfs -L