Solved

installing VirtIO on Ubuntu

  • 25 July 2019
  • 1 reply
  • 335 views

Hi;

I have an ubuntu server on vmware and i want to migrate it to AHV with Move.
when i type "uname -a" output is: Linux TKMAPP1 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

when i type "grep -i virtio /boot/config-`uname -r`" output is:
CONFIG_NET_9P_VIRTIO=m
CONFIG_VIRTIO_BLK=y
CONFIG_SCSI_VIRTIO=m
CONFIG_VIRTIO_NET=y
CONFIG_CAIF_VIRTIO=m
CONFIG_VIRTIO_CONSOLE=y
CONFIG_HW_RANDOM_VIRTIO=m
CONFIG_DRM_VIRTIO_GPU=m
CONFIG_VIRTIO=y
# Virtio drivers
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_PCI_LEGACY=y
CONFIG_VIRTIO_BALLOON=y
CONFIG_VIRTIO_INPUT=m
CONFIG_VIRTIO_MMIO=y
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y

As i see VirtIO drivers are installed. And then when i start to migrate on Move an error pop up is appears: SCSI VirtIO device driver not found. Please download and install the appropriate device driver before retrying the migration.

What can i do for this issue ?
icon

Best answer by jlaunier 7 August 2019, 00:48

@asabri.ozer the problem with migrating Linux VMs in general is that while virtIO drivers may be installed, they may not be loaded in the ramdisk (initrd) and as a result Linux won't bootstrap. Move takes care of this automatically as long as you used the guided OS prep workflow in Move to run our scripts. We will verify the presence of the drivers and also rebuild the ramdisk if needed.
View original

1 reply

Userlevel 3
Badge +11
@asabri.ozer the problem with migrating Linux VMs in general is that while virtIO drivers may be installed, they may not be loaded in the ramdisk (initrd) and as a result Linux won't bootstrap. Move takes care of this automatically as long as you used the guided OS prep workflow in Move to run our scripts. We will verify the presence of the drivers and also rebuild the ramdisk if needed.

Reply