[XCSSA] DD how di I use it?????

xcssa@xcssa.org xcssa@xcssa.org
Wed, 3 Jan 2007 22:37:13 -0600


On Wednesday 03 January 2007 19:19, xcssa-admin@xcssa.org wrote:
> How do I use the DD command in FC6 and is there a file that I need with it.
> I have the n2200.img file but I don't know how to extract it, 

dd stands for "convert and copy"..?  :v/
Strange.. I know.

hehe..  Actually the dd command predates Winzip, zip and even Microsoft 
Windows. :)

In short.. it's just a raw method of cloning files.  And in UN*X/Linux, since 
devices (like floppy drives and hard drives) are all files within the OS 
(e.g. /dev/floppy and /dev/cdrom), you can "dd" device files to real files.  
For example, to dd (copy) a CF boot card to an image file for later use, you 
would boot off CD (such as knoppix), and then hook up the CD card and clone 
it like this.. 
	dd if=/dev/hda of=/tmp/clone-of-hda.img

In the opposite direction.... you can "dd" real files back to the device files 
like this:
	dd if=/tmp/clone-of-ha.img of=/dev/dha

> and is there
> a way to do this with windows XP

No, not natively.  You need one of several add on programs.  One popular way 
that Linux geeks like is by installing Cygwin (a full GNU/Linux install that 
gives you Linux on Windows).  But if that's more than you want to mess with.. 
then here's a stand alone Win32 flavor of "dd" for doing CF cards, hard 
drives, etc:
	http://www.chrysocome.net/dd


There's a GUI tool for doing dd-like functions called "rawwrite", but it only 
handles floppy images last I heard:
	http://www.chrysocome.net/rawwrite


> I would like these two Netvista's that I have be able to use a windows as
> the machine that will do most of the work is a windows 2000 machine.  I
> here that win CE can be used on these but I think that I need a bit more
> info befor I can come to that conclusion . 

WinCE is usually compiled for very specific platform architectures (last I 
checked).  I'm not sure if there's some "open" way of putting it on the 
NetVista.. but last I checked, WinCE was pretty tightly closed and not very 
transplant-able (usually build by MS developers for alternate processors like 
MIPS, ARM, etc). That being said.. a lot of people HAVE used WinPE for doing 
this type of thing (e.g. getting windows on a small embedded device like 
this), although I have not myself.  More example info here:
	http://www.msfn.org/board/lofiversion/index.php/t14316.html


> any help is welcome any ideas 
> are even more welcome.

The first question you should always ask is:
-What do I want to do?
and then
-What technologies are I comfortable using to do them... or what technologies 
would I not mind trying out to get the job done?

Then go from there.

Tweeks