Virtual machine questions - I think I got it....

I remember back the the old days...XP ran on 512MB of Ram and a 128MB Graphic Card...how times have changed...back then there was no Virtualbox.
1776641114187.gif
 


I have no idea what command you refer to.
Ok, when I install virt-manager (from the sofware manager) and rebooting (just in case) I launch and get this:
Virtual Machines Manager Connection Failure
Verify that the 'Libvirtd' daemon is running

This, all the tutorials tell me, is normal, and to solve run this command:
sudo usermod -aG libvirt $/(whoami) && sudo usermod -aG kvm $(whoami)

This is where I hit yet another brick wall; I get an error message stating that 'libvirt' does not exist. Since, in all the tutorials and videos everything runs as smooth as snot (naturally) I can find nothing even mentioning this, let alone how to solve it.
 
Op, do yourself a favor and remove virt-manager and all it's dependencies. If you installed through the "Software Center" (or whatever Mint calls it) remove it from there.

Then open the terminal (YIKES!!!!) and paste the following command.

Code:
sudo apt install --needed virt-manager qemu-desktop libvirt edk2-ovmf dnsmasq vde2 iptables-nft dmidecode
This installs everything you need including the GUI.

Next we have to make sure that the libvert deamon is running and keeps doing that after reboots. This deamon creates the connection KVM needs to run.
In terminal:
Code:
sudo systemctl enable --now libvirtd.service

That's it. You can now create VMs. The "Virtual Machine Manager" icon is now in your menu. Go find it, click it and run it.

To check if libvert.service is running:
In terminal:
Code:
systemctl status libvirtd.service

Hope this helps. This is how I install virt-manager for years.
If virt-manager is not running after this way to install, check your BIOS if virtualization is enabled.
 
Well, that started normally (for me, anyways). I clicked on Remove in the software Manager. removed Virt-manager then I opened up the Terminal, entered your first command and this is what I got:
chris@chris-Latitude-E6510:~$ sudo apt install --needed virt-manager qemu-desktop libvirt edk-ovmf dndmasq vde2 iptables-nft dmidecode
[sudo] password for chris:
E: Command line option --needed is not understood in combination with the other options
chris@chris-Latitude-E6510:~$

So, on a whim I tried it without the "--needed":
chris@chris-Latitude-E6510:~$ sudo apt install virt-manager qemu-desktop libvirt edk-ovmf dndmasq vde2 iptables-nft dmidecode
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package qemu-desktop
E: Unable to locate package libvirt
E: Unable to locate package edk-ovmf
E: Unable to locate package dndmasq
E: Unable to locate package iptables-nft
chris@chris-Latitude-E6510:~$
 
Well, that started normally (for me, anyways). I clicked on Remove in the software Manager. removed Virt-manager then I opened up the Terminal, entered your first command and this is what I got:


So, on a whim I tried it without the "--needed":
I am at a loss here. It should be in any and every repository.
 
So, on a whim I tried it without the "--needed":
This is exactly what the OP of the first link wrote about, @PuppyHome . The packages changed/ the additional don't exist anymore.

And they also write the group handling (the command that errors for you). Just try to launch virt-manager after installation without any further commands, and then we see where you at.
 
man apt tells me, --needed is not a known flag.
apt search qemu-desktop does not find anything, there is a qemu-web-desktop package though
apt search libvirt finds libvirt0 as a possibility
apt search edk2-ovmf gives nothing
dndmasq is a typo and is written as dnsmasq by PuppyHome. That's available within the repro.
apt search iptables gives nothing

All on Mint 22.3.
 
man apt tells me, --needed is not a known flag.
Yeah, I was wrong about that one. That's probably an Arch thing. (pacman).
I'm starting to get confused running between distros.
 
Well, that started normally (for me, anyways). I clicked on Remove in the software Manager. removed Virt-manager then I opened up the Terminal, entered your first command and this is what I got:


So, on a whim I tried it without the "--needed":
did you run sudo apt update before attempting the install?

Edit: I have qemu and virt-manager installed but I don't remember exactly what i needed to install to get it. I would have to check my apt history.
 
Last edited:
I GOT IT! at least I think I did...

I found this page: https://christitus.com/vm-setup-in-linux/
and in conjunction with this video: youtube.com/watch?v=jDC1NVKK94U I loaded VM.

At least I think it worked. I did get a launch icon in my menu and when clicked on it I got this on my desktop:
Screenshot at 2026-04-20 17-54-12.png

...which looks right. Now I have to hunt down a Win-XP .iso file and see if it will load and work.

Wish me luck!:oops:
 
did you run sudo apt update before attempting the install?

Edit: I have qemu and virt-manager installed but I don't remember exactly what i needed to install to get it. I would have to check my apt history.
Yes. sudo apt update and sudo apt upgrade. I've run those before every installation attempt. Actually, I run those before trying to install anything. I've heard it 's a good habit to get into.
 
I got the .iso. Now to set up a virtual machine. Again, here is what I'm working with. Remember, this is only a test bed to see if it will work with the intended program:
129GB hard drive
8.1GB RAM
Intel Core i7CPU 2.67GHz (dual core) processor


I will (hopefully) be creating a virtual Windows XP x64 machine. Recommended system Req's for WinXP x64 are:
1.5GB HD space.
128 MB RAM.
300MHz processor


It will be used to run a DeLorme Topo USA program, the recommended system specs for which being:
Windows Vista or XP with at least 512 MB RAM (1+ GB recommended).
1.5 GB processor (1.8 recommended)
6.4GB hard drive.


The computer I'm using originally came with Windows 7 Professional which was running the Topo program with no problem, so there should be no hardware issues. I'm not concerned with speed, just if it will load and work properly. My Desktop computer, the one I intend to use it on, is more powerful, so if it works here the desktop should have no problem. Both computers also have DVD-RW drives for loading the Topo program. Or would it be better to transfer all the files on the CD to the it's memory first?

Any recommendations for the VM settings before I start?
 
If you were satisfied with speeds loading from CD with the application earlier (given you have used it), there's nothing wrong with trying it like that. You may want to create a VM with enough disc space to later decide one way or the other.

The other specs of the VM (mainly cpu cores and ram) you can always adjust later. The Windows you want to install may be sensitive to spec changes, though (some versions are, older not). In that case there is nothing wrong to assign max resources to the VM as virt-manager allows. This may only get a problem (Edit: read problem as laggy, not crashy) , if you let the VM perform tasks in the background while you work on the hosting Mint. It does not seem like a program to run in the background, and you can always pause a running VM with one click.
 
Most I might be running at the same time (both in the VM) would be the mapping program and a browser program accessing Google Maps.
 


Follow Linux.org


Top