delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/23/04:08:21

X-Spam-Check-By: sourceware.org
X-YMail-OSG: n7PD8xkVM1mvPDSVuc0nUORqq7EPAGXKzjfrI4XjkLShStsu9t9kK1idP6AGn.Zs2lI6GnQOp1cDDV60bVYjT8L4A___221qVQ--
Date: Wed, 23 May 2007 10:07:51 +0200 (CEST)
From: Marco Atzeri <marco_atzeri AT yahoo DOT it>
Subject: Re: dd image onto a usb key
To: cygwin AT cygwin DOT com
In-Reply-To: <974016.55749.qm@web31112.mail.mud.yahoo.com>
MIME-Version: 1.0
Message-ID: <756774.22236.qm@web25009.mail.ukl.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--- "Mohammed Iqbal.H" ha scritto:
> 
> dd if={.dd image} of=/cygdrive/e
> 
> As 'e' is the USB key.
> 
> error message:
> 
> dd :opening '/cygdrive/e':Is a directory

/cygdrive/e is a mount point

To have a hint about the device name

$ cat /proc/partitions 
major minor  #blocks  name

    8     0  39070080 sda
    8     1  39062488 sda1
    8    16   1006592 sdb
    8    17   1006576 sdb1

my USB key is  /dev/sdb
and the 1st partition is /dev/sdb1

 dd if=/dev/sdb1 of=/tmp/usbkey_partition_image
2013152+0 records in
2013152+0 records out
1030733824 bytes (1.0 GB) copied, 165.357 s, 6.2 MB/s

$ dd if=/dev/sdb of=/tmp/usbkey_image
2013184+0 records in
2013184+0 records out
1030750208 bytes (1.0 GB) copied, 196.923 s, 5.2 MB/s


I am not responsable if you destroy you USB key 
playing with dd.

> Thanks
> iqbal
 
Regards
Marco



      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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