delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/09/22/19:10:27

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 252DC385840E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1695424225;
bh=RWr/pUlb7ANhldDOKcCPHhc8tfVxVRWVRbfhQu/c/cA=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=wAKEvKZGMiV8ijJwNvqU0He7YTj1GVtLqKhcPqGi6R0J3GubREwyViUyeEcLeKqUy
+tv3fgvg51cF6bvOKvh2RRd46xm33qjBmV4qn/08IVZm+R3uXMuP0it0AJwQtS41pm
1IDRHT/6e7Suhn+Pxbtd9Rv4c21MCeT5S7NZM5Z4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AF1E83858D28
Message-ID: <c8593576-f08e-41fb-ad2e-abf9682f5b90@jhmg.net>
Date: Fri, 22 Sep 2023 16:10:05 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: /usr/bin/dd *.iso to USB stick?
To: cygwin AT cygwin DOT com
References: <CANH4o6O5eijgsjD_VsRDtZkRDZARONzfyfN2NdiKq3qkNeBv=Q AT mail DOT gmail DOT com>
Autocrypt: addr=jhg AT jhmg DOT net; keydata=
xsDiBDWEWocRBADfF9Q6lhkW9USReZ96cBC93kq3bblkNslVAZzm9itW7sAEzHbydIZ9hZjm
e93UxUPzg1zGXX9xrdQy0+lHxkj2wvzgEF50Kqjft6KAd8AqiNmcbu5Q+/SHIP87C/tD/wWO
TX7I99ekggy+5a6illN/s7MhuPIsMtt3ofFFcuOvswCg/08V11KALulG6u9j1affyHy20UMD
/A1MRT3YZt6NJE9XbcalVLQzWc+ArCkW0oxNs/wrQ26l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uNFjj7z5Mgq1la2AhKFM/MIM9i+Wc5j3MEEFU
386cRSG+RyDQLKch6j+SgbX62BdOQxAF4EWRKIfU9xw7czC8AIMRTdAc1VyMIGE7asD7EwU6
iRzcEGdAU8JGBBgRAgAGBQI1hFqHAAoJEClu/GJwc42ItM4AoL+kbkqNvMdUwSGxECYAMAFe
gz3TAJ4wt2K8xQhx5iPuLTZFPyZoC8vrdw==
In-Reply-To: <CANH4o6O5eijgsjD_VsRDtZkRDZARONzfyfN2NdiKq3qkNeBv=Q@mail.gmail.com>
X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Jim Garrison via Cygwin <cygwin AT cygwin DOT com>
Reply-To: jhg AT acm DOT org
Cc: Jim Garrison <jhg AT jhmg DOT net>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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
jhg AT acm DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019