VMmanager Knowledge Base

Ubuntu 16.04 fails to boot after reinstallation

Description

After installing from a template, the Ubuntu 16.04 guest OS does not run on a node with AMD CPUs. This behavior occurs because AMD EPYC processors are not supported in the Linux kernel version 4.4 that comes with the Ubuntu 16.04 OS. An OS kernel upgrade to version 4.15 is required to work with this CPU family.

Solution

To resolve the issue:

  1. Enter Virtual Machines → select the VM → click ParametersFine-tuning settingsVirtualization tab.
  2. Set the By default value for the CPU Emulation Mode parameter:
  3. Install the OS.
  4. In the guest OS, install the software package updates:

    1. Connect to the server with the guest OS via SSH.
    2. Run the commands:

      sudo apt update
      sudo apt dist-upgrade
      sudo apt install --install-recommends linux-generic-hwe-16.04
  5. Restart the VM in Virtual Machines → select the VM → menu → click Restart.
  6. Return the Host-passthrough value for the CPU Emulation Mode parameter: enter Virtual Machines → select the VM → click ParametersFine-tuning settingsVirtualization tab.