I installed CentOS 7 on KVM. Issued “yum update” and stayed hanging in cleanup after installation.

So I had to cancel it. I tried some recommended commands to finish it but it did not bring any change.

After restart CentOS refused to boot with error message “VFS: unable to mount root fs on unknown-block”. Solution for this problem is described in CentOS forum:

  1. choose older kernel in startup menu
  2. remove broken kernel: yum remove kernel
  3. install new one: yum update