Jump to content

Hi all.

 

Linux and virtualization noob here. Just a curious question about running two operating systems. I have been really interested in changing to Linux for quite a while now. The biggest problem I always run into is software compatibility. It is almost there but I have just a few programs that I am stuck with windows for. I used a second computer earlier to try Zorin OS out and I really enjoyed it and I am looking forward to experimenting with other distros before I settle on one. I am going to build a new computer soon and I would like to find a way to run Linux as my main operating system.

 

To solve the problem of some programs not working on Linux (even after I tried with Wine and a couple other utilities for many hours), my assumption is a VM is a solution. I was thinking that it would be really cool if I could just boot up my computer into Linux and then windows would also automatically start up in a second virtual desktop or something like that. That way I can switch between them very easily and I don't want to have to do extra steps to configure it every time I start my computer if that is at all possible. I assume that is somewhat of an optimistic fantasy but I also know very little about virtualization so I guess I am asking if that is something that is possible.

 

Kind of a second but related question. The windows applications that I am stuck with still use my GPU quite a bit. I am familiar with the concept of GPU pass-through but I guess I am curious how the resource allocation would work for this theoretical configuration (if it is possible). Is it possible to dynamically allocate GPU resources between the two operating systems? In that same vein, is it possible to have the number of CPU cores dedicated to the system change with load as well or is by doing something like this, will I always be working with half (or any other percentage) of my CPU at any given time?

 

I realize this is a very wanting to have my cake and eat it too situation. Just curious if any of that is possible. I would really like to make the switch if I can find a good workflow for it. Also, I considered dual booting but I don't like how I would have to restart the computer every time I want to switch. Oh and if it maters for virtualization, for the new system, I am planning to go with a Ryzen 7900 or 7950x and to keep my current RTX 3090. I do a lot of very CPU intensive work (which I why I am curious about dynamic core allocation) and I also hit the GPU a lot but I rarely max both out at the same time.

 

Thanks for any input.

Link to comment
https://linustechtips.com/topic/1592481-running-linux-and-windows-simultaneously/
Share on other sites

Link to post
Share on other sites

Yes, you can run Windows in a VM with GPU pass through.  Yes, you can have that VM start automatically after logging into the Linux OS.  You can even use the same GPU in both Linux on metal and Windows in a VM quite easily.  Having said all of that, you need to be ready for some truths.  It will take effort and troubleshooting.  You will need to learn a few things before you get it all working.  It will not work the first time you try.  It probably won't work the third time you try. 

 

In my experience, both personal and dealing with others, until you are fed up with Windows to the point that are ready to dump the whole thing and live with the consequences, you likely won't stick with using Linux.  Everyone loves Linux until that certain something doesn't quite work right.  You'll end up re-installing Windows because it's easy.  I'm not saying there's anything wrong with that.  Most people are just not prepared to put in the work involved to truly switch to different OS.  The simple fact of the matter is the market has chosen Windows for it's software environment.  There are few paid apps on Linux because there isn't enough money to be made here.  I can see that changing a little bit in the future.  But it's a big ship to steer.

Malo Periculosam Libertatem Quam Quietum Servitium

Link to post
Share on other sites

Sounds like some applications require Windows. Are there apps you use that only exist in Linux and not Windows? 

 

If not, what is the point since you still have to use and maintain Windows anyway?

 

I just played with VM in Windows using Linux. One obvious disadvantage is, you split up computing resources. So you need more to begin with. 

 

IMHI, VM only makes sense to try it out. Ultimately you should decide on one OS. 

No signature

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×