i think i accidently deleted the partition of my new external HDD (so no data on it) in the KDE Partitionmanager and now it’s not visible anymore, so that i can’t access it. What can i do to get it back? When i do lsblk i can see it normally as sda1.
Of course it will not be displayed anymore as a partition because you just deleted it.
If it was only one partition and you know exactly how large it was, you might get away with just creating the same size partition again.
Better make an image of the drive, so you have something to go back to
and then use testdisk or some other forensics tool.
Testdisk might be able to detect the previously existing partition and restore it.
I tried it with testdisk but didn’t work, will try again now.
Here’s what i do:
So after i press “Create”, i see the drive with the exact amount of space (by the way it is a new hdd, so the data on it is not a problem).
I’m not familiar with testdisk - have used it years ago, but only to try, to see whether and how it would work.
It was in a non emergency situation - I deliberately screwed things up and then tried to rectify the situation.
It worked when only the partition was deleted, but nothing else was destroyed.
How to operate testdisk?
I have no recollection and can only refer you to the manual.
Have an image of the drive before you try stuff on it - if you value the data on it.
It is not show in the file manager, but it will be shown in a partiotion manager like gparted or kparted. Just create it a new. And if you are not using windows make it ext4 or btrfs.
Hi, i found the problem, it’s a hardware problem. It’s probably my USB Hub with which i use the HDD. I read that Linux is more strict with that when it doesn’t have enough power. Sorry for taking your time. Gparted/Manjaro Kernel is not to blame.
I could describe it in more detail if wanted (which commands i used to identify the problem)