I started programming for a while and the first thing that I did is to install Ubuntu latest version (18.04 LTS) for Linux (via virtual box) environment as other developers recommended.

So, while I started using I realized my Ubuntu doesn't really work as smooth as my main OS is Windows 10. My laptop is really strong enough to handle many tasks (Dell XPS 13 9370) and now I'm not sure if the right choice is to switch for dual boot instead of the virtual box.

What do you think should I do if I want to program for a long time and being more productive?

And if it does necessarily what is the best way to switch. The only thing is to protect my main OS and BIOS and not to harm any functions/features that I already have.



  • Suggestion: Tell which programming language to be used in Ubuntu? The question as it is seems too broad. – clearkimura Jul 7 at 11:04
  • 5
    Possible duplicate of Deciding between virtual machine or dual-boot setup – karel Jul 7 at 11:08
  • Did you allocate enough memory to your guest system? How much physical memory does your host system (laptop) have? – FedonKadifeli Jul 7 at 12:41
  • 2
    It is relevant today, as long as you understand what a virtual machine is. – GabrielaGarcia Jul 8 at 12:27
  • 1
    I'd suggest you try a dual-boot setup for the simple reason that what you currently have is slow. Assuming you done whatever you can to improve your current environment (i.e., allocate more memory), you should try the other option because otherwise, you'll keep working thinking about it. I personally only dual boot because I have noticed a small performance hit when I use a VM. But maybe it's "in my head". – Ray Jul 8 at 14:44

What I have at work which I find most comfortable is to have a Windows 10 VM under Ubuntu in dual boot with Windows 10 having an Ubuntu VM.

What you do is:

  • Create your dual boot
  • boot into ubuntu,
  • install virtualbox
  • use virtualbox to load up the physical windows. (yes this requires a second screen to really take advantage of)

As you already have W10 with Ubuntu in a VM, don't change that!

This works like a charm and is the best of both worlds because if you ever need to you can reboot to the physical version of the Windows and while in Ubuntu mode you can have a single mouse and keyboard for both active systems plus a shared clipboard (and if you go crazy on the configuration, even a shared drag and drop between the two systems)

That's what I find most handy. I don't have to halt work on either system. I can just keep doing what I'm doing on both at the same time. and it takes no getting used to.

  • Thanks for your reply. Not sure if I completely understood what you said. We are talking about doing dual-boot (having 2 OS installed) or switch to Ubuntu as the main OS? – n1vgabay Jul 8 at 15:18
  • again both of those. A dual boot but you mostly boot ubuntu inside of which you can also start the same windows you had as a choice furring boot but as a virtualized OS. this is actually the same suggestion made in the answer marker as duplicate of your question. – tatsu Jul 8 at 19:25

Do it other way around: install Ubuntu as the main OS and put Win10 into VM (until the moment when you're comfortable enough to get rid of it completely).

Background: I'm using similar laptop (xps13 smth) and the hw support is pretty good under GNU/Linux.

  • Some of the games support Windows but not Ubuntu. What if OP wants some gaming too? VM ain't a good option for running heavy softwares. Also, your answer looks more like opinion based. – Kulfy Jul 8 at 14:34
  • @god, Did you switch your OS systems already? I mean like you said, Linux/Ubuntu as main and Win10 into VM. – n1vgabay Jul 8 at 15:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.