I'm following this tutorial : Create a Custom Debian Live (it's not the first time) but this time it doesn't work when I'm trying to install linux-image-amd64 live-boot systemd-sysv in chroot environment.

Error is :

mkinitramfs: failed to determine device for /
mkinitramfs: workaround is MODULES=most, check
grep -r MODULES /etc/initramfs-tools

It's during the update-initramfs. When I run it alone, it returns the same error. The grep command returns :


The distribution is Debian Stretch installed from minimal (netinstall) in kernel 4.9.0-6.

When I was in 4.9.0-4 or 4.9.0-5 I've never had this problem. Maybe it's with the 4.9.0-6 ?

Any solution ? Thanks


I've edited /etc/initramfs-tools/conf.d/driver-policy to replace




and it "works". There are many lines with "W: possible missing firmware ..." but it updates the initrd correctly and I can boot my Live environment.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.