>From the command line, issue the following:
dd if=/dev/hda of=/dev/hdc bs=1024
in the example above, make sure that /dev/hda and /dev/hdc correspond to
the proper drives
Also, I'd recommend installing hdparm (if it's not installed already) and
then issuing the commands
hdparm -d1 /dev/hda
hdparm -d1 /dev/hdc
to switch on DMA on both drives (this doesn't apply if your drives are
scsi).
You will save yourself *hours*, if not days (depending on disk size) by
switching on dma.
The other caveat here is that your target disk *must* be of the same size
or larger than your source disk.
Ian
------------
Dr Ian Firla
Robert Graves Trust | "A partial count of the software available
St John's College, Oxford | in just one noncommerical Linux system
OX1 3JP - +44-(0)7855-310565 | would have cost about $1.9 billion to develop
http://www.robertgraves.org | ... the way Microsoft does it" Bruce Perens
On Mon, 25 Nov 2002, omerfarooq wrote:
> hi there
>
> can any one tell me how to make a copy of linux harddisk to another harddisk
> dito copy. like how we are making it in windows enviroment that just plug the
> other hdd and from windows copy and paste all the files to the other hdd.
> even it will copy the system files. how can we do that in LINUX........
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.417 / Virus Database: 233 - Release Date: 11/8/02
>
|