Добрый день, господа.
В двух словах - есть задача перенести centos c asterisk в виртуальную машину на Hyper-V
С помощью dd сделал img всего диска (делал на запущенной системе), конвертировал в vhdx StarWind V2V Converter.
При запуске выдает GRUB HARD DISK ERROR
Пытался восстановить загрузчик при помощи live cd rescatux вот что выдает
TRUE sda 1.8-TiB W [ANSWER] sda
[DEBUG] Reordering device.map file.
[DEBUG] Getting system hard drives.
a [INFO] UEFI devices order skipped (Not an UEFI System)
[DEBUG] Performing Filesystem check with automatic fix ^ [SUCCESS] Filesystem check with automatic fix was OK! :)
[DEBUG] Updating Grub configuration.
[DEBUG] Making temporary fstab file.
U [ERROR] Grub configuration update went wrong! :(
[DEBUG] Installing Grub.
[DEBUG] Making temporary fstab file.
U [ERROR] Grub was not installed. Something went wrong! :(
U [ERROR] Easy GNU/Linux Boot Fix (Fsck partition, update grub menues, restore GRUB on the MBR and order UEFI entries) was not fully completed. Something went wrong! :(
Попытался переустановить grub
xubuntu@xubuntu:~$ sudo grub-install /dev/sda1 Installing for i386-pc platform.
grub-install: error: failed to get canonical path of '/cow'.
Fdisk –l c виртуальной машины
user@debian:~$ sudo fdisk -l
Disk /dev/sda: 1.8 TiB, 2000406183936 bytes, 3907043328 sector s
Disk model: Virtual Disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xO0Oe9436
Device Boot Start End Sectors Size Id Type
/dev/sdal * 63 40965749 40965687 19.5G fd Linux
/dev/sda2 40965750 43070264 2104515 1G fd Linux
/dev/sda3 43070265 3907024064 3863953800 1.8T fd Linux
Partition 1 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.
Partition 3 does not start on physical sector boundary.
Disk /dev/loop0: 631.7 MiB, 662355968 bytes, 1293664 sectors
Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes 1/0 size (minimum/optimal): 512 bytes / 512 bytes user@debian:~$
fdisk -l с реальной машины
[root@US-PBX-TRK ~]# sudo fdisk -l
Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ fd Linux raid autodetect
/dev/sda2 2551 2681 1052257+ fd Linux raid autodetect
/dev/sda3 2682 243201 1931976900 fd Linux raid autodetect
Disk /dev/sdb: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2550 20482843+ fd Linux raid autodetect
/dev/sdb2 2551 2681 1052257+ fd Linux raid autodetect
/dev/sdb3 2682 243201 1931976900 fd Linux raid autodetect
Disk /dev/md0: 20.9 GB, 20974338048 bytes
2 heads, 4 sectors/track, 5120688 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md0 doesn't contain a valid partition table
Disk /dev/md2: 1978.3 GB, 1978344275968 bytes
2 heads, 4 sectors/track, 482994208 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/md1: 1077 MB, 1077411840 bytes
2 heads, 4 sectors/track, 263040 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md1 doesn't contain a valid partition table
[root@US-PBX-TRK ~]#
С Linux системами опыта немного, если можно поподробней что нужно для восстановления загрузчика.
[B]Спасибо![/B]