F5F Stay Refreshed Software Operating Systems 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.

Set up a Linux environment on Windows using virtualization tools or compatibility layers.

K
KingPandino
Member
98
11-08-2023, 09:38 PM
#1
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.
K
KingPandino
11-08-2023, 09:38 PM #1

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.

D
DanielEmpire
Posting Freak
781
11-10-2023, 09:50 AM
#2
You can deploy a pre-existing Linux distribution inside a virtual machine and customize it as needed.
D
DanielEmpire
11-10-2023, 09:50 AM #2

You can deploy a pre-existing Linux distribution inside a virtual machine and customize it as needed.

G
golden_fraddy
Member
216
11-10-2023, 01:10 PM
#3
It could function if you have permission to use the binaries from Windows. Avoid setting up multiple virtual machines.
G
golden_fraddy
11-10-2023, 01:10 PM #3

It could function if you have permission to use the binaries from Windows. Avoid setting up multiple virtual machines.

N
numblegs26
Member
197
11-11-2023, 10:26 AM
#4
You have the option to create a shared directory within the VM or transfer it using SCP/SFTP
N
numblegs26
11-11-2023, 10:26 AM #4

You have the option to create a shared directory within the VM or transfer it using SCP/SFTP

S
SA_minecraft
Member
203
11-14-2023, 09:20 AM
#5
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?
S
SA_minecraft
11-14-2023, 09:20 AM #5

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?

D
Dana1211
Member
184
11-14-2023, 10:38 AM
#6
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
D
Dana1211
11-14-2023, 10:38 AM #6

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

L
Leeh42
Junior Member
36
11-16-2023, 10:20 AM
#7
You just got some concepts for tweaking the OS source code. Glad you're ready to try it out!
L
Leeh42
11-16-2023, 10:20 AM #7

You just got some concepts for tweaking the OS source code. Glad you're ready to try it out!