LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-21-2004, 04:18 PM   #1
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419

Rep: Reputation: 31
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!
 
Old 05-21-2004, 05:46 PM   #2
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
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.
 
Old 05-21-2004, 06:15 PM   #3
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419

Original Poster
Rep: Reputation: 31
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cloning Software to make identical copy shazam75 Linux - Software 4 10-28-2005 12:43 AM
cloning cpvjagadeesh Linux - Software 1 04-11-2005 05:09 AM
CD Cloning SOFTWARE w0lv3rin3 Linux - Software 2 02-21-2005 02:15 PM
cloning with DD and NC scoob8000 Linux - Software 3 11-12-2004 11:34 AM
Is there drive cloning software similar to Ghost for *nix? ExoZagNoid Linux - Software 3 06-18-2004 12:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration