VM Host on Fedora


by David Lutton, 2020/11/14

Virtual Machine Host

Using Fedora Linux as a VM host and Cockpit Project to manage the host.

Sources

Fedora

Get Fedora Server edition

Windows

Obtain a Windows ISO by running the Create Windows 10 installation media tool from Microsoft

Virtio

Obtain the Virtio ISO (Virtual IO drivers for Windows) from Fedora

Installation Process

sudo dnf update
sudo dnf upgrade
sudo dnf install libvirt cockpit cockpit-machines

# Enable the services
sudo systemctl enable libvirtd --now
sudo systemctl enable cockpit.socket --now

# Not on by default on workstation
sudo firewall-cmd --zone=public --add-service=cockpit --permanent
sudo firewall-cmd --reload
 
ip a  # Get the IP address

Cockpit

Connect the Cockpit interface on this machine from a web browser at its IP address on port 9090

Machine may obtain different IP address after creating bridge
Reconnect as needed

Load install media to somewhere accessible to libvirt

Installation of Windows 10 in a VM

During installation of Windows 10

Windows 10 needs to load a driver to access virtio storage

At the point it is needed click to Manually install a driver

From the virtio ISO select the E:\viostor\w10\amd64 directory The driver should be loaded and storage will become available Proceed to install normally

After the installation

With Windows running navigate to the virtio ISO and run the installer to get the drivers for network and memory management drivers

After rebooting the VM networking will be easier for the VM and host to process

Hardware

Check