Jump to content

[Armbian build PR] - wsl2: vhd/vhdx exts; more wsl2 kernel stuff


RSS Bot

Recommended Posts

wsl2: vhd/vhdx exts; more wsl2 kernel stuff

  • linux-wsl2-x86-edge.config: enable moar Hyper-V stuff & console as builtin
  • extensions: image-output-vhd renamed to image-output-vhd-azure
    • only Azure wants the static, 1024-aligned original VHD images (and doesnt support VHDX?)
    • new VHDX output format (for generic Hyper-V on Windows 10/11/2019/etc)
  • extensions: image-output-vhdx: add output for dynamic .vhdx (in a zip file, to avoid sparseness errors)
    • new VHDX output format (for generic Hyper-V on Windows 10/11/2019/etc)
    • it is always stored (no compression) in a .zip file, to avoid sparseness errors
    • when building, transfer the .zip file over to Windows, and uncompress it there (not on WSL2 itself/Linux/other machine)
  • wsl2: enable image-output-vhdx for all wsl2 images (this enables wsl2 images to be run directly on Hyper-V)
    • future work: export the rootfs .tar.gz, that can be used on WSL2 as a Custom Distro

View the full article

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines