PURPOSE: determine if there are any negative risks associated with mounting a blank, encrypted, destination hdd, when using the following dd command:
(sudo dd if=/dev/sdx bs=16M of=/dev/mapper/diskname)
I was told in another post that mounting a hdd when using the 'dd' command can lead to multiple problems, such as, 1, potentially overwriting "deleted" data during the dd process. This could be problematic if the point of using the 'dd' command is to recover data that was accidentally deleted.
My guess is that mounting the "host" hdd could be problematic in numerous ways, as written above, but am "guessing" that mounting an encrypted, data-empty hdd, that is the "destination" hdd, would be harmless. But maybe this is not correct = why I am asking.
UPDATE: The encrypted hdd had the data copied to it, the encryption is intact, and it does open using the 'cryptsetup' command.......... BUT it won't mount! Mounting error: "bad fs type, bad superblock on x, bad option, etc...". Tried mounting it to other directories, like media, but same result.
sudo cryptsetup luksOpen /dev/sdx boo.boo
sudo mount /dev/mapper/boo.boo /mnt