snippetbashTip
mkinitfs — Generate an initramfs on Alpine Linux. More information: <https://manned.org/mkinitfs>.
Viewed 0 times
commandalpineclimkinitfslinuxmoreinitramfsgenerate
linux
Problem
How to use the
mkinitfs command: Generate an initramfs on Alpine Linux. More information: <https://manned.org/mkinitfs>.Solution
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:mkinitfsUse 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 -lList all available features:
mkinitfs -LCode Snippets
Generate an initramfs with the features specified in `/etc/mkinitfs/mkinitfs.conf`
mkinitfsUse 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 -lList all available features
mkinitfs -LContext
tldr-pages: linux/mkinitfs
Revisions (0)
No revisions yet.