New comment by MaMiMa81 on void-packages repository https://github.com/void-linux/void-packages/issues/38367#issuecomment-1218287017 Comment: Well after what had been mentioned on this thread above by @Haagen-Dazs, @ahesford & @TeusLollo about using `mkinitcpio` I thought I'd have a go at replacing `dracut` with it. Made `dracut` an ignorepkg, removed it, installed `mkinitcpio`, did `xbps-reconfigure -f linux` rebooted & mess - root partitioned would only mount as ro & then it was loop mounted to `/media/` & I was dumped into the rescue console. I managed to boot in the system, by repeatedly entering exit & found the other 2 partitions plus swap also mounted the /media/ directory. Spent best part of a day trying to sort it before restoring from a backup. So what I have done now,after taking a backup of the file, is manually edit the `/usr/lib/dracut/dracut-init.sh`: Replacing line 985 `for _f in modules.builtin.bin modules.builtin modules.order; do` with `for _f in modules.builtin.bin modules.builtin modules.builtin.modinfo modules.order; do` I then re-upgraded kmod & libkmod from v.29 to v.30, tested it out with a new install of a kernel & works as normal with no: `depmod: WARNING:` If I find any issues I'll post here - or if anyone has any comment what I've done - good or bad please do likewise.