Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify target device as /dev/disk/... causes error: ERROR: Target media "/dev/disk/..." is not an entire storage device! #120

Open
poppadum opened this issue May 18, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@poppadum
Copy link

Describe the bug

I was attempting to write a Win7 installation .iso to a USB drive. For safety I usually specify disk devices as
/dev/disk/by-id/... instead of /dev/sd[abcd] as I'm much less likely to overwrite a device by accident.

To Reproduce

sudo ./woeusb-5.2.4.bash --device 7601.24214.180801-1700.win7sp1.iso  /dev/disk/by-id/usb-SanDisk_Cruzer_Edge_2006087572031AA345AA-0\:0

ERROR: Target media "/dev/disk/by-id/usb-SanDisk_Cruzer_Edge_2006087572031AA345AA-0:0" is not an entire storage device!

Expected behavior

As /dev/disk/by-id/usb-SanDisk_Cruzer_Edge_2006087572031AA345AA-0\:0 is a symlink to /dev/sda I expected the command to work exactly as if I had specified /dev/sda.

The command runs without error if I specify /dev/sda

Environment

  • OS: Mint 21.1
  • Bash: GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
  • WoeUSB: 5.2.4
@poppadum poppadum added the bug Something isn't working label May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant