[Discuss] Knoppix to the rescue

pw p.willis at telus.net
Tue Oct 23 13:56:04 PDT 2007


John Blomfield wrote:
> In case I every want to try using dd to backup a Window's partition, 
> what is the syntax, i.e. the options on the command line "dd 
> .............."???
> 
> Thanks
> John Blomfield


You need to know what device the windows partitions are first.

ie:

/dev/hda1
/dev/sda1
....???

The command to make a file image of the partition would be:

dd if=/dev/<whats_your_partition>  of=/somedirectory/somefile.bin


To recover the partition just do the reverse using the binary file
as the 'if' <input file> and the device as 'of' <output file>.

As is sometimes the case, my memory may be a bit hazey, so use
the 'dd' man page as a guide.

ie:

man dd


Peter


More information about the Discuss mailing list