I've got a partition that is encrypted using VeraCrypt. I accidentally deleted some files and would like to recover them. The main problem is that tools like ntfsundelete
require a device to work. But there is only a device inode like /dev/mapper/veracrypt1 as long as the device is mounted in VeraCrypt. I cannot access this device inode because it's "already opened exclusively", probably by VeraCrypt.
How can I undelete the files? The actual data should still be there... hopefully.
dd
image of the drive first:sudo dd if=/dev/mapper/veracrypt1 of=~/Desktop/copy.img
– Andrea Lazzarotto Sep 17 '16 at 14:45sudo something
can read the device, you might as well use my software RecuperaBit on it: http://askubuntu.com/a/776317/271 – Andrea Lazzarotto Sep 17 '16 at 20:58