In addition to creating custom images, Tencent Cloud allows you to import images. You can import an image file of the system disk on a local or a different server into CVM custom images. You can use the imported image to create a CVM or reinstall the operating system (OS) for an existing CVM.
Prepare an image file that meets the import requirements.
|Kernel||Native kernel is preferred for an image. Any modifications on the kernel may cause the import to fail.|
|File system type|
|Driver||Virtio driver of the virtualization module KVM must be installed for an image. By default, Virtio driver is not installed in Windows OS. You can install Windows Virtio Drivers and then export the local image.|
|Others||Imported Windows images do not support Windows license activation.|
You will be notified whether the import is successful via internal message.
Ensure the entered COS file URL is correct.
If you fail to import an image in the console, troubleshoot as follows:
Make sure you have subscribed to product service notifications via Message Subscription. This ensures you can receive internal messages, SMS messages, and emails about the cause of failure.
If you do not subscribe to product service notifications, you will not receive the internal message about whether an import is successful.
For more information on error messages and descriptions, see Error Codes.
The InvalidUrl error indicates that an incorrect COS URL has been entered. The possible causes are:
COS URL with the signature can only be accessed once.
The image import service accesses the COS server in the local region through the private network.
The InvalidFormatSize error indicates that the format or size of an image to be imported does not meet the following requirements of Tencent Cloud:
If you receive an error message that the image format or size is invalid:
The VirtioNotInstall error indicates that the image to be imported does not have Virtio driver installed. Tencent Cloud uses the KVM virtualization technology and requires users to install Virtio driver on the image to be imported. Except for a few customized Linux OSs, most Linux OSs have Virtio driver installed. In Windows OSs, users need to manually install the Virtio driver:
The CloudInitNotInstalled error indicates that the image to be imported does not have cloud-init installed. Tencent Cloud uses the open-source cloud-init software to initialize the CVM. If cloud-init is not installed, the CVM initialization will fail.
The PartitionNotPresent error indicates that the imported image is incomplete. Check whether the boot partition was included when the image was created.
The RootPartitionNotFound error indicates that the root partition cannot be detected in the image to be imported. Check the image file. The possible causes are:
The InternalError error indicates that the cause of error has not yet been recorded. Contact the customer service and our technical personnel will help you resolve the issue as soon as possible.
|Error Code||Reason||Recommended Solution|
|InvalidUrl||Invalid COS link.||Check whether the COS URL is the same as the imported image URL.|
|InvalidFormatSize||Format or size does not meet requirements.||Images must meet the
|VirtioNotInstall||Virtio driver not installed.||Install the Virtio driver in the image by referring to the
|I PartitionNotPresent||Partition information not found.||Image is corrupted possibly due to incorrect image creation method.|
|CloudInitNotInstalled||Cloud-init software not installed.||Install cloud-init in the Linux image by referring to the
|RootPartitionNotFound||Root partition not found.||Image is corrupted possibly due to incorrect image creation method.|
|InternalError||Other errors.||Contact our customer service.|