Set up a Linux environment on Windows using virtualization tools or compatibility layers.
Set up a Linux environment on Windows using virtualization tools or compatibility layers.
I've searched extensively but couldn't locate a viable solution. I'm seeking guidance to verify if Linux can be built on Windows without dual booting. My goal is to download, modify, and compile the kernel locally, then run it in a virtual machine. I'm encountering difficulties understanding whether this is feasible and would greatly appreciate any advice or resources.
You can deploy a pre-existing Linux distribution inside a virtual machine and customize it as needed.
It could function if you have permission to use the binaries from Windows. Avoid setting up multiple virtual machines.
You have the option to create a shared directory within the VM or transfer it using SCP/SFTP
You can simply add the new kernel to your OS inside the existing VM... Would you like to know what you're aiming for? Also, could you mention someone else when you respond?
You can develop it inside a Docker container. Microsoft endorsed this pull request: https://github.com/microsoft/WSL2-Linux-...aebed2eff4 which enables their Linux kernel version to run in a Docker image. For broader compatibility: https://github.com/moul/docker-kernel-builder