Hi all, I am trying to migrate a 1.4TB HyperV VHDX disk from a Gen2 machine to a new proxmox server. I exported the VM in HyperV and copied it overnight to the proxmox box via SFTP/SSH. I then made a new proxmox VM with no disk then ran qm importdisk 101 /blabla/disk2import.vhdx local-lvm.
The import process ran and the disk imported. I then added it via the GUI but cannot boot from it. Not a bootable disk.
gdisk reports this for the new lv.
Any ideas? It looks like there is no partition table anymore. The original HyperV VM is running Ubuntu Server.
EDIT:
gdisk on the original HyperV VM shows its a GPT disk, but changing the BIOS mode in proxmox does not make it boot and doesn't explain where the GPT partition table has gone?
The import process ran and the disk imported. I then added it via the GUI but cannot boot from it. Not a bootable disk.
gdisk reports this for the new lv.
root@proxmox01:/etc# gdisk -l /dev/mapper/pve-vm--101--disk--0
GPT fdisk (gdisk) version 1.0.3
Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: not present
Creating new GPT entries.
Disk /dev/mapper/pve-vm--101--disk--0: 3145728000 sectors, 1.5 TiB
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 22C09906-1120-442D-AA53-3CEFEEA0C302
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 3145727966
Partitions will be aligned on 2048-sector boundaries
Total free space is 3145727933 sectors (1.5 TiB)
Number Start (sector) End (sector) Size Code Name
Any ideas? It looks like there is no partition table anymore. The original HyperV VM is running Ubuntu Server.
EDIT:
gdisk on the original HyperV VM shows its a GPT disk, but changing the BIOS mode in proxmox does not make it boot and doesn't explain where the GPT partition table has gone?
tom@OSS-OWNCLOUD:~$ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.1
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 3145728000 sectors, 1.5 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): E91119F7-B24F-4475-AAFD-AB141C00BB6D
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3145727966
Partitions will be aligned on 2048-sector boundaries
Total free space is 4029 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 1050623 512.0 MiB EF00
2 1050624 2050047 488.0 MiB 8300
3 2050048 3145725951 1.5 TiB 8E00