Mismatched MBR / GPT dilemma
Posted: 12 Jan 2023, 02:01
TLDR: guy who know a little about computers screws up disk, begs kindly advice from fellow humans.
One morning my Windows 10 main system drive would not boot. I managed to use Testdisk
to make a copy of my files, so I do have a backup.
Then I was able to actually restore the system so that I could boot from the drive!
The problem is I was also trying things in Windows Disk Management, diskpart and system repair
so I don't remember what the magic combination was that got me to that point.
I used the system a couple of times but then a few days later it would not boot again.
I bought another disk and was going to use Clonezilla and put the system
on that but Clonezilla freaked because there was a mismatched GPT and MBR partition and would not complete the process.
The motherboard bios doesn't have a UEFI setting (about 7 years old), so I figured the drive must have been MBR originally.
I had tried to wipe the GPT off using command line in Clonezilla and using sgdisk -z /dev/sda
(yes, I confirmed it's sda). There seemed to be conflicting messages, but one did say the GPT had been destroyed and I would need to create a new partition.
So, back to Testdisk...When I select the drive and then need to select the partition table type, there is a note
Hint: EFI GPT partition table type has been detected. So I guess there are still GPT entries.
If I select EFI GPT and Analyse, it says Bad GPT partition, invalid signature. Below it shows two identical partition entries:
1 P MS Reserved 34 32767 32734 [Microsoft reserved partition]
1 P MS Reserved 34 32767 32734 [Microsoft reserved partition]
If I then select Quick Search, the message is "The hard disk 9480 GB / 447 GiB) seems too small!" and lists 2 MS Data
partitions that can't be recovered. So I hit Enter to continue.
There is a list of 6 partitions, the first one is System Reserved and is marked P, the others are marked D.
If I use Intel as the partition table type and analyse, the error is "Bad sector count. No partition is bootable."
Then using quick search, it show 3 partitions, the System Reserved is marked * for Primary bootable, the other 2 are marked P Primary.
I can select the largest partition and still list the files to copy.
At this point I'm not sure what to do. I have a backup of my files, but it's not just about the files, I'd really like to be able to boot and use the system normally.
A lot of time goes into setting up a system. I have music production software installed, there's programs, plugins, configurations, hardware settings, on and on.
If you have read all this and have any ideas, even if it's just to tell me to get stuffed and buy some rescue software,
I would greatly appreciate it anyway.
One morning my Windows 10 main system drive would not boot. I managed to use Testdisk
to make a copy of my files, so I do have a backup.
Then I was able to actually restore the system so that I could boot from the drive!
The problem is I was also trying things in Windows Disk Management, diskpart and system repair
so I don't remember what the magic combination was that got me to that point.
I used the system a couple of times but then a few days later it would not boot again.
I bought another disk and was going to use Clonezilla and put the system
on that but Clonezilla freaked because there was a mismatched GPT and MBR partition and would not complete the process.
The motherboard bios doesn't have a UEFI setting (about 7 years old), so I figured the drive must have been MBR originally.
I had tried to wipe the GPT off using command line in Clonezilla and using sgdisk -z /dev/sda
(yes, I confirmed it's sda). There seemed to be conflicting messages, but one did say the GPT had been destroyed and I would need to create a new partition.
So, back to Testdisk...When I select the drive and then need to select the partition table type, there is a note
Hint: EFI GPT partition table type has been detected. So I guess there are still GPT entries.
If I select EFI GPT and Analyse, it says Bad GPT partition, invalid signature. Below it shows two identical partition entries:
1 P MS Reserved 34 32767 32734 [Microsoft reserved partition]
1 P MS Reserved 34 32767 32734 [Microsoft reserved partition]
If I then select Quick Search, the message is "The hard disk 9480 GB / 447 GiB) seems too small!" and lists 2 MS Data
partitions that can't be recovered. So I hit Enter to continue.
There is a list of 6 partitions, the first one is System Reserved and is marked P, the others are marked D.
If I use Intel as the partition table type and analyse, the error is "Bad sector count. No partition is bootable."
Then using quick search, it show 3 partitions, the System Reserved is marked * for Primary bootable, the other 2 are marked P Primary.
I can select the largest partition and still list the files to copy.
At this point I'm not sure what to do. I have a backup of my files, but it's not just about the files, I'd really like to be able to boot and use the system normally.
A lot of time goes into setting up a system. I have music production software installed, there's programs, plugins, configurations, hardware settings, on and on.
If you have read all this and have any ideas, even if it's just to tell me to get stuffed and buy some rescue software,
I would greatly appreciate it anyway.