[IAEP] Cloning USB sticks

Sascha Silbe sascha-ml-ui-sugar-iaep at silbe.org
Tue Aug 4 08:40:53 EDT 2009

On Tue, Aug 04, 2009 at 05:07:31AM -0700, Thomas C Gilliard wrote:

> ie: The over-riding determining factor is that the copied to USB stick 
> has to have equal or greater capacity than the copied from USB stick 
> for the dd process to be sucessful.

> * Do you have a suggestion on how to determine the actual size of a 
> USB stick without seeing the error message if the dd command fails?
On Debian you can install a tool called disktype that can print the size 
of a device:

sascha.silbe at twin:~$ disktype 

--- /dev/disk/by-id/usb-CHIPSBNK_USB_2.0_260917004B813900-0:0
Block device, size 999.5 MiB (1048051712 bytes)

Alternatively you can check the kernel logs:

sascha.silbe at twin:~$ grep sectors /var/log/syslog
Aug  4 14:37:47 twin kernel: [202233.115200] sd 8:0:0:0: [sdc] 2046976 
512-byte hardware sectors (1048 MB)

Depending on distribution and installed syslogger, the file you need to 
check might be called /var/log/syslog, /var/log/messages, 
/var/log/everything or similar.

CU Sascha

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
Url : http://lists.sugarlabs.org/archive/iaep/attachments/20090804/9bfc6978/attachment.pgp 

More information about the IAEP mailing list