This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: dd image onto a usb key
- From: Marco Atzeri <marco_atzeri at yahoo dot it>
- To: cygwin at cygwin dot com
- Date: Wed, 23 May 2007 10:07:51 +0200 (CEST)
- Subject: Re: dd image onto a usb key
--- "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/