[root@linux ~]# dd if="input_file" of="output_file" bs="block_size" count="number"

The syntax of 'dd'

[root@~]# dd if=/dev/hda of=/dev/hdb

Clone whole HDD from hda to hdb (Same as ghost)

[root@~]# dd if=/dev/hda1 of=/dev/hdb1

Clone partition from hda1 to hdbb (Same as ghost)

[root@~]# dd if=/dev/hda of=/tmp/mbr.back bs=512 count=1

Backup MBR (assume first block with 512 bytes per block

[root@~]# dd if=/dev/hda1 of=/mnt/sdc1/hda1.iso

Create image file for hda1 (Remember source partition is not same as destination)

[root@~]# dd if=/dev/zero of=/tmp/test bs=1M count=100

Test the IO write speed using DD

[root@~]# dd if=boot.img of=/dev/fd0 bs=1440k

Make the floppy boot disk using 'boot.img'

Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.