Contents
What is Mkinitcpio conf?
DESCRIPTION. mkinitcpio will attempt to read from a config file each time it is invoked, ‘/etc/mkinitcpio. conf’ by default. This file defines several variables which describe the contents of the image to be generated.
Where is Mkinitcpio conf?
/etc/mkinitcpio
The primary configuration file for mkinitcpio is /etc/mkinitcpio. conf . Additionally, preset definitions are provided by kernel packages in the /etc/mkinitcpio.
What is Initramfs Linux fallback IMG?
the “normal” initramfs contains only the stuff that you configured to be there (/etc/mkinitcpio.conf) and the “fallback” contains the default selection of drivers (eg all filesystem drivers, etc…)
What is Mkinitramfs?
The initramfs is a compressed cpio archive. The archive can be used on a different box of the same arch with the corresponding Linux kernel. mkinitramfs is meant for advanced usage. At boot time, the kernel unpacks that archive into RAM disk, mounts and uses it as initial root file system.
What kind of compression is used in mkinitcpio?
The kernel supports several formats for compression of the initramfs: gzip, bzip2, lzma, xz, lzo, lz4 and zstd. mkinitcpio uses zstd compressed images by default, note that the zstd compression runs in multi-threading mode (with the -T0 option which spawns as many threads as detected cores).
What’s the purpose of the bash script mkinitcpio?
mkinitcpio is a Bash script used to create an initial ramdisk environment. From the mkinitcpio (8) man page: The initial ramdisk is in essence a very small environment (early userspace) which loads various kernel modules and sets up necessary things before handing over control to init.
Where can I find the runtime hooks for mkinitcpio?
Runtime hooks are found in /usr/lib/initcpio/hooks/, custom runtime hooks can be placed in /etc/initcpio/hooks/. For any runtime hook, there should always be a build hook of the same name, which calls add_runscript to add the runtime hook to the image. These files are sourced by the busybox ash shell during early userspace.
Who is the developer of mkinitcpio Arch Linux?
mkinitcpio has been developed by the Arch Linux developers and from community contributions. See the public Git repository.