Error converting RHEL server using VMware Converter

When virtualizing RedHat server you might get the following error during GRUB section of boot process:

error: can't find command ':'.
error: can't find command ':'.
error: can't find command ':'.
error: can't find command ':'.
error: can't find command ':'.
error: can't find command ':'.
error: can't find command ':'.
error: can't find command ':'.

Fore some reason VMware Converter messes up comments in grub.cfg. All that is needed done is to remove garbage from grub.cfg before the # in commented lines.

Then rebuild GRUB:

[root@kafka1 ~]# grub2-mkconfig -o /boot/grub2/grub.cfg

Then reboot the machine. That should be it.