On 9/21/2023 22:40, Martin Wege via Cygwin wrote:
Hello,
How can I use /usr/bin/dd to copy a *.iso image (Debian netinstall
boot image) to a USB stick as raw bytes?
I do this frequently. You must start the Cygwin shell with admin
rights, then use Windows Disk Management mmc app to identify
the disk and convert from Disk n to /dev/sd[x], where Disk 0 is
/dev/sda, Disk 1 is /dev/sdb, etc.
BIG CAVEAT: You're in admin mode. Use the wrong device name and you
will trash target device if it's writable, including your Windows boot
drive. And no, the boot drive is not always Disk0 /dev/sda.
I always use hexedit to examine enough of the target device to assure
myself that it's the correct target.
--
Jim Garrison
j...@acm.org
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple