LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-19-2004, 07:02 AM   #1
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Slackware Ubuntu
Posts: 1,053

Rep: Reputation: 42
making box b a clone of box a


I have two identical boxes - identical in every respect. Box a is now set up and has about 40 users set up. I want Box b to be *exactly* the same as a. I put the hdd from b into a and booted using Knoppix and tried a dd copy but it took ages (the drives are 30gb) and then froze. Is dd the solution or could I set up the partitions on the hdd from b and copy all the files over?? Is there another solution to dd??
Thanks
 
Old 04-19-2004, 08:40 AM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Just doing a google throws up g4u (ghost for unix):

http://rfhs8012.fh-regensburg.de/~feyrer/g4u/

I never used it, but maybe it is overkill for you with just one copy to make. I would just put both drives on one machine, partition the drives identically and copy files over. Return drive and run lilo to set up bootloader.

With corresponding partitions on /mnt1 and /mnt2 you should be able to copy with (as root)

# cd /mnt1 ; tar cf - * | ( cd /mnt2 ; tar xvf - )

This just tar's everything into one long file and untar's in a different dir on the other side of the pipe.

I don't know about dd. I would think you could dd a partition, but why bother if it is mainly empty?
 
Old 04-19-2004, 08:41 AM   #3
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
You could try partimage.
There is a system rescue cd at http://www.sysresccd.org/
Check to see that the partimage shipped are stable first. The cd it self is in a early state.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mspaint clone for my nix box? poiuytrewq Linux - Software 4 12-15-2004 07:33 PM
Making Linux box a router eonblue4309 Linux - Networking 4 03-18-2004 05:17 PM
Making a WAP out of a PHLAK box? oghistorian Linux - Networking 5 01-27-2004 01:05 PM
making a wireless router box yocompia Linux - Wireless Networking 0 08-05-2003 04:31 PM
Making coffee with your Linux box isolationist Linux - General 10 07-29-2003 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration