I am new to VMWare. My question is very similar to Converter 6 - Partition number must be set for the boot volume but I do have a boot partition.
I used VMWare vCenter Converter 6.20 and ESXi 6.7.0 to remotely convert a CentOS 6.6 (Actually "Schmooze 6.6" -- FreePBX 13 from Sangoma) machine.
There was an error in conversion at 97% -- this is from the log:
2019-01-25T17:29:36.183-05:00 info vmware-converter-server[17492] [Originator@6876 sub=Default] [task,379] [task-6] -- ERROR -- Convert: converter.fault.CloneFault
--> (converter.fault.CloneFault) {
--> faultCause = (vmodl.MethodFault) null,
--> description = "Partition number must be set for the boot volume",
--> msg = ""
--> }
The VM was created so I booted from a CentOS 6.6 install ISO and used the recovery shell. This is an LVM system. It appears that the boot partition is not being mounted.
This screenshot is from fdisk -l in the recovery shell, and shows /dev/sda1 as the boot device. https://www.screencast.com/t/ZE6MOJg7Zejp (Sorry for the screenshot but I can't cut & paste from the VMWare Remote Console.) After #chroot /mnt/sysimage # ls /boot says "0 files".
When I look in BIOS setup on the VM, there are no hard drives listed in boot order -> hard drives.
/sbin/grub-install /dev/sda1 produces "/dev/sda1 does not have any corresponding BIOS drive"
/sbin/grub-install /dev/sda produces "/dev/sda does not have any corresponding BIOS drive"
/etc/fstab fro the original machine says:
/dev/mapper/VolGroup-lv_root / ext4 defaults 1 1
UUID=5a2f524f-6cee-43b2-ad27-3b6ea7f4d3dc /boot ext4 defaults 1 2
/dev/mapper/VolGroup-lv_home /home ext4 defaults 1 2
/dev/mapper/VolGroup-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
fdisk -l on original machines says:
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 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: 0x00000000
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 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: 0x00009c6b
Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 121602 976254976 8e Linux LVM
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 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: 0x00009c6b
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdc2 64 121602 976254976 8e Linux LVM
Disk /dev/mapper/isw_gcdaibce_Volume0: 1000.2 GB, 1000210432000 bytes
255 heads, 63 sectors/track, 121601 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: 0x00009c6b
Device Boot Start End Blocks Id System
/dev/mapper/isw_gcdaibce_Volume0p1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/mapper/isw_gcdaibce_Volume0p2 64 121602 976254976 8e Linux LVM
Disk /dev/mapper/isw_gcdaibce_Volume0p1: 524 MB, 524288000 bytes
255 heads, 63 sectors/track, 63 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: 0x00000000
Disk /dev/mapper/isw_gcdaibce_Volume0p2: 999.7 GB, 999685095424 bytes
255 heads, 63 sectors/track, 121538 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: 0x00000000
Disk /dev/mapper/VolGroup-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 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: 0x00000000
Disk /dev/mapper/VolGroup-lv_swap: 12.7 GB, 12666798080 bytes
255 heads, 63 sectors/track, 1539 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: 0x00000000
Disk /dev/mapper/VolGroup-lv_home: 933.3 GB, 933329108992 bytes
255 heads, 63 sectors/track, 113470 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: 0x00000000
It seems some partitions were missed n the conversion?
I can SCP the /boot files from original machine to VM, but I can't seem to mount /dev/sda1 to copy the to copy the files to.
SO, I am now stuck. Any advice is GREATLY appreciated.
Thanks in advance.