Too cool!  Funny, I've been into Linux for about 3 years and never heard of
'nc' ... had to rush off and install netcat.  When I've needed to clone I've
been burning a system image cd on the clone'r, then using Toms root on the
clone'e to partition then chroot, untar from the cd, run lilo, blahblah.  This
way would be way cooler.  I wonder if you could multicast this somehow.

-jh

"Austad, Jay" wrote:

> So, since I don't have a copy of ghost, and I don't think ghost works with
> Linux anyway, I used a couple of commands which did the same thing.
>
> I need to clone one of my machines to about 10 other ones.  And because of
> the level of customization, it would take forever to do by hand.  So, I
> downloaded Tom's root boot floppy from http://www.toms.net.  The machine I
> needed to clone was booted in read-only mode, it had an ip of 10.10.220.53.
> I then booted the other machine with Tom's root boot disk and gave it the ip
> 10.10.220.21.  On the one I wanted to clone to, I did:
> nc -l -n -v -p 6666 > /dev/sda
>
> On the machine I wanted to clone from, I did:
> cat /dev/sda | nc -n -v 10.10.220.21 6666
>
> After a couple of hours, the command finished.  I unplugged the network
> cable from the new machine (since it was a clone with the same ip as the
> other one), and rebooted.  It cloned the MBR, the partition table, and all
> of the data.  The machine seems to work perfectly.  I changed the ip on it,
> and stuck it into production and it's been performing flawlessly all
> morning.
>
> Jay
> _______________________________________________
> tclug-list mailing list
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list

--
John Hawley
BGEA/ITS <=> Network Admin
612.335.1334
jhawley at bgea.org