Hello Leon,

On 25/12/2021 22:58, Leon Heess wrote:
I was following your [tutorials on customizing the live debian 
installation](https://live-team.pages.debian.net/live-manual/html/live-manual/examples.en.html#using-the-examples).
The last command in every tutorial is `lb build 2>&1 | tee build.log`. But 
every time I use it on my Debian WSL2
machine I run into this:
...
mknod: /mnt/c/deb-live-tutorial/chroot/test-dev-null: Operation not supported
E: Cannot install into target '/mnt/c/deb-live-tutorial/chroot' mounted with 
noexec or nodev

Could it be that live-build is not working properly inside WSL2?

The error message says that you need 'exec' and/or 'dev' rights for your mount point.

I've not tried this on Windows under WSL yet, but under Linux, with /dev/shm, I use: 'sudo mount /dev/shm -odev,exec,remount'

With kind regards,
Roland Clobus

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to