VMware Cloud Community
oscarfranzen
Contributor
Contributor

CentOS 8.2 GenericCloud image on vSphere not working

Dear community,

Has anyone managed to get the CentOS 8.2 GenericCloud image to boot on vSphere? We have tried CentOS 7 and it works fine.

This is the image:

https://cloud.centos.org/centos/8/x86_64/images/CentOS-8-GenericCloud-8.2.2004-20200611.2.x86_64.qco...

We convert this image to vmdk with a command like this:

qemu-img convert -f qcow2 \
	 -O vmdk \
	 -o subformat=streamOptimized \
	 CentOS-8-GenericCloud-8.2.2004-20200611.2.x86_64.qcow2 \
	 CentOS-8-GenericCloud-8.2.2004-20200611.2.x86_64.vmdk

When we boot it we get stuck with the error "Probing EDD (edd=off to disable)… ok", suggesting the kernel is loading but not much more. I did some research suggesting missing SCSI drivers in the image. We have also tried adding the kernel parameter "edd=off" (did not help). I also tried changing the drive controller to SATA instead of SCSI, and it did not help.

I also confirmed the image has the VMware paravirtual SCSI driver:

$ lsinitrd initramfs-4.18.0-193.6.3.el8_2.x86_64.img | grep pvscsi
-rw-r--r-- 1 root root 11536 Apr 24 2020 usr/lib/modules/4.18.0-193.6.3.el8_2.x86_64/kernel/drivers/scsi/vmw_pvscsi.ko.xz


Any suggestions are welcome 🙂

All the best,

Oscar

Tags (1)
Reply
0 Kudos
0 Replies