Re: [expert] cloning hard drives

2000-12-20 Thread Rusty Carruth

Bug Hunter [EMAIL PROTECTED] wrote:
 
   Can I use DD to clone the entire hard drive?

yes.

   What if the drives are different sizes?  

probably not, I've never tried that.

 Will it clone a 1 gig to a 2 gig drive?

Don't think so.

Now, for the longer answers:

I've used DD many times for all sorts of cloning and backup
schemes.  Works great, just be sure you get the right device
(/dev/hda, /dev/hda1, etc), and be aware of what you said
and what you really meant ;-)

For cloning an install, I assume you could use that disk
that Mandrake offered to make so you could do just that -
clone an install.  But I doubt that it would clone any
config changes you make AFTER the install.  So, if you
want to clone a post-installed configuration, the safest
thing would be to buy 'n' identical hard drives, to be 
placed as /dev/hda (or /dev/sda, or whatever) on the
target machine, with a second hard drive to be mounted
as /whatever which may be different size but does not
have any info you want cloned, install and configure 
one machine, dd-clone the /dev/hda drives, partition 
and format the /dev/hdb drives, install everything 
into the cloned machines, reboot, and off you go.
I've not tried THIS approach, but it should work
just fine.

Another option would be to make /boot the identical
size on all drives (and starting at the same location!),
clone with dd that, and use tar on the rest
I've not tried this 3rd approach, it may not work!

rusty


Rusty Carruth  Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
Voice: (480) 345-3621  SnailMail: Schlumberger ATE
FAX:   (480) 345-8793 7855 S. River Parkway, Suite 116
Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825




RE: [expert] cloning hard drives

2000-12-20 Thread Klar Brian D Contr MSG SICN

Look on freshmeat. There is a prog called partimage that
is a Ghost type program. This may do what you want.

-Original Message-
From: Bug Hunter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 20, 2000 10:44 AM
To: [EMAIL PROTECTED]
Subject: [expert] cloning hard drives



  I have a project in which I need to set up linux (we will be using
mandrake) on a machine, and the other identical machines will be cloned
from that hard drive.

  Can I use DD to clone the entire hard drive?  What if the drives are
different sizes?  Will it clone a 1 gig to a 2 gig drive?


thanks!
bug





Re: [expert] cloning hard drives

2000-12-20 Thread J . A . Magallon


On 2000.12.20 Rusty Carruth wrote:
 Bug Hunter [EMAIL PROTECTED] wrote:
  
Can I use DD to clone the entire hard drive?
 

I have used 'cp -a' to clone a full mdk install. The only thing you have
to do is a boot diskette to boot cloned system the fist time and
re-run lilo.

-- 
Juan Antonio Magallon Lacarta # cd /pub
mailto:[EMAIL PROTECTED] # more beer

Linux werewolf 2.2.19-pre2 #2 SMP Sun Dec 17 00:51:15 CET 2000 i686





Re: [expert] cloning hard drives

2000-12-20 Thread J. R. Pendley

J . A . Magallon wrote:
 
 On 2000.12.20 Rusty Carruth wrote:
  Bug Hunter [EMAIL PROTECTED] wrote:
  
 Can I use DD to clone the entire hard drive?
 
 
 I have used 'cp -a' to clone a full mdk install. The only thing you have
 to do is a boot diskette to boot cloned system the fist time and
 re-run lilo.
 
 --
 Juan Antonio Magallon Lacarta


I've been disappointed by several schemes in the past, but just last
night I cloned a system from a 1G HD to a 10G and all seems to be
there. I used the steps in the guide below. I did partition the new
drive so it had the same # of partitions. It gives different ways to 
clone and problems. For the record I used the second (ii) method.

http://www.storm.ca/~yan/Hard-Disk-Upgrade.html 

Jim Pendley




RE: [expert] cloning hard drives

2000-12-20 Thread Bug Hunter


 thanks!!!  That looks like something I could use.

On Wed, 20 Dec 2000, Klar Brian D Contr MSG SICN wrote:

 Look on freshmeat. There is a prog called partimage that
 is a Ghost type program. This may do what you want.
 
 -Original Message-
 From: Bug Hunter [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 20, 2000 10:44 AM
 To: [EMAIL PROTECTED]
 Subject: [expert] cloning hard drives
 
 
 
   I have a project in which I need to set up linux (we will be using
 mandrake) on a machine, and the other identical machines will be cloned
 from that hard drive.
 
   Can I use DD to clone the entire hard drive?  What if the drives are
 different sizes?  Will it clone a 1 gig to a 2 gig drive?
 
 
 thanks!
 bug