Revision [9560]
This is an old revision of dd made by coolpup on 2010-09-27 08:42:32.
dd linux command
drive/partition duplication, imaging, cloning, transferral and restoration# dd --version dd (coreutils) 6.9 Copyright (C) 2007 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, and Stuart Kemp.
For usage instructions enter into the command-line interface:
dd --help
When using the dd command the source and target drives/partitions:
- must not be the same
- must be unmounted (which means that one has to boot up from a drive that does not involve either the source or target)
Creating a cloned partition:
dd if=/dev/<source partition> of=/dev/<target partition> bs=4096 conv=notrunc,noerror
Creating a compressed image of the sda1 partition:
dd if=/dev/sda1 bs=4096 | gzip > partition.image.gz conv=noerror
http://www.linuxquestions.org/questions/linux-newbie-8/learn-the-dd-command-362506/
References
http://www.murga-linux.com/puppy/viewtopic.php?p=453827#453827http://www.cyberciti.biz/tips/how-do-i-make-linux-filesystem-backup-with-dd.html
http://www.debianhelp.co.uk/ddcommand.htm
http://www.inference.phy.cam.ac.uk/saw27/notes/backup-hard-disk-partitions.html
http://lazysystemadmin.blogspot.com/2010/07/creating-hard-disk-image-file-it-is.html
http://www.backuphowto.info/linux-backup-hard-disk-clone-dd