VirtualBox is ridiculously simple to set up and get virtual machines going. Shared folders, shared clipboard and much more are no issue.

But.

It eats resources. The installed virtual machines (VM) run relatively slow. What have you found to be feature comparable - and most importantly more resource-efficient - alternatives for running VMs under Linux?

58 points

Under Linux, the recommended route is KVM/Qemu, with Virt-Manager as the GUI front-end for them. You will need to follow tutorials to install it correctly, as it requires special steps, e.g. adding them to specific usergroups. But once it works, it works well.

permalink
report
reply
15 points

definitely not as easy as virtualbox

permalink
report
parent
reply

Gnome Boxes is about as easy as virtual box, and wont break your kernel.

permalink
report
parent
reply
11 points

Yes, I just switched to Qemu. Its great.

This video helped:

https://youtu.be/BgZHbCDFODk

permalink
report
parent
reply
5 points

Yea, the installation isn’t too difficult. Looking at my groups as well I think it’s only the libvirt group that you have to add a user to for KVM/QEMU with Virt-Manager, but the same could be said for VirtualBox as I believe you have to still add the user to the vboxusers group if you were to install it instead.

permalink
report
parent
reply
2 points

I recall I had to do like one thing to get it working outside of just apt install but I can’t for the life of me remember what it was. I just put the error in a web search and found what was needed to deal with it.

permalink
report
parent
reply
2 points

Not for the faint of heart, but I’ll keep it in mind.

permalink
report
parent
reply
43 points
*

virt-manager is my go-to. There’s also Gnome Boxes, but I’ve never used it myself. virt-manager is the best I’ve tried, personally. Both use KVM, so they should be much more resource efficient

permalink
report
reply
30 points

KVM, QEMU are the most common solutions here

permalink
report
reply
27 points

works decently enough for me is https://virt-manager.org/ to deal with libvirt. its not quite as nice in some ways but way less resource intensive.

permalink
report
reply
3 points

I agree. The only feature where I’d say it’s weaker feature-wise is it doesn’t have any form of virtual GPU acceleration - either you deal with software rendering or have to pass through a graphics card (I’ve done it, but it’s not easy.).

Otherwise, I’d say it tends to run better than VirtualBox, though it’s been years since I last used Vbox anyhow. A plus is Virt Manager comes in most distro repos, whereas VirtualBox doesn’t. Also, it allows you to directly edit the XML, so you can do some cool stuff that would be really annoying (not impossible) to do in VirtualBox.

permalink
report
parent
reply
5 points

actually, you can do vulkan passthrough if the guest machine is also linux

permalink
report
parent
reply
1 point

That’s my struggle with this solution as well.

Still, a solid choice.

permalink
report
parent
reply
19 points
*

https://virt-manager.org/ is a no brainer. Built upon libvirt/Qemu/KVM it’s way more powerful and pretty much just as easy to use. There is zero reasons to use anything else.

permalink
report
reply
2 points

How easy is it to convert a VirtualBox machine+hdd to Virt Manager?

permalink
report
parent
reply
20 points

Pretty damn easy.

qemu-img convert -f vdi -O qcow2 Windows10.vdi Windows10.qcow2

Here’s a more complete guide: https://cubiclenate.com/2024/05/30/converting-vdi-to-qcow2-step-by-step-guide-for-virt-manager-migration/

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7K

    Monthly active users

  • 7K

    Posts

  • 188K

    Comments