Getting latest Elementary OS to work as VM?

Chris Olive

Active Member
Apr 8, 2020
22
0
41
45
Installed PM as single node yesterday and it's mostly fantastic. Some irritating things that I've already had to work around like 401 ticket errors trying to upload ISOs to the local storage area (just resorted to scp'ing those onto the box). Wanted to do a Linux graphic-based VM, and lately I've enjoyed Elementary OS, so thought I'd start with that.

Booted right into the ISO, got a graphics installer, mouse worked and everything and finished the install. Took mostly defaults for the VM when setting it up. But when booting to the HD instead of the ISO, the initial graphical "e" shows on boot and I see console log lines whip by and then... nothing. Blank screen and it just sits.

So I tried installing other VM types. CentOS 8 with Gnome. Windows 10. All work like a charm. (Had to switch to the Intel card to get networking to work for both). But that Elementary OS WILL. NOT. WORK. I've deleted the VM and tried all kinds of other settings. VGA for display, Intel E1000 card, SeaBIOS and UEFI... nothing seems to work.

Anyone gotten Elementary OS to work as a VM? I'm using the latest ISO (whatever their latest code name is).
 
The default installation has issues starting the x server - this is a topic for elementaryOS support.

Here is my working configuration for Proxmox VE.

Code:
# qm config 108

agent: 1
bootdisk: scsi0
cores: 1
cpu: host
ide2: iso-templates:iso/elementaryos-5.1-stable.20200405.iso,media=cdrom,size=1467360K
memory: 4096
name: elementaryOS
net0: virtio=3E:17:72:5D:CB:5E,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-108-disk-0,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=0aef9883-3dfa-48c6-b588-4c0fe99f4239
sockets: 1
vga: virtio
vmgenid: cdb1bb4f-decf-4f6c-8468-d03793b9f75f
 
A bit off topic: Personally, I suggest you use the original distributions. (Debian, or the most successful Debian based and desktop oriented distribution, Ubuntu - the Upcoming 20.04 is already looking great).
 
The default installation has issues starting the x server - this is a topic for elementaryOS support.

Here is my working configuration for Proxmox VE.

Code:
# qm config 108

agent: 1
bootdisk: scsi0
cores: 1
cpu: host
ide2: iso-templates:iso/elementaryos-5.1-stable.20200405.iso,media=cdrom,size=1467360K
memory: 4096
name: elementaryOS
net0: virtio=3E:17:72:5D:CB:5E,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-108-disk-0,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=0aef9883-3dfa-48c6-b588-4c0fe99f4239
sockets: 1
vga: virtio
vmgenid: cdb1bb4f-decf-4f6c-8468-d03793b9f75f

Thanks Tom. Looks close to what I've already tried, but having this config for review will help.

Cheers!
 
A bit off topic: Personally, I suggest you use the original distributions. (Debian, or the most successful Debian based and desktop oriented distribution, Ubuntu - the Upcoming 20.04 is already looking great).

Well now that I have PVE running, checking out Ubuntu will be easy to do. I've been a long time CentOS guy (needing mainly servers), but I'm in the hunt for a MacOS replacement and will definitely check Ubuntu out.
 
Hey Chris,

I stumbled across this post trying to get it working, looking at the above config vs defaults, the only thing I've had to change is the following:
Code:
vga: virtio
Or set VirtIO-GPU in the GUI under Hardware -> Display.

Works for me now - good luck!
 
Last edited:
Hi all

have eOS working fine, just make sure virtio is used for network, disk and graphics.

boot into recovery mode
open a terminal session with networking.
install the qem-guest-agent and reboot.

the graphical console should come up now.

let me know if it’s still not working and I’ll double check my config and post.

””Cheers
G