I have one vm(xen) converted to ESXi and this one completes 100 percent but when starting up the VM it gives the error can not find command
It is freebx distro and I believe it not the same issue as redhat that is posted
AnywayBase on that solution it's changing the grub and I would not know how to change the grub with a shutdown Linux on esxi
Please assist thanks
Is it even entering in the boot phase? I faced an issue like that it was because of the storage controller.
Are you using IDE or SCSI? Could you also please paste the screenshot of the issue?
Did you try this? p2v, redhat error can't find command ':'
Go over the responses because it seems that one guy also used that fix for CentOS. Also you can see the next blog post: vmware converter – error: can’t find command ‘:’. after linux conversion – Delirio di un tecnico!
Before the Linux boots you can enter the GRUB and modify that file from inside, to do that follow the next procedure: https://www.cyber-cottage.eu/?p=2257 . You just need to append init=/bin/sh at almost the end and you will be able to login and modify the grub.conf from inside.
Hello franco,
You should append that line after biosdevname=0. You do not remove anything and as far as i remember you need to use to move there with the arrows only down and right one because if not you cannot position in that last line.
After that you can press Ctrl+x to make the OS boot.
Hello franco,
I think you got confused because i said to append this: init=/bin/sh and i cannot see that on neither the first of second screenshot that you provided.
I am just saying to append the next init=/bin/sh after the biosdevname=0 do not delete or change anything of the other lines. You can reboot an start doing it again as the changes are not persistent.
Ther is no init=/bin/sh do I just add that line right after biosdevname=0
Exactly that is what i am saying just add that line.
Hey franco,
It seems that your machine is not finding the boot device as i can see on your errors. Honestly i have no clue from here, maybe somebody else from the community can still help you.
Hello Franco,
Just to mention that the distro you want to convert, freepbx, is not supported by Converter. By which I mean it has never been tried and is expected not to work (nothing is officially supported anymore now that Converter is EOL).
In such cases the recommended course of action is to boot the converted VM from a live installation ISO image and do some manual reconfiguration job. Since freepbx is a Red Hat derivative, Converter has probably made some right guesses. E.g. it seems GRUB has been installed correctly. Converter has detected dracut as initramfs maker. You should check whether this is correct and you should certainly recreate the initramfs image from the live boot. You may want to also check fstab patching (do this before recreating initramfs).
You may have a look at these threads for more details about manual reconfiguration of converted Linux machines:
One more hint:
- There used to be an issue related to Red Hat starting to use '/run' system mount more actively (Converter doesn't mount it). Related to that, versions in the range 7.5 - 7.6 (approximately) were unconvertable. If that's the case, an eventual upgrade of the source might help. Keep in mind version 8 is unconvertable, though!
HTH
Plamen
Download this program: https://www.linuxhelp.com/how-to-install-grub-customizer-on-centos-7
Run It. And hit save. Do nothing else. Fixes the issue instantly.