My USB disc has a hidden encrypted partition. I can't even see it in no software. I tried almost everything in windows. I want to format the whole disc at low level and reuse all the capacity. is there any tool or commands in Linux on how to do it?
Edit: I'm using Ubunto 16.04 - Gparted does't show the hidden partition. and the exact total cap.
The total capacity of the USB disc is 4GB. but It is showed as a 1GB Drive. and I'm not able to wipe the whole disc including the encrypted partition, since it is not shown anywhere.
I think there should be something like
fdisk. i. e. when a file is hidden or password protected, you can't use that part of the drive unless you have the password. but if you format the partition or
fdisk the drive and recreate the partition it is gone no matter how it was encrypted.
now in this case I'm looking for a command or software to format this Drive in that low level. to wipe the encrypted part. and reuse the whole disc. but the problem is there is no tool available to determine there's a hidden partition to try and zero it.
I'm wondering if
hdparm can do the trick. though I don't know how.