-
Ubuntu WSL2 must be already installed in C: system drive and user should be able to call windows binaries like
wsl.exefrom bash. -
We will install Alpine WSL2 distro in an external partition/disk:
-
Download Alpine.zip from here: https://github.com/yuk7/AlpineWSL/releases/
-
Extract the files in an external partition/disk. (for example D:\Alpine)
-
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [interop] | |
| appendWindowsPath=false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2370 execve("/usr/bin/sudo", ["sudo", "service", "mongodb", "start"], 0x7fffd9411040 /* 13 vars */) = 0 | |
| 2370 access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory) | |
| 2370 brk(NULL) = 0x7fffd325c000 | |
| 2370 arch_prctl(0x3001 /* ARCH_??? */, 0x7fffd9f91550) = -1 EINVAL (Invalid argument) | |
| 2370 fcntl(0, F_GETFD) = 0 | |
| 2370 fcntl(1, F_GETFD) = 0 | |
| 2370 fcntl(2, F_GETFD) = 0 | |
| 2370 access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory) | |
| 2370 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
| 2370 openat(AT_FDCWD, "/usr/lib/sudo/tls/haswell/x86_64/libaudit.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 66 execve("/usr/sbin/service", ["service", "mongodb", "start"], 0x7fffca86c0f8 /* 13 vars */) = 0 | |
| 66 brk(NULL) = 0x7fffe0bcd000 | |
| 66 arch_prctl(0x3001 /* ARCH_??? */, 0x7fffe95b59e0) = -1 EINVAL (Invalid argument) | |
| 66 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
| 66 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
| 66 fstat(3, {st_mode=S_IFREG|0644, st_size=28564, ...}) = 0 | |
| 66 mmap(NULL, 28564, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fac7a509000 | |
| 66 close(3) = 0 | |
| 66 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 | |
| 66 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360q\2\0\0\0\0\0"..., 832) = 832 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Automatically generated file; DO NOT EDIT. | |
| # Linux/x86 5.7.0 Kernel Configuration | |
| # | |
| CONFIG_CC_VERSION_TEXT="gcc (Ubuntu 9.2.1-9ubuntu2) 9.2.1 20191008" | |
| CONFIG_CC_IS_GCC=y | |
| CONFIG_GCC_VERSION=90201 | |
| CONFIG_LD_VERSION=233000000 | |
| CONFIG_CLANG_VERSION=0 | |
| CONFIG_CC_CAN_LINK=y |
Recommended to install Waydroid in a brand new Ubuntu 25.04 install. Waydroid needs a custom linux kernel. Actually just needs latest kernel for WSL2 with just these changes before compiling:
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"