Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

VMDK not working as expected after importing

I have been trying to import an instance from aws to google cloud. I have been following the steps from the link 

 

https://cloud.google.com/compute/docs/import/import-existing-image#create_image_file

When i try to import using the command as below

gcloud compute images create cp --source-uri gs://examplebucket/disk.vmdk

it gives me error like in the screenshot.

 

Screenshot 2024-06-03 at 15.05.54.png

i have tried many solutions like

changed some entries in the grub file, and also I have tried generating the new intramfs file but it still doesnt help. The instance which i am trying to export is a rocky 8.9 machine. If anyone has any ideas or came to this same situation please do help me out. 

2 1 119