Page 1 of 3

[SOLVED] VM recommendation  [Solved]

Posted: Wed Apr 28, 2021 12:10 pm
by michaelbr
Never used VM in Linux, there are several flavors of VM for Linux, which one is best suited (uses less resources, faster speed, etc.) for MX Linux, the VM will be used to install Windows 8.1. Questions:
1) Had very bad experience with Windows 10 (installing updates/upgrade even with update disabled). Not sure if 10 will do the same under VM.
2) Is it recommended to "tweak" Windows in VM to your liking or it's better leave it alone? When I was a Windows user, every couple of years, I had to re-install Windows, otherwise it'll freeze/hang for no reason, Since Windows default install many un-needed apps, thinking in removing those apps to reduce resource usage.
3) any other recommendation/tips when running Windows 8.1 in MX?
ps: Is there any site with tutorial/recommendation/configuration for using Windows in VM?

Re: VM recommendation

Posted: Wed Apr 28, 2021 1:25 pm
by CharlesV
Probably the biggest question is *how* your wanting to use Windows? ( ie what for ) ... Depending upon how you use it will depend on how well it performs, how you set it up etc.

My personal experience ( and most people will have one :-) ) , is that VirtualBox is the best solution. Not for speed, not for mega controls.. however for ease of use, being able to tweak it if needed, assigning resources, controlling etc. And, its already on board MX :-) .

As for windows ... 8.1 is an abomination. You are FAR better to install win 10 and then properly tune it. Running win10 in a VM is actually pretty good once setup, and if you want to do it right, then dont use windows for surfing or email or *anything* else other than what you *need too use it for* , and keep it clean! One of the worst things about windows are the drivers.. and running in a VM the drivers get minimized and are less problematic.

Some cool things about the VM.. you can easily shut off windows so that it cannot reach the internet, keeping it from updating, or phoning home etc. (I advise against that, your FAR better off to tune win10 so that it runs better anyway. )

Somethings that will help stabilize windows and keep it running for a VERY long time :
- Dont use is on the internet - period ! ( no mail, no surfing,etc)

- Use your MXlinux to do ALL surfing and email etc. And as much work on it as possible, then the Win10 guest machine to do what you need to do in Windows.

- Dont install a bunch of stuff on it. Install JUST what you need to use it. (in my case - development tools only )

- After installation, go through and turn off *ALL* background apps that win 10 loads up, also spend some time and go through privacy settings and turn off everything that is not needed. (you can find many resources discussing this - but if you REALLY want it to run good - turn OFF *everything* in the privacy section - period!) I dont uninstall all of it, just turn it off in the background - in my experience attempting to 'remove it all' is more problematic, just let it be dormant.

