@TheMrg I know this is a little old of a thread, but I am running into this same problem, and my CentOS7 machine boots and operates fine in recovery mode. I am trying to follow your solution here, but am hitting a wall. Can you provide more details on how you did this?vgextend --restoremissing <volume group> <physical volume>
In my case I did this:This problem is solved by changing the hard disk mode of the VM through the web
yum install qemu-guest-agent
mkinitrd -f --allow-missing \
--with=virtio_blk --preload=virtio_blk \
--with=virtio_pci --preload=virtio_pci \
--with=virtio_console --preload=virtio_console \
/boot/initramfs-$(uname -r).img $(uname -r)
Thank you , work on Centos 8 after moving from ESXiIn my case I did this:
* Change hard disk mode to IDE (SATA did not work)
* delete CDROM to avoid issues
* detach boot disk
* edit detached disk -> specify "IDE"
(System now boots)
* Login
* Install qemu-guest agent
Code:yum install qemu-guest-agent
* Rebuild initramfs using this command (from https://endocs.ksyun.com/documents/5425)
Code:mkinitrd -f --allow-missing \ --with=virtio_blk --preload=virtio_blk \ --with=virtio_pci --preload=virtio_pci \ --with=virtio_console --preload=virtio_console \ /boot/initramfs-$(uname -r).img $(uname -r)
* Shutdown
* Edit VM Hardware
* Set SCSI controller to Virtio SCSI Single
* detach boot disk
* edit detached disk -> SCSI
The workstation now boots using the Virtio SCSI Single controller.