mkinitrd
Low-level tool for generating an initramfs image
Install
- All systems
-
curl cmd.cat/mkinitrd.sh
- Debian
-
apt-get install dracut
- Ubuntu
-
apt-get install dracut
- Kali Linux
-
apt-get install dracut
- CentOS
-
yum install dracut
- Fedora
-
dnf install dracut
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install dracut
- Raspbian
-
apt-get install dracut
- Dockerfile
- dockerfile.run/mkinitrd
dracut
Low-level tool for generating an initramfs image
Unlike existing initramfs's, this is an attempt at having as little as possible hard-coded into the initramfs as possible. The initramfs has (basically) one purpose in life -- getting the rootfs mounted so that we can transition to the real rootfs. This is all driven off of device availability. Therefore, instead of scripts hard-coded to do various things, we depend on udev to create device nodes for us and then when we have the rootfs's device node, we mount and carry on. Having the root on MD, LVM2, LUKS is supported as well as NFS, iSCSI, NBD and FCOE with dracut-network.