Closed elsaco closed 7 months ago
Repro steps are incomplete, which kernel binary are you using? For ARM64 we're booting from UEFI so it will need to contain the loader.
These are the targets from arch/arm64/boot/Makefile
:
targets := Image Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo
It defaults to Image.gz
so running make
builds a compressed kernel image. When added to .wslconfig
it won't boot. If the kernel image is being uncompressed then WSL starts okay. Removing the extension .gz
it won't work either. I tried bz2
image also w/out success. There is no option to build bzImage
for arm64
Tested on DevKit 2023 (a.k.a Volterra) but it shouldn't matter the platform.
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.
Thank you!
Windows Version
Microsoft Windows [Vesion 10.0.22621.1413]
WSL Version
1.1.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.1
Distro Version
Ubuntu 23.04
Other Software
No response
Repro Steps
linux-msft-wsl-5.15.90.1
usingconfig-wsl-arm64
.wslconfig
wsl --shutdown
Expected Behavior
WSL distro starts with custom kernel.
Actual Behavior
If kernel is compressed WSL won't start. After minutes it shows timeout errors:
Diagnostic Logs
It works if the custom kernel image is uncompressed.