As the server is not booting up to the OS, you need to use the distro ISO or Rapid Recovery Live DVD to reinstall grub.
Once you have booted the VM with distro ISO or Rapid Recovery LiveDVD:
1. Check the VM filesystem structure by running: df -h
2. Run the following commands:
---------------------------------
sudo -s -u root
sudo mount /dev/sdXXX /mnt
sudo mount /dev/sdXX /mnt/boot/efi
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt
grub-install /dev/sdX
update-grub
---------------------------------
Where sdX = disk | sdXX = efi partition | sdXXX = system partition
Note: If the exported server has not a EFI partition, skip the command to mount the EFI partition.
Following the filesystem from the first screenshot the commands should be like:
---------------------------------
sudo -s -u root
mount /dev/sda5 /mnt
sudo mount /dev/sda1 /mnt/boot/efi
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
chroot /mnt
grub-install /dev/sda
update-grub
---------------------------------
Shut down the VM, detach the ISO image from the VM, start the VM and OS should boot up normally: