Hello, everyone!
In this post, I will share with you a case about the failure to install VMtools during image creation on VM CentOS6.5.
Problem Description
The VMTools fail to be installed when the CentOS6.5 image is created. The error message '/boot/initramfs-2.6.32-431.e16.x86_64.img cannot be found.' is displayed.
Root Cause
The image is not restarted.
Fault Locating
Locate the fault based on the guide.
Handling Procedure
1. Log in to the VM and check whether the CentOS6.5 kernel version is a commercial version.
2. The /boot directory of the VM does not contain any file. It is suspected that the file is deleted. However, after confirmation, the VM is logged in when the VM is created, and no file is deleted. No record is deleted from the history command.
3. In the product manual, you need to restart the system during the installation of some operating systems. The OS installation process is not sure whether the OS is restarted. Therefore, after the reboot command is manually executed, the file information is updated, and the VMTools can be successfully installed.
Solution
After the VM OS is installed, you are advised to restart the VM and perform the next step.
This is my solution, how about yours? Go ahead and share it with us!