I have been trying to get Cuttlefish working on Windows's Subsystem for Linux (WSL2) running Ubuntu 22.0.4.4 to emulate Android, and after rebuilding the Linux kernel to fix some vsock issues, per the recommendation of this guide https://github.com/5ec1cff/my-notes/blob/master/cuttlefish-on-wsl.md, I'm now running into an issue where after starting cuttlefish with HOME=$PWD ./bin/launch_cvd --daemon
it quickly fails, with Google's virtual machine monitor (Crosvm) unable to mount some directories:
crosvm D 06-07 10:03:32 65542 65542 log_tee.cpp:175] crosvm[1]: libminijail[1]: cannot mount '/usr/lib' as '/var/empty/usr/lib' with flags 0x1001: Invalid argumentcrosvm D 06-07 10:03:32 65542 65542 log_tee.cpp:175] crosvm[1]: libminijail[1]: mount_one failed with /dev at '(null)'
The guide recommends using GDB to inspect, and the author claims that the mounting issue cleared up after some initial probing. Unfortunately, that has not been the case for me. I'm pretty inexperienced when it comes to GDB, Cuttlefish, and Android development in general, so any expertise is welcomed!