LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cloning Redhat 9.0 software? (https://www.linuxquestions.org/questions/linux-software-2/cloning-redhat-9-0-software-184245/)

mijohnst 05-21-2004 04:18 PM

Cloning Redhat 9.0 software?
 
I'm looking to clone some of my linux boxes. I thought that Norton Ghost 7.5 would work, but it turns out that it doesn't.

I was wondering what some of you would recommend in this case and is there anything that I should watchout for? Thanks again!

RobertP 05-21-2004 05:46 PM

If the boxes are physically identical, you can use the dd command to duplicate the filesystem:
Assuming /dev/hda is your drive, add a second identical drive that will be /dev/hdb on a second controller for efficiency. It is best to boot the machine with a rescue CD or floppy so that the filesystem is not active when copied.
dd if=/dev/hda of=/dev/hdb
will copy everything on the original to the second drive.
Remove the second drive and install it in the second box. The two boxes will be clones.
If you use them together you need to give them different identities (hostnames,IPaddresses)
otherwise one can be a backup for the other.

If the boxes are not physically identical, it may be necessary to do a fresh install on the second machine. e.g. if the second machine has a boot device not supported by the kernel, it may not be possible to boot. In most cases the copy will be able to boot on a similar machine but will require some reconfiguration for X, for example.

mijohnst 05-21-2004 06:15 PM

Thanks for the response Robertp! I had been think about doing what you replied, but I wasn't sure if it would work so thanks for the input...

Also, I found this place http://www.feyrer.de/g4u/ on this board and have been looking into that. It's pertty slick, so we'll see what happens... Thanks again!


All times are GMT -5. The time now is 06:29 AM.