Skip to content

Virtualising on Arch

Removed before it was archived.

Edited 13 Sep 2020. We only hold this version.

8 points13 comments
Open on Reddit
About this post
Posted
Archived
Deleted on
Edited
Score
8 · 85% up
Kind
Text
ID
gi2qsr

16 comments

If you want something with an easy GUI that performs much better than Virtualbox, VMWare Player is free for personal use. If you want something much more powerful but is a bit more complex to set up, KVM.

To expand on KVM, you can really go all out. I still have to use Windows for some tasks so I have it running in its own VM with its own dedicated graphics card and monitor, and I use Synergy to share my keyboard and mouse between them. Basically a dual-monitor setup but one monitor with Arch, another with Windows.

7 points

Thanks, I set up VMWare player and it's relatively faster. It should be enough for college stuff. I don't have a monitor with me atm, is it possible to set up KVM without it?

1 points

Yes it is. I had KVM/QEMU on my laptop (Arch host) for running Windows.

Here are videos on how to do it:
Chris Titus Tech: Part 1 Part 2
Vashinator: Full Guide

KVM/QEMU is amazing and definitely worth it but it has a lot of option so it could be good to do a bit of research in advance.


On top of that, if later you also want to play games that cannot be played on Linux because of anti-cheat software or you want the absolute best performance, you can setup a passthrough. The idea is that the VM uses your GPU or other hardware components directly instead of through a middleware. This will make the component unavailable on the host while in use by the VM but that way the virtualisation runs as if on bare metal and thus at best performance. It is ideal to have 2 GPUs for this so that you can keep one for the host and dedicate the other to the VM.

This post is an excellent starting point and should be able to get you going with the best possible performance.

5 points

You can but IMO VMware player is going to perform better than KVM since you can't pass through your GPU (since you only have one if you pass it through your host OS will be unable to use it).

1 points

Libvirt, virt-manager if you really need top use a gui. I run a W10 for my banks USB card reader for functions it can only do in windows. Zoom has a Linux client, I used to use it. There's even an install section for Arch. https://support.zoom.us/hc/en-us/articles/204206269-Installing-or-updating-Zoom-on-Linux?mobile_site=true

3 points

Wow, that's the first time I've ever seen a large company post Arch install instructions...

In the rare case there's any Linux support at all there's usually only Ubuntu instructions.

3 points

Yes quite surprising. I used it for a while in my previous job when I used my Arch at work.

1 points

Thanks! I'll check out libvirt. I need win10 because my phone manufacturer has some tools that are only available on windows. The reason I want to install zoom on a vm is because I don't want it having access to my host machine with sensitive information.

1 points

If you're looking at running something securely like that, I hear firejail can be used for that. Not sure how it compares though.

1 points

If you want to pass through stuff like a gpu then vitt manager with kvm is the best option

1 points

What about networking in Virt-Manager on laptop? I thought it did not like to bridge a wifi connection?

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.