Comments on: How to Install KVM on Ubuntu Server 20.04 Step-by-Step https://www.linuxtechi.com/install-kvm-on-ubuntu-20-04-lts-server/ Fri, 13 Oct 2023 04:29:13 +0000 hourly 1 By: TheoM https://www.linuxtechi.com/install-kvm-on-ubuntu-20-04-lts-server/#comment-23069 Mon, 17 May 2021 08:28:57 +0000 https://www.linuxtechi.com/?p=10478#comment-23069 Hi Pradeep,
Thanks for this tutorial, very interesting! I got it to work on 1 server but on a second server I run into troubles because I have 2 IP addresses assigned (1 for the server itself and 1 for a pihole instance running on the same server). Can you tell me how file 00-installer-config.yaml should look like when there are multiple IP dresses already assigned? Mine looks currently like this:
# This is the network config written by ‘subiquity’
network:
ethernets:
enp3s0:
addresses:
– 192.168.178.5/24
– 192.168.178.6/24
gateway4: 192.168.178.1
nameservers:
addresses:
– 8.8.4.4
– 8.8.8.8
search: []
version: 2

Thanks

]]>
By: Pradeep Kumar https://www.linuxtechi.com/install-kvm-on-ubuntu-20-04-lts-server/#comment-22966 Thu, 15 Apr 2021 01:43:04 +0000 https://www.linuxtechi.com/?p=10478#comment-22966 In reply to kevin.

Hi Kevin,

It seems like Graphical Interface of your system is not working properly. In case you are trying to access GUI over ssh, make sure ‘X11Forwarding’ is set as yes in sshd.conf file.
In case you trying to access it via local terminal then you can try the below work around
First Run the command ‘xhost +localhost’ and then run your targeted command.

]]>
By: kevin https://www.linuxtechi.com/install-kvm-on-ubuntu-20-04-lts-server/#comment-22964 Wed, 14 Apr 2021 20:35:36 +0000 https://www.linuxtechi.com/?p=10478#comment-22964 Hello, I followed all the steps and game me the following warning

Gtk-WARNING **: 20:25:41.419:cannot open display

]]>
By: Rene https://www.linuxtechi.com/install-kvm-on-ubuntu-20-04-lts-server/#comment-21919 Mon, 05 Oct 2020 06:50:11 +0000 https://www.linuxtechi.com/?p=10478#comment-21919 Thanks for the great HowTo.
I can’t use virt-install though.

/usr/bin/virt-install –name mvmubu18 –vcpus 2 –memory 4096 –boot cdrom,hd –network network=virbrapp,trustGuestRxFilters=yes,model=virtio –mac ae:20:10:05:08:48 –noautoconsole –wait -1 –location http://install/installer-ubuntu1804-amd64/ –disk path=/srv/images/18.04/ubu18_root.img,size=20,format=raw ‘–extra-args=locale=en_US auto=true priority=critical s390-netdevice/choose_networktype=virtio netcfg/use_autoconfig=true netcfg/disable_dhcp=false network-console/start=true url='http://install/preseeds/mustervm-bionic.seed'
ERROR ‘>=’ not supported between instances of ‘NoneType’ and ‘str’

This looks like a python error to me, is there any special requirements for 20.04?
The same command works on a 18.04LTS Host.

]]>
By: Keith https://www.linuxtechi.com/install-kvm-on-ubuntu-20-04-lts-server/#comment-21737 Wed, 16 Sep 2020 15:36:43 +0000 https://www.linuxtechi.com/?p=10478#comment-21737 KVM is a Type 1 hypervisor.

]]>
By: Jason Norwood-Young https://www.linuxtechi.com/install-kvm-on-ubuntu-20-04-lts-server/#comment-21511 Wed, 26 Aug 2020 08:40:57 +0000 https://www.linuxtechi.com/?p=10478#comment-21511 I had to `apt install libvirt-daemon-system` after Step 2.

]]>