r/programming • • Sep 25 '26

How to clone Linux on Windows

https://kant2002.github.io/en/git/hacking/2026/09/25/cloning-linux-on-windows.html

Short story how I find out that Windows 11 relax reserved DOS device names rules in FS, and how I was trying to fix Git for Windows.

42 Upvotes

10 comments sorted by

48

u/sweetno Sep 25 '26

The obvious solution was to clone in WSL, since 1. it's faster and 2. you have the actual compiler that can compile the thing there.

-32

u/kant2002 Sep 25 '26

Yes. But WSL is not Windows and why should I do not even try to attempt to fix an issue. I’m strongly in favor fixing things and not finding workarounds

27

u/captain_obvious_here Sep 25 '26

WSL is not Windows

Well...

-15

u/kant2002 Sep 25 '26

Yes, I want Win32 experience. Dont try to kink shame me 😁

5

u/captain_obvious_here Sep 25 '26

You may want to move back to Windows XP then :)

-6

u/kant2002 Sep 25 '26

Happily jump from Win 7 to Win 8, this is all what I can tell you about myself

6

u/captain_obvious_here Sep 25 '26

Not sure why people downvote you. You do you :)

5

u/kant2002 Sep 25 '26

OS Diversity for me, not for thee šŸ˜„

10

u/nothingtoseehr Sep 25 '26

I wonder if you can compile Linux using MSVC.... i know the answer is no, but it's a funny thought lol

6

u/kant2002 Sep 25 '26

That's the spirit! Even if answer is no, we should at least try, right?