-
-
Notifications
You must be signed in to change notification settings - Fork 480
02 Create Linux virtual machines
The quickget
tool is provided as part of Quickemu and it's purpose is to automatically download operating system images and create an optimised virtual machine configuration.
quickget -h
will produce a list of all operating systems it supports, including hundreds of Linux distribution editions, all the BSDs, macOS, Windows, FreeDOS and many others.
Here's an example of how to create and run an Ubuntu guest virtual machine, the process is much the same for any other Linux distribution.
quickget ubuntu 24.04
quickemu --vm ubuntu-24.04.conf
- Complete the installation as normal.
- Post-install:
- Install the SPICE agent (
spice-vdagent
) in the guest to enable copy/paste and USB redirectionsudo apt install spice-vdagent
- Install the SPICE WebDAV agent (
spice-webdavd
) in the guest to enable file sharing.sudo apt install spice-webdavd
- Install the SPICE agent (
quickget
can also download/refresh daily-live images via zsync
for Ubuntu developers and testers.
quickget ubuntu daily-live
quickemu --vm ubuntu-daily-live.conf
You can run quickget ubuntu daily-live
to refresh your daily development image as often as you like, it will even automatically
switch to a new series.
Ubuntu flavours
All the official Ubuntu flavours are supported, just replace ubuntu
with your preferred flavour: edubuntu
(Edubuntu), kubuntu
(Kubuntu), lubuntu
(Lubuntu), ubuntu-budgie
(Ubuntu Budgie), ubuntucinnamon
(Ubuntu Cinnamon), ubuntukylin
(Ubuntu Kylin), ubuntu-mate
(Ubuntu MATE), ubuntustudio
(Ubuntu Studio), ubuntu-unity
(Ubuntu Unity), xubuntu
(Xubuntu).
You can also download a Linux image and manually create a VM configuration.
- Download a .iso image of a Linux distribution
- Create a VM configuration file; for example
my-custom-linux.conf
guest_os="linux"
disk_img="my-custom-linux/disk.qcow2"
iso="my-custom-linux/my-custom-linux.iso"
- Use
quickemu
to start the virtual machine:
quickemu --vm my-custom-linux.conf
- Complete the installation as normal.
- Post-install:
- Install the SPICE agent (
spice-vdagent
) in the guest to enable copy/paste and USB redirection. - Install the SPICE WebDAV agent (
spice-webdavd
) in the guest to enable file sharing.
- Install the SPICE agent (
If you want to run an old Linux , from 2016 or earlier, change the guest_os
to linux_old
.
This will enable the vmware-svga
graphics driver which is better supported on older distros.