Hello,
I'm trying to do a p2v with vmconverter 6.2.0 from a Redhat 7.4 server. All goes well but at startup between the bios and grud I have the message:
error: can't find command ':'
I press the spacebar several times to get to the grub menu. Then the start of the vm is happening normally.
I'm using vCenter server 5.5.0 build 2183111
Where can this error come from?
Yeah. I face the same issue too as your situation.
This might be due to the (less than perfect) patching of the grub.cfg file.
Examine it, and if you find lines that look something like that:
if ...
: # (removed by Converter ...
else
: # (removed by Converter
fi
comment out the statement lines (if/else/fi) as well.
If that's not the case, please attach the helper log.
HTH,
Plamen
Solution from Plamen is spot on!
Thanks!
I'm currently in the process of starting a migration of 50+ machines to a new vmware cluster. Most of the machines are running centos 7 or rhel 7.
Since the problem still exists in the latest vCenter Converter (6.2.0 build-8466193), and I don't like to go through every server manually, Is there a way to correct this (less than perfect) behavior of the grub patching in the current version?
You can use older Converter, should not be a problem with RHEL7. (If you experience such problem of course, you need to test)
There is no general solution for this - some *nix complains about empty statement i.e. just comment, others complains about empty operator i.e. colon..
The problem is the leading colon which should not be there. Simply remove all lines containing the "removed by converter" comment or - if you want to keep the lines - the leading colon.
Hi,
"...from a Redhat 7.4 server"
VMware vCenter Converter Standalone 6.2.0.1 Release Notes
But the vcenter converts 6.2 installs only on Microsoft Windows operating system.
You can install VMware Converter Standalone 6.2.x on the following platforms:
Converter Standalone 6.2.x supports the following guest operating systems:
CAUTION: During cloning of powered on Linux machines, Converter Standalone preserves the following source file systems on the destination: ext2, ext3, ext4, reiserfs, vfat, and xfs. All other source file systems are converted into ext3 or ext4 file systems on the destination virtual machine.
Alessandro Romeo
Es correcto el comando que no encuentra son los " : " dos puntos que añade converter antes del comentario de # removed by converter, a mi me funciono eliminando los ":" antes del comentario de converter en el fichero /etc/grub2.cfg en centos 7