- Dont scrimp on memory or disk space. Everyone will tell you that windows will run in 4gb (heck even 2gb) of memory. And if you dont want to do anything with it, then it will. However if you want windows to run good, then 8gb is minimum (and 16 is better!) . If your doing ANYTHING that requires real ram ( development tools, graphics, databases etc), then you need to be in the 12 to 16gb range and in a vm that means your host machine needs around 32gb to be 'nice' when running the vm. ( I can hear you all screaming - yes yes 16gb on the host and 8gb in the guest vm will work just fine, but I prefer to have BOTH my host and vm's work NICE and not frustrate me!! )

For my use, I found Virtualbox settings to be pretty good right out of the box. Some tweaking can improve performance and some windows tweaking can help too. However, I found to get it all setup, clean / tune / privacy your windows as good as you can and then go after specific things to speed them up - if you need too.

And again - if your not using windows on the internet, then its not a huge thing to just turn off the network for it and dont let it update and go to the internet. If you are going to use it limit your internet use on it, then you should be updating and making sure its up to date. ( but use linux for everything you can ! :-)

Re: VM recommendation

Posted: Wed Apr 28, 2021 2:38 pm
by michaelbr
CharlesV wrote: Wed Apr 28, 2021 1:25 pm Probably the biggest question is *how* your wanting to use Windows? ( ie what for ) ... Depending upon how you use it will depend on how well it performs, how you set it up etc.

And again - if your not using windows on the internet, then its not a huge thing to just turn off the network for it and dont let it update and go to the internet. If you are going to use it limit your internet use on it, then you should be updating and making sure its up to date. ( but use linux for everything you can ! :-)
Thanks so much for your detailed explanation, I'm afraid I'll have hard time with my current pc (has only 6GB RAM), as for Windows, I'll be using internet (but not for surfing, mainly to use Line and Adobe Digital Edition apps, only available in Windows, already migrated MS Office to LibreOffice). I guess what I'll do is to be patient until replace the pc. Thanks again for those valuable tips.

Re: VM recommendation

Posted: Wed Apr 28, 2021 5:02 pm
by figueroa
For my humble needs, I've found Windows 10 in VirtualBox giving it 4 GB meets all my humble needs -- so far to update the maps in my Garmin GPS. I also still have Windows XP in a VirtualBox virtual machine and give it 2 GB RAM, but I used to give it just 1 GB. I almost never run these things. The Windows XP VM is probably about 15 years installed and used just for QuickBooks auditing and some lightweight MS Publisher editing of other people's work. I cringe every time I use them.

I agree with the observation about Windows 8.1, and 8.0, and Vista in spades.

Re: VM recommendation

Posted: Wed Apr 28, 2021 5:58 pm
by manyroads
I use VirtualBox and have for more than 10 years. These days I assign each VBox 'machine' 8GB of my total 24GB. The bugger flies. MX offers one f the best setups for VBox, in my humble opinion. kudos.

Re: VM recommendation

Posted: Wed Apr 28, 2021 6:29 pm
by AVLinux
Lol, there always has to be at least one contrarian..

I switched from Virtualbox to VMWare Player this past year and I'm loving it! Virtualbox is a wonderful product but it doesn't like full preempt kernels which I need and I've found it often doesn't like newer Kernels to build it's modules and so far VMWare has no issues with either..

Re: VM recommendation

Posted: Thu Apr 29, 2021 2:54 am
by michaelbr
manyroads wrote: Wed Apr 28, 2021 5:58 pm I use VirtualBox and have for more than 10 years. These days I assign each VBox 'machine' 8GB of my total 24GB. The bugger flies. MX offers one f the best setups for VBox, in my humble opinion. kudos.
24GB!!!! This is my dream machine!

Re: VM recommendation

Posted: Thu Apr 29, 2021 2:58 am
by michaelbr
AVLinux wrote: Wed Apr 28, 2021 6:29 pm Lol, there always has to be at least one contrarian..

I switched from Virtualbox to VMWare Player this past year and I'm loving it! Virtualbox is a wonderful product but it doesn't like full preempt kernels which I need and I've found it often doesn't like newer Kernels to build it's modules and so far VMWare has no issues with either..
Thanks for the tips, what about the hw resources? I read over the net that VirtualBox takes a lot of resources, since I'm low in resources, maybe it's better I use VMWare instead of VirtualBox?

Re: VM recommendation

Posted: Thu Apr 29, 2021 3:04 am
by JayM
The amount of resources consumed by VirtualBox depends on how much RAM, virtual disk space and how many processor cores you alloce to each virtual machine (VM) in their settings as well as how many of them that you run at the same time. I was able to run VB with a MX Linux VM on a laptop with a 1st generation Core i5 CPU and 4GB of RAM with no problems, as long as the host machine (the physical laptop) wasn't also running several resource-hungry apps at the same time as VB.

Be aware that (AFAICT) VMware is commercial software and as such isn't supported here.

Re: VM recommendation

Posted: Thu Apr 29, 2021 3:06 am
by michaelbr
figueroa wrote: Wed Apr 28, 2021 5:02 pm For my humble needs, I've found Windows 10 in VirtualBox giving it 4 GB meets all my humble needs -- so far to update the maps in my Garmin GPS. I also still have Windows XP in a VirtualBox virtual machine and give it 2 GB RAM, but I used to give it just 1 GB. I almost never run these things. The Windows XP VM is probably about 15 years installed and used just for QuickBooks auditing and some lightweight MS Publisher editing of other people's work. I cringe every time I use them.

I agree with the observation about Windows 8.1, and 8.0, and Vista in spades.
Windows 10 in VM will install all kind of craps into OS? When I was using it (alone not under VM), it installed all sort of craps into OS, in less than a year, I ran out of HD space (I assumed that it was like Windows 8.1, when one disables update, it stayed disabled, but to my surprise Windows 10 does it on the background, even when update is disabled, didn't leave a lot of spare HD space for OS, mostly for data partition). So now I try to stay away from 10 as much as I can.