View Full Version : make an exact copy of Fedora from 1 PC to another

5th June 2004, 06:28 AM
I have 2 computers called X and Y.

X has:
Network Card
10 Gig drive
Red Hat Fedora Core 2 installed,
with ext3, swap and proc file systems
with a ton of customized scripts and environment settings

Y has
Network card
20 Gig drive, which is blank

Assuming that:
X = has the source hard disk
Y = has the destination hard disk

How can I make a (disk) copy from X to Y?
I want to avoid re-creating the same partitions on Y.
Will the disk copy create the same partitions for me?

I understand that Y has extra space which will remain unused.


5th June 2004, 12:26 PM
the easiest way is to put both hds in the same computer and use something like ghost to copy the disk over. it won't copy partitions, so you partition disk 2 as you like, then just ghost over your partitions. you can do it with dd as well, but that is a lot less intuitive.

5th June 2004, 01:51 PM
I think to do this with dd you could run

dd if=/dev/hda of=/dev/hdb if the first drive was X and the second was Y. I'm not sure though.