Virt Manager Install on Arch Linux
- First, update the system:
sudo pacman -Syu
- Install virt-manager and its dependencies:
sudo pacman -S virt-manager qemu vde2 ebtables dnsmasq bridge-utils openbsd-netcat
- Enable and start the
libvirtd
service:
sudo systemctl enable libvirtd.service
sudo systemctl start libvirtd.service
- Add your user to the
libvirt
andkvm
groups:
sudo usermod -aG libvirt $USER
sudo usermod -aG kvm $USER
You may need to log out and log back in for the group changes to take effect.
And you’ll be able to:
- Create VMs from ISO images
- Use bridged networking or NAT (for proper sysadmin testing)
- Assign cores, RAM, disk
- Take snapshots
Creating a New Virtual Machine
-
Open Virtual Machine Manager
-
Click "Create a new virtual machine"
-
Choose "Local Install Media (ISO)"
-
Select your ISO
-
Assign CPU and Memory
- 2 CPUs and 4GB Ram for Windows 7, for example.
- Create a disk
- Allocate an appropriate size.
- Make it qcow2 format
- Check "Customize configuration before install"
Customizing Before Install
-
Check that Firmware is set to BIOS
-
Add the VirtIO ISO
- You need to grab the appropriate version from here
- Go to “Add Hardware” → Storage → , Select or create custom storage, Add the VirtIO ISO
- Set it as CD-ROM, SATA