this post was submitted on 10 Aug 2024
83 points (98.8% liked)

Linux

48677 readers
399 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 

I use vmware and qemu

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 40 points 4 months ago* (last edited 4 months ago) (8 children)

None, I use Docker for Linux, and Proton (Heroic) for Windows.

But if I had to pick a virtual machine: libvirt with virt-manager as a frontend, which uses KVM for virtualization.

[–] [email protected] 15 points 4 months ago (5 children)

From my other comment:

Then I created a Docker image with Linux, Gnome, and novnc so I can spin one up instantly with little resource overhead and control it from any web browser.

Maybe I should release my Dockerfile.

[–] [email protected] 3 points 4 months ago (2 children)
load more comments (2 replies)
[–] [email protected] 3 points 4 months ago (1 children)

I might actually be interested. It's like a lightweight alternative to Proxmox?

[–] [email protected] 3 points 4 months ago (1 children)

Sort of, Proxmox does use noVNC I think, but it's a lot of overhead. This is just a docker command. I've finally put a page up for it: https://nowsci.com/webbian/

load more comments (1 replies)
load more comments (3 replies)
[–] Mwa 5 points 4 months ago (1 children)

But if I had to pick a virtual machine: libvirt with virt-manager as a frontend, which uses KVM for virtualization.

Its fair bcs vmware workstation does not support gpu passthrough libvirt with virt-manager is the only way

load more comments (1 replies)
[–] [email protected] 3 points 4 months ago (1 children)

Correct me I'd I'm wrong, but with docker you're limited to the filesyatems and the image of the OS you're installing. If you need to experiment with the pre-OS boot events, can that even be accomplished with docker? E.g., trying out different GRUB settings, setting up LUKS with dropbear etc. I think those things require a VM.

[–] [email protected] 6 points 4 months ago (1 children)

Yeah, you are correct. Docker shares the kernel with the host operating system, it doesn't use hardware virtualization. That's why it's so fast and simple, but it also means it's not a traditional VM and thus comes with some limitations.

load more comments (1 replies)
load more comments (5 replies)
[–] [email protected] 34 points 4 months ago (4 children)

GNOME Boxes because it doesn't require 5 academic degrees to set up and I'm a GNOME user.

[–] [email protected] 5 points 4 months ago (2 children)

Same.

The lack of graphics acceleration is a bit painful though.

VirtualBox won't work on Fedora 40 AFAICT, and once installed it can't be uninstalled.

[–] [email protected] 5 points 4 months ago (2 children)

It has graphics acceleration.

load more comments (2 replies)
load more comments (1 replies)
load more comments (3 replies)
[–] [email protected] 21 points 4 months ago (12 children)

Qemu/KVM and Virt Manager. I have three VMs that I pass my GPU to: a Hackintosh, a Windows 10, and and Windows 7.

load more comments (12 replies)
[–] [email protected] 13 points 4 months ago

virtmanager as frontend for qemu/kvm. I tried the commandline but it's too annoying

[–] [email protected] 12 points 4 months ago (3 children)

Usually VirtualBox. It's easy and free.

[–] [email protected] 4 points 4 months ago (1 children)

a rather odd choice given the alternatives

[–] [email protected] 4 points 4 months ago

Besides VMWare it always seemed the easiest for me to quickly make a Windows VM or so. Everything else usually had more configuration steps. But that's been a while ago. There could very well have been easier tools available in the mean time. I never bothered to look.

I only ever used "permanent" virtualization once on my server. I think with Xen. But it didn't give me any benefits for my use case so I dropped it later on. Also probably at least ten years ago.

load more comments (2 replies)
[–] [email protected] 12 points 4 months ago

KVM

(VMware is proprietary software)

[–] [email protected] 11 points 4 months ago

KVM + Qemu + libvirt + virt-manager = ❤️

[–] [email protected] 10 points 4 months ago (1 children)

I used KVM with virt-manager for a long time. Even ran a gaming VM with GPU pass-through.

Then I created a Docker image with Linux, Gnome, and novnc so I can spin one up instantly with little resource overhead and control it from any web browser.

load more comments (1 replies)
[–] [email protected] 7 points 4 months ago

Virtmanger-kvm-qemu

[–] [email protected] 7 points 4 months ago

I use qemu, but with Quickemu 'cause I'm lazy lol.

[–] [email protected] 7 points 4 months ago (2 children)

I use virt-manager, aka Virtual Machine Manager. Using this specifically because of the winapps for Linux repo has instructions on how to get Windows apps to run through the VM to be integrated in a Linux environment.

