[NTLUG:Discuss] DD Assistance?

Val W. Harris valwharris at verizon.net
Thu Mar 2 20:14:17 CST 2006


Fred Hensley wrote:
> I have received a vendor-generated image file (dsclinux-32.img) provided
> for installation onto a proprietary 32MB flash disk module.  The
> bytes-per-sector for the flash module appears to be 1K.  The image file
> is supposed to create a complete ext2 formatted tiny linux system for an
> embedded single board computer (SBC). 
> 
...
> dd if=dsclinux-32.img ibs=1k of=/dev/sdb1 obs=512
> 
...
> 
> Anyone notice anything obvious (or slippery) I am missing here?
> 
> Thanks in advance for any suggestions.
> 
> Fred Hensley

Fred,

dd does a bit by bit copy.  The filesystem of the input is overwriting 
your filesystem on the output device.


Val
-- 
Val W. Harris            valwharris at verizon.net

"One of the advantages of being disorderly is that one
  is constantly making exciting discoveries."
  - A. A. Milne





More information about the Discuss mailing list