r/AskProgramming • u/riki6882 • Aug 26 '26
Is dual-boot worth it?
So I am begginer developer I've been whole life on Windows and I've started with frontend but last months i've been digging into some backend (go) but i think as a solo developer I'll need to do fullstack probably react or something is it good idea to separate my coding workspace to linux, so having both windows and Linux as a dual boot i don't want to give away the windows environment i have there, thanks for answering
16
Upvotes
14
u/platinum92 Aug 26 '26
why would separate your entire code workspace to a new OS? Like you could, but why do you need to?
You could get the same effect by just saving everything in a different folder and using WSL
5
u/grantrules Aug 26 '26
On my windows PC, I do all web dev in WSL (or a docker container running within wsl). I run Linux 100% of the time on my laptop though.. no dual boot, and I have a Linux personal server
13
u/maqisha Aug 26 '26
Should you switch off of windows for your own sake? Absolutely.
BUT, dont do it because of learning software development. It doesnt matter at all, especially on your level. Use whatever is more comfortable for now.
Regarding dual boot, if you have a separate SSD go for it, i wouldnt wanna deal with dual booting on the same drive, especially as a newbie.
3
u/KingofGamesYami Aug 26 '26
If you're using a cross platform language like Go there is basically no benefit to dual booting. I work on Windows and deploy to Linux all the time, no wsl, no VM, no dual boot.
3
u/Vert354 Aug 26 '26
I've never had a dual boot setup that I actually liked. Its just full of compromises that dont feel worth it.
If you dont want to ditch Windows and want a Linux environment for development, WSL is pretty awsome.
Personally I just keep an extra laptop around and run Windows on that for anytime I need it. Every other machine that I use is linux.
4
u/nwbrown Aug 26 '26
WSL these days makes a dual boot mostly unnecessary.
2
u/infinitythestar Aug 26 '26
These days you don’t need to do that. 10-20 years ago absolutely, but now with WSL, docker, virtualbox, etc there’s no need
2
u/greyHumanoidRobot Aug 26 '26
I've tried Virtual Box and dual boot. Now I just have 2 computers side by side.
They're all okay. Nothing is without inconvenience.
The best is just Windows all the time, frankly, just because I think C#, Visual Studio, and the Windows GUI is superior to Java, Eclipse, and bash. It's good to keep a foot in the Linux world otherwise you'll think the grass is greener over there but I haven't found that it is.
2
u/Tight-Book-7533 Aug 27 '26
If you're comfortable with Windows, just keep using it. You can use Docker to emulate your server environments and services that you need for development. If you want to get more in depth with Linux, you can create a virtual machine using something like Virtualbox (free) and use that for your dev environment so you can be more comfortable working within the Linux environment.
2
u/BoBoBearDev Aug 27 '26
No, you can do linux in Windows already, it is called WSL and docker.
2
u/sock_dgram Aug 27 '26
I wouldn't. Rebooting sucks and you'll end up using one system way more than the other while still maintaining both. It's fine if you use Windows only for gaming or other isolated and long-term activities while everything else is on Linux, but otherwise I'd just keep everything in one system.
2
u/chhuang Aug 27 '26
used to dual boot or VM, up until WSL came along, now just use WSL most of the time.
Dual boot is really more of a hobby back then as my workload can be handled in VM. Ends up daily driving linux for 10 years without booting windows. Until I landed a .net job is when I switched back to windows today
2
u/Oster1 Aug 27 '26 edited Sep 11 '26
Yes. I do occasional gaming and booting to Windows takes ~15 seconds. I mainly use Linux 99 % of my time for software dev and regular Internet browsing etc. I've been going with this setup for 5 years at least and I would never go back. With this setup you never have to spend extra time trying to figure out why some driver doesn't work. But are you concerned of work- or home setup, because the answer would be different. In work I use Linux with Windows running in VM.
2
u/CowBoyDanIndie Aug 26 '26
If you don’t need a native linux gui just use wsl. If you do… its workable but kinda sucks.
1
u/BranchLatter4294 Aug 26 '26
You can use WSL, a full VM, or dual boot....whatever works best for you is fine.
1
u/spatula Aug 26 '26
I gave up on dual-booting well over a decade ago, and now I just run a FreeBSD VM on my desktop so I can have both operating systems active effectively all the time, without having to pick one or the other. It's much better for my sanity.
1
u/karurosagu Aug 27 '26
Dual boot is worth it, but you have to define clearly what do you do on Windows that you can't do on Linux and what do you do on Linux that you can't (or don't) want to do on Windows
In my case, I used to either spend half of the day on Debian (Linux) for most of my work and then switch to Windows without breaking my workflow (after lunch for example) for the rest of the day, or spend the entire day on either system without switching, which is something I used to do on most weekends
1
u/high_throughput Aug 27 '26
If you don't think Linux sounds fascinating and awesome, then don't bother.
Set up a VM or get a free Linux cloud machine and practice hosting and deployment instead.
1
u/biskitpagla Aug 27 '26
You listed pros but no cons. It seems like a no-brainer. And Linux already supports NTFS just fine, so it's not an issue at all to make a shared drive. I had one myself before I made the full switch.
1
u/symbiatch Aug 27 '26
Why would you need Linux for anything? Thats the question. All of your coding can be done on Windows without issues. And as many have said WSL is there if you need something special. Dual booting will just make you annoyed.
1
u/GrainWeevil Aug 27 '26
I did this a long time ago, and ended up using Linux as my primary OS. I couldn't completely cut loose from Windows since I was still gaming and doing some audio programming.
I'd say it's not strictly necessary for the kind of work you mentioned, but if you're interested in learning Linux for its own sake, it'll give you some valuable experience.
If you'd rather focus on learning to develop though, you'd be better off sticking to Windows. Even on beginner-friendly distros like Mint, you'll likely spend a chunk of time fixing things that don't work out-of-the-box (WiFi driver issues, audio latency issues, secure boot, etc) and it can potentially become quite frustrating.
It is definitely worth learning your way around a Linux shell though, so the WSL approach is a pretty good shout for this.
If you do decide to give it a go, make sure you've backed up your system first, and try it out on a Live USB before taking the plunge.
1
u/meshifthenelse Aug 27 '26
Unless PC gaming or audio production is important to you, I'd stick to Linux. It's a great way of learning how the OS works, and the terminal is the major interaction layer. Also your machine becomes instantly closer to production. Ubuntu is great.
1
u/Party_feeler2000 Aug 27 '26
No, my PC got slower, so I switched to WSL
1
u/enricojr Aug 27 '26
I tried dual boot ages ago (2012-2013), Windows for personal stuff, and Linux for coding / work stuff, it was way too clunky for me. Having to restart and boot into an entirely different OS every time I needed to do something coding related, because it meant saving and closing everything on the Windows side, and then restarting all of that stuff when I switched back.
There's also the issue of transferring files back and forth between the two sides - my issue was that Linux distros at the time used ext3/4 (can't remember which) partitions while Windows used NTFS. There were solutions to this problem, but I wasn't really all that good back then and had issues getting them to work.
WSL is definitely the way to go for web dev work on Windows, or if it's really just for coding you can't go wrong just buying a cheap, used laptop that you can install Linux on. Used Thinkpads are a solid choice, and they can be had for pretty cheap if you hunt for deals.
1
u/LabibRahman000 Aug 27 '26
Try both dual boot and WSL for a while you will get to know what suits you better.
1
u/Working-Cat6470 Aug 27 '26
I found I was more productive because I couldn’t access most of my stuff with rebooting, and having an OS with no bloat was also nice
1
u/jenkstom Aug 27 '26
You bet... I got a new company laptop and was shrinking the windows partition down to install kubuntu, which I did. But when I tried to boot into Windows it gave me a bitlocker warning and refused to boot.
So I just wiped the whole thing and put Kubuntu on it. Exactly where I wanted to be in the first place! It was totally worth it!
1
u/Humble-Falcon7656 Aug 27 '26
Dual booting is not worth the friction for fullstack development. Install WSL2 with Ubuntu and run your Go backend and React frontend directly inside it while keeping Windows for daily tasks.
1
u/Negative_Minimum4131 Aug 28 '26
I used to have dual in the past with Windows and Ubuntu. But over time I got used to Ubuntu so much I even forgot to use Windows. It is just a waste of money
1
u/AncientHominidNerd Aug 28 '26
If you’re new then no and just doing basic front end and some go, then no not worth it. Just organize your workspaces better.
Linux is cool but the reality is most new users spend more time making their desktop look cool than actually making use of it. If you ever start working with low level systems or something then maybe yeah do Linux.
Also if you’re going to dual boot Win11 with Linux, you MUST have them on separate disk because Win11 is a little ass-shit and likes to “repair” your boot config files to auto boot to Windows each time. It’s a pain in the ass.
1
u/id-ltd Aug 28 '26
No, dual booting is not worth it - ever.
I have a decent Linux server, an ancient widows 10 laptop and several android tablets.
I mostly use the windows pc - but all compiles etc are pushed onto the Linux server... If I need a quick search in a browser I get a tablet to do it.
I use AI a lot and can get it on one machine to SSH or adb to another and do what is needed there - each device is a gateway to the others.
Linux, windows, android (and arduino) all at my finger tips from cheap kit, no reboots needed.
1
u/StrayFeral Aug 29 '26
You could do dual-boot. I still have one of my laptops Win10-Debian13. However nowadays you can do WSL. And also you can do linux as a virtual machine. And also you can do linux as a persistent memory stick bootable. Plenty of choices.
1
u/SpacewaIker Aug 26 '26
No, it's a pain and won't bring you anything all that useful apart from very specific cases
1
u/DGC_David Aug 26 '26
Idk, I gave up on Windows years ago.
0
u/Pretagonist Aug 26 '26
Dual boot brings nothing to the table. It's not a useful thing to learn and it won't help you. Windows has no issues running a Linux system using wsl, dockers or VMs.
But it mostly depends on what you're going to code. It's often easier to build in the environment that you expect your code to run.
I personally run windows machines as my workstations but I always have wsl partitions and I have a home lab hypervisor with a bunch of Linux VMs, containers and such. Unless you're doing mac/ios coding it really doesn't matter that much.
0
u/WildMaki Aug 27 '26
For me the best solution is a virtual machine. Virtual box works fine. You gain a full linux and windows environments running at the same time and that can exchange data. It takes some gigs on the disk and may require some additional ram.
WSL works but has limitations with X: some apps don't behave the way they should, virtual desktops are windows desktops which are crap, etc. But you this get both environments running at the same time and able to communicate
Dual boot was fine 20 years ago when virtualisation was a young technology. Unless you don't share any data between bother environment, it'a a pain in the a... as you need to reboot to get from one envi6to the other one
-1
u/SouthernFruit8768 Aug 27 '26
Get rid of Winslop and put it in a VM on Linux as and when required.