[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: cloning hdb4 to another machine

On Tue, Jul 27, 2004 at 07:32:50PM -0400, Wanda Round wrote:
> I have 2 different machines. I want hdb4 on one machine
> cloned to hdb3 on the other machine. The machines are
> about 20 miles apart (home and work).
> The suggestions will come in very handy when I need to
> clone on the same drive.
> Any help on cloning from one machine's 2nd drive to
> a different machine's 2nd drive?

If I understand the situation, you have a system occupying 1.5 Gig and
you want this partition cloned exactly onto the other?

This 1.5 gig should tar onto a single CD if you use bzip2 compression
(gzip probably would do it).

this scenario should do it..

cd /
tar -cjf image.tar.bz2 /

You then need to burn this file onto a CDrom, take it home, clean the
partition - probably use mke2fs (or whatever filesystem you use).

Then cd onto that partition and extract the image file.

You'd need to do some editing of fstab, and the like.  I believe you
said this system uses grub?  I don't use grub, so I don't know about
that aspect. If the kernel filename is the same, it might simply boot up
as is, or you might have to do some editing.

But at any rate, that ought to at least get your files placed where you
want them.

In addition to this, of course, to extract the image onto the
destionation system, you'll need linux to extract onto the partition -
either a rescue disk or Knoppix or the like.

Reply to: