My HD shows up in Gparted as unallocated but it isn't showing up in File (same thing in windows Disk management and File explorer)
I am used testdisk to recreate the partition table and I was able to recover my HD and all the date without formatting it.I was able to recover my HD and all the data without formatting it.
- In the terminal enter
testdisk - Then choose create a log
- Then select the HD Chooseand choose the partition type (most probably Intel)
- Then select Analyse
- If you only hadhave 1 partition in your HD, then just mark the one that shows up as
Bootable partition(with the left-right arrow). Then press "Enter" to continue - If you had more, you should now do a "deeper search", otherwise choose
Write
Unplug your HD and plug it again (this is what they mean, in this case, by "reboot")