Obscure error: dd: failed to open: No medium found

This blog post was published 9 years ago and may or may not have aged well. While reading please keep in mind that it may no longer be accurate or even relevant.

I got this error message when I wanted to use dd to copy a raw image to a MicroSD card. You will see this message if you have unmounted the card with a file manager like Nautilus.

The fix:

Unmount the card via the terminal:

umount /dev/sdd1

The dd command will work now.

Another variant of this error can be seen when using bmaptool:

bmaptool: ERROR: cannot open destination file '/dev/sdd': \[Errno 123\] No medium found: '/dev/sdd'
If you think you found a mistake in this blog post, or would like to suggest an improvement to this blog post, you can write me an e-mail to the address public dot michael at franzl dot name; as subject please use the prefix "Comment to blog post" and append the post title.
 
Copyright © 2023 Michael Franzl