Answer the question
In order to leave comments, you need to log in
Why is Permission denied when transferring an image to a flash drive using dd?
There is a backup flash drive image test.img.
I want to transfer it to another flash drive (which is currently bootable with Lubuntu, if that matters).
I execute the command
sudo dd if=/home/юзер/test.img | pv | dd of=/dev/sdb
dd: failed to open '/dev/sdb': Permission denied
Answer the question
In order to leave comments, you need to log in
dd if=/home/юзер/test.img | pv | sudo dd of=/dev/sdb
You start reading from sudo, but you need to write. pv /home/юзер/test.img | sudo dd of=/dev/sdb
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question