Hello.
I am trying to p2v an Ubuntu 10.04 x64 server using vCenter Converter Standalone version 4.3 to a host running ESXi 4.1. The layout of my physical server is such:
Disk /dev/sda: 159.5 GB, 159450660864 bytes
255 heads, 63 sectors/track, 19385 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00030a8c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 244 1951744 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 244 730 3906560 82 Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/sda3 730 19386 149853184 83 Linux
No LVM in use. When I perform the conversion it fails at 99%. The converter log shows:
[2011-02-15 15:20:49.588 07708 info 'App'] [task,373] [task-5] -- ERROR -- Convert: converter.fault.CloneFault
(converter.fault.CloneFault) {
dynamicType = <unset>,
faultCause = (vmodl.MethodFault) null,
description = "GrubInstaller::InstallGrub: /usr/lib/vmware-converter/installGrub.sh failed with return code: 127, and message:
/vmware-updateGrub.sh: 38: grub: not found
Error running GRUB
Error running vmware-updateGrub.sh through chroot into /mnt/p2v-src-root
",
msg = "",
}
I cannot start the VM. I followed instructions I found at http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1021306 and http://communities.vmware.com/message/1395202#1395202 with no success.
What I have found, based on exploring the system after using the Ubuntu 10.04 ISO to boot from, is that the drive structure has been maintained in the new VM, but there is nothing in /boot. I ran apt-get install grub2 and the legacy udpater command as per one of the above threads, and it created a /boot/grub directory but no grub.cfg. I then ran upgrade-grub and it created grub.cfg but still no joy.
The source OS is listed in the compatibility guide so I'm not sure why this isn't working, but I'm hoping someone can help me figure out a way to make this work. I'm so close, and it'd be really great to be able to use this. I appreciate your ideas and suggestions.
Thanks.