Welcome to our New Forums!

Our forums have been upgraded and expanded!

Virtualization and GPU-Passthrough

serpentwalker666

Well-known member
Joined
Oct 24, 2017
Messages
1,411
Today I want to go into detail about virtualization and how important it can be to utilize at times.

With using hypervisors you can emulate so many different operating systems and software stack combinations that It makes a really good sandbox for testing things out.
Sometimes you don't want to just take your precious one and only machine, and throw some obscure, somewhat finicky system on it to play around with, but maybe you REALLY want to play with NetBSD, or Haiku OS?

Or maybe you just want a Debian or Ubuntu Virtual Machine, or something like FreeBSD so you don't have to fight with hardware incompatibilities.

That's the beauty of virtualization.. you can have a nice sand-boxed environment that you can learn and fiddle with before you throw together an actual machine for the OS you are trying out.

This article by Red Hat goes into greater detail and offers alot of more in-depth information about this for whoever wants the super technical explanations:


MentalOutlaw's video here is a good explanation for virtualization as well.



For Linux you can't beat QEMU, Virtual Box and KVM, they are your best choices in my opinion:




For each of these typically you want to look for the installation instructions, or follow a good guide for your specific OS, as it varies and some have unique quirks, like the privileges that you have to manually set before virtualization will enable on certain Linux distros.

Anyone running the Gnome Desktop Environment on Linux can just get Boxhttps://86box.net/es, I've used it in the past and while not great, it's not bad either:


For enterprise or setting up a little home server for virtualization proxmox is typically worth it:



There is some other things I want to mention here as well, like GPU-Passthrough. This is a bit more involved as you have to have the money for this as it can get expensive.
Essentially you take a higher end machine and equip it with two graphics cards, and through getting things prepared and set up correctly on the Linux Host, you can have a separated Windows Virtual Machine for certain programs and software stacks you couldn't run on linux, with performance right around that of bare metal. You can also pass some RAM and Cpu Cores through as well.

Realistically, you are better off dual booting if you don't have the money, or just having a separate windows machine for the specific use-case, but even then a GPU-Passthrough setup can be really useful and good to configure and set up.
Yet, unfortunately it is quite tedious and cumbersome to get working. You also do not want to use one graphics card for a pass-through set up. You can experience some really bad bugs depending on the chipset, and things get real easy to mess up and ruin your host system as you get into messing with the init dracut operations, and other things related to offloading and on-loading devices.. If you want to be one of those guys and still go ahead with a one gpu-passthrough set up, you have now been informed.

Here is some information to start, keep in mind this process is complicated and you typically want to hunt around through videos and many different tutorials, but these are good to start:




The guide from Gentoo Linux is also super helpful:



For the last part I want to share a link to 86Box. This one I found particularly interesting as you can emulate retro hardware and retro operating systems fairly decent with it, the site here goes into what differentiates it from other virtual machine programs I linked above:



I hope this post is very helpful, if more information is wanted on this I can share more, as it is really good to know if one has a use-case for virtualization.
 
There is some other things I want to mention here as well, like GPU-Passthrough. This is a bit more involved as you have to have the money for this as it can get expensive.
Essentially you take a higher end machine and equip it with two graphics cards, and through getting things prepared and set up correctly on the Linux Host, you can have a separated Windows Virtual Machine for certain programs and software stacks you couldn't run on linux, with performance right around that of bare metal. You can also pass some RAM and Cpu Cores through as well.

Realistically, you are better off dual booting if you don't have the money, or just having a separate windows machine for the specific use-case, but even then a GPU-Passthrough setup can be really useful and good to configure and set up.

I think the best use case for this is to have a linux host and install windows on qemu with gpu passtrough, so that you have a private OS but you can play games and all that on windows completely sealed off from your Satanic things. With dual boot, it can probably access your hard drive with the linux os especially if it's on the same drive and it's not encrypted.
Altough if you encrypt your linux OS than it might be okay to dual boot.

One can also install O&O shut up on their windows system (worthy for both guest and especially host system) and this can disable telemetry and such. One can also disable all of microsoft's ip for outgoing traffic, there are tutorials on youtube.
 

Al Jilwah: Chapter IV

"It is my desire that all my followers unite in a bond of unity, lest those who are without prevail against them." - Shaitan

Back
Top