My external HDD has two partitions; one for windows and one for ubuntu. I was in Windows 10 transferring files to back them up when I accidentally knocked the cable out. Now neither OS will mount the hard drive correctly.
If I plug it in while in windows, it shows up in "my computer" but without the volume's name (it just says "Local Disk" instead of its proper name "Windows backup"). If the hard drive is plugged in while I start disk manager/diskmgmt.msc, the service freezes with the loading sign and won't show any disks until I unplug the external. If I open the service first then plug in the external, the service does not recognize anything.
In Ubuntu, it says it can't mount and "an operation is pending" on the windows partition (which ubuntu can see). The ubuntu partition can mount and I see the folders that are supposed to be there, but everything loads extremely sluggishly; as in I opened a folder with a single small .txt in it and the folder appeared as though it was empty for a full minute. If I try to navigate via terminal it says access is denied, even with sudo.
I can't even format the disk becuase windows's diskmgmt and ubuntu's gparted both fail to respond. I doubt I'll be able to get any data, but how can I at least format it? What could be the problem?
fdisk
on the external drive, from within Ubuntu, due to the dirty unmount.fsck
and typedfdisk
instead (twice). Ensure it's partitions are not mounted prior to runningfsck