View Single Post
Old 07-13-2003, 02:24 PM  
PowerCum
CjOverkill
 
Industry Role:
Join Date: Apr 2003
Location: Woldwide
Posts: 1,328
dd if=/dev/hda of=/dev/hdb
Assuming the hard drive to read is on IDE1 as master and hard drive to write is on IDE1 as slave. Get any linux rescue CD, or any live demo CD, or any install CD (stop the installer and run that command once you booted from the CD)

command explaination:

dd -> direct byte to byte copy (same as rawrite).
if -> Device to be readed
of -> Device to write to.

hda -> IDE1 Master
hdb -> IDE1 Slave
hdc -> IDE2 Master
hdd -> IDE2 Slave

In case you are using SCSI disks then replace hd... with:
sda -> SCSI1
sdb -> SCSI2
sdc -> SCSI3 ... etc...

Hope this helps you
__________________
CjOverkill Traffic Trading Script
Free, secure and fast traffic trading script. Get your copy now
PowerCum is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote