Marlon Yu said:
> On Fri, 2003-10-17 at 12:51, Joon wrote:
>> On Fri, 2003-10-17 at 12:07, Ahmad S. Taneo wrote:
>> > mkCDrec can do that.. exact replication of the entire hard drive.
>>
>> Thanks... but I was hoping I could do my replication straight from
>> shell.  I checked the rsync manpage, but couldn't see anything regarding
>> exact (low level?) hdd copy.  Maybe I should I use dd instead?
>
> dd is what I use here...although i've only used it on 2 identical disks
> (same model/make/size). it's as simple as "dd if=/dev/hdb of=/dev/hdc".
> took me 1 hour and a half to clone a 20Gb Maxtor IDE disk.
>

you can
cat /dev/hda > /dev/hdc

or if you want to copy only the first partition
cat /dev/hda1 > /dev/hdc1

be careful, this is very powerful
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to