Dracut initrd inside small Windows ESP

Using dracut with the hostonly="yes" option (e.g. in /etc/dracut.conf.d/10-hostonly.conf) can be helpful when keeping multiple kernels installed in the small ESP partition that was provided by an existing Windows installation.

sudo tee /etc/dracut.conf.d/10-hostonly.conf >/dev/null <<'EOF'
# Build initrds tailored to this machine (smaller; includes only this
# model's firmware and the modules actually needed here)
hostonly="yes"
EOF

sudo dracut --force