[–] [email protected] 2 points 4 months ago (3 children)

How "scriptable" is virt-manager?

My biggest issue with VirtualBox is that I have to install OSes as if I'm actually installing them. There aren't any images (at least that I'm aware of) that can run with a command, like deploying an EC2.

[–] [email protected] 3 points 4 months ago

Virt-manager isn't super scriptable but the underlying libvirt can be controlled by virsh which is a shell interface to libvirt. You can use both at the same time, e.g. start and stop via virsh and access to gui container via virt-manager/virt-viewer.

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 6 points 4 months ago

I'm kinda lazy so when I need one, I just use Gnome Boxes and it's pretty easy to setup.

[–] [email protected] 6 points 4 months ago

Qemu+Kvm with virt-manager is my boy nowadays. But I'm not a heavy user of Vms, just experimented with this to build some Flatpak. But plan on trying out other distributions, just for science. It wasn't easy to figure out how to share a folder, and I could not get drag and drop or clipboard share to work. Still though, its faster than any other solution. I used VirtualBox in the past, which was easy to work with.

[–] [email protected] 5 points 4 months ago (3 children)
[–] [email protected] 4 points 4 months ago

I use Proxmox for the machine that I use to download all of the Linux ISOs I want. You know, with a VPN, through BitTorrent. Linux ISOs.

[–] [email protected] 3 points 4 months ago* (last edited 4 months ago) (2 children)

Proxmox isn't really its own hypervisor. It combines a few common projects to make a OS. It is pretty much KVM with corosync for clustering.

With that being said it is a solid platform. Just keep in mind it is just standard Linux virtualization and for single nodes you can get the exact same setup easily on any Linux system.

load more comments (2 replies)
load more comments (1 replies)
[–] [email protected] 5 points 4 months ago* (last edited 4 months ago) (2 children)

Gnome boxes.

Based on QEMU+KVM so it's quite robust. It works pretty well, plus it has various little features working out of the box that in some other software is a pain in the arse to configure.

Sticks out a bit on my system due to still being GTK3, but there is a GTK4 prototype out that usually works well.

E: downvoting anybody who says Gnome Boxes because you use a different virtual machine frontend is laughably pathetic lmao. Some people in the Linux community are such losers lol

[–] [email protected] 4 points 4 months ago

Does it matter what front end it uses if the underlying environment is QEMU+KVM. Upvote for tha above.

load more comments (1 replies)
[–] [email protected] 5 points 4 months ago

I use libvirt to do all my kvm/qemu stuff on my server. Using cockpit-machines web UI as a frontend. On my workstation if I ever need a VM I usually turn to Gnome Boxes for simplicity

[–] [email protected] 5 points 4 months ago

@Mwa qemu :blobfoxcomfycomputer:

[–] [email protected] 5 points 4 months ago

Virtmanager and qemu/kvm

[–] [email protected] 4 points 4 months ago* (last edited 4 months ago) (3 children)

Virt manager for qemu. I use docker and distrobox for Linux distros

I recently managed to use my windows partition (for dual boot) as a disk for a qemu. I don't use it but really cool trick anyways. Tutorial here

Also it's not very healthy for windows since it is not designed for constant hardware changes. But idc all my apps are installed on D: so I can just reinstall it without thinking about it much

load more comments (3 replies)
[–] [email protected] 4 points 4 months ago

So far I’ve been fine with some Oracle Virtualbox and some using the VM Manager that was in my distro or maybe I downloaded it. It’s just called Virtual Machine Manager made by Red Hat. Libvirt.

Between those I’ve been able to do everything I have needed.

[–] [email protected] 4 points 4 months ago* (last edited 4 months ago)

Linux: qemu

OpenBSD: vmm, qemu when vmm isn't good enough

[–] [email protected] 4 points 4 months ago

Virt-Manager, even works remotely via SSH.

[–] [email protected] 3 points 4 months ago (1 children)
[–] [email protected] 8 points 4 months ago (1 children)

Owned by Oracle. Stay away from Oracle.

[–] [email protected] 6 points 4 months ago* (last edited 4 months ago)

It also taints the kernel with a useless module and doesn't really offer much in the way of features over plain old kvm qemu

[–] [email protected] 2 points 4 months ago (2 children)

If I'm running another Linux distro that will be happy under the host kernel then I use LXD (or Incus) containers. Otherwise it's QEMU+KVM or occasionally Virtual Box.

load more comments (2 replies)
load more comments
view more: next ›