I managed to mess up the partition table of my main media HDD. gParted cannot recognize it anymore. There's everything I ever had since my first PC. I ran "attempt data recovery" in gParted (it required gpart so I installed it), and now it's showing "searching for file systems on *my_hdd*".
Can anyone tell me if I did it right, or should I stop this process and use some of the solutions posted all around here? I activated "attempt data recovery" on instict, and then Googled out everythihg else. I also know that nothing has been written to my HDD, I messed it up trying to remove MBR from it, and deleted first 512bytes using "dd".
Anything you can say about this is helpful, as this computer is family shared.
Thanks in advance.
I already ran
testdisk and it's processing the HDD already, much faster then gParted. It's on 15% already. I cannot find a hard drive to backup my existing one, but I'm hoping by reviews I've seen for testdisk that it will help without backing up my data...
Yes, the only thing I've done was erasing the first 512 bytes trying to erase MBR because I moved my OS's to a new smaller drive, and expanded the media partition of my old drive to fully utilise it's 500GB capacity only for media. But gParted screwed me along the way...
I believe that testdisk will help, I'll just give it time and post the results here.
I managed to fix it by just restoring the MBR using testdisk. For anyone that may have such problems in the future, there actually IS an option to restore MBR from the MBR backup. After that, I just set the partition type from BOOT to Primary, and all of my data is here, untouched.
Also, my primary disk that Ubuntu couldn't access, well the problem was some RAID metadata, that I erased. There are guides on the web on how to do this. After a reboot, my system works like nothing ever happenned.