I want to review that the hooks used to build the
initrd.img are correct in my debian but I fail to find the
/etc/mkinitcpio.conf file like the one in Archlinux, what is the equivalent of this file in debian and how do I rebuild the initrd.img once I've edited that file ?
To configure the initramfs in Debian, you can modify
/etc/initramfs/initramfs.conf, or add configuration files and hooks to
To rebuild the initramfs, run
update-initramfs as root with the appropriate options (
update-initramfs -u to update the initramfs of the newest kernel).
All this is in the
initramfs-tools and there are manpages documenting the various commands and configuration files.