You are not logged in.
Pages: 1
Hello
I have been using arch in a HyperV Vm (windows 10) for a few years with hard drives set to offline in windows disk manager and then passed through to the hyperV VM as physical drives
This has been working fine for years but recently I was having some windows 10 corruption issues. Long story short I had to format my windows hard disk and install windows 11
I had a back up of the HyperV VM .
After restoring the VM it would only boot if I removed all phsycial harddisk attached to the VM (I guess the IDs changed?) I could not readd these harddisks to the Hyperv VM because windows saw these disks as 'uninitialised' when I used windows disk manager.
Without thinking I clicked ok to 'initialising the disks to GPT' in the windows disk manager.
I was able to reattach the drives to the linux VM but now all the drives are marked as windows reserved partition and cannot be mounted in linux.
Is there someway to 'restore' /change the MBR/GPT partition and recover the data? (I have not changed any data partitions or formatted or anything)
below is example of runnign blkid (SDA is fine as this was stored as a virtual disk )
# blkid
/dev/loop1: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop0: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/sda2: UUID="42390d5b-6264-45fb-9226-b9fc2512f85e" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="3dc018c0-abcb-41a5-a85a-ce79d23bf830"
/dev/sda3: UUID="547e1792-2c8d-4ec2-900c-5e6362888f69" TYPE="swap" PARTUUID="055991af-2c29-43e3-9893-3dc2901eb21e"
/dev/sda1: UUID="8E76-EC6D" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="c73746a8-a361-4d45-acd2-02542ac9ed51"
/dev/loop5: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/sdd1: PARTLABEL="Microsoft reserved partition" PARTUUID="7ce1ada2-63bc-4125-b1f7-5455ee3e2d1d"
/dev/sdb1: PARTLABEL="Microsoft reserved partition" PARTUUID="a99bf819-6550-458f-a413-ae53da959958"
/dev/sde1: PARTLABEL="Microsoft reserved partition" PARTUUID="c84319cd-6666-4fb2-8ea7-3c088f2554d1"
/dev/sdc1: PARTLABEL="Microsoft reserved partition" PARTUUID="c46b5b08-3b2d-4def-9e6b-4eae1c9cf942"
Offline
This sounds more like a Windows issue than anything. If the partition/data has indeed not been fundamentally reformatted by clicking the initialize GPT button you might have a chance with testdisk: https://wiki.archlinux.org/title/File_r … d_PhotoRec but since it's not clear what Windows did here I wouldn't have high hopes.
Offline
Pages: 1