How can I used the dd
command to dump the contents of a removable disk in WSL?
When I run,
dd if=/mnt/d of=sdDump bs=512 count=1
I get the error dd: error reading '/mnt/d': Is a directory
I followed the steps shown here to mount the disk:
sudo mkdir /mnt/d
sudo mount -t drvfs D: /mnt/d
Doing this allows me to see the files on the disk via ls
, but running dd
yields the above error.