How do I format LUKS encrypted disk if I don't know the passphrase?
I recently switched my HDD for a new SSD disk in my laptop and now when I connect the old HDD externally I can't mount disk event with the right passphrase (I assume I am doing something wrong at this point). However I want to format that disk and use it as regular external HDD, so is there a way how to do that? All tutorials I've found requires the knowledge of passphrase.
This is what I get during unlocking
Error unlocking /dev/dm-6: Command-line `cryptsetup luksOpen "/dev/dm-6" "luks-5a73e3e1-6b40-415f-8c40-ca14faecc7cb" ' exited with non-zero exit status 1: .