Hyper-V to ESX Linux VM Conversion

Advertisements

[ad#ad-post]

  1. Power Off the server
  2. Create a new VM on ESX without a Harddrive.
  3. Convert the hard drive using StarWind V2V Image Converter
    1. Copy the Hyper-V harddrive into the ESX directory of the VM created above
    2. Convert the Hyper-V file to ESX.
    3. Delete the Hyper-V hard drive copy
  4. Modify the new ESX VM and add the hard drives that you just converted (in mounting order)
  5. Start the VM and open the console
  6. Choose Rescue mode
  7. Rebuild the Kernel Image:
    1. Choose the latest already installed kernel image and then use the latest, matching kernel modules under /etc/modules
    2. eg: mkinitrd -v -f /boot/initramfs-3.10.0-327.22.2.el7.x86_64.img 3.10.0-327.22.2.el7.x86_64
    3. https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1002402\
    4. Reboot the VM
  8. Check network connectivity
    1. ip addr
    2. See if network adapter has IP. if not, note the name of the adapter
    3. If adapter is different (eth0 vs. eno823786239), do the following
      1. cd /etc/sysconfig/network-scripts/
      2. mv ifcfg-$OLD_ADAPTER_NAME ifcfg-$CURRENT_NAME (substitute the vaiables for the real old and new names.
      3. vi ifcfg-$CURRENT_NAME
      4. remove the line starting with uuid
      5. modify the name and device to match the new name (eth0 vs. eno823786239)
      6. Reboot and verify that you have network connectivity
  9. Install open-vm-tools
    1. yum install open-vm-tools

[ad#ad-post]

Advertisements

Add a Comment

Your email address will not be published. Required fields are marked *

(adsbygoogle = window.adsbygoogle || []).push({});