Install the virtio driver
Last Updated:2020-07-20
Install the virtio Driver in Linux System
Centos 6 / 7 System
[root@localhost ~]# cp /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak # Back up initramfs first (optional steps)
[root@localhost ~]# mkinitrd -f --with=virtio_blk --with=virtio_pci /boot/initramfs-$(uname -r).img $(uname -r)
Ubuntu/Debian System
[root@localhost ~]# echo -e "virtio_pci\nvirtio_blk" >> /etc/initramfs-tools/modules
[root@localhost ~]# update-initramfs -u