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

Caveat Lector: This blog post was published 10 years ago. Depending on the content, it may no longer be applicable or 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 found a mistake in this blog post, or would like to suggest an improvement to this blog post, please get in touch at michael@franzl.name; as subject please use the prefix "Comment to blog post" and append the post title.
 
Copyright © 2023 Michael Franzl