public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephen Samuel <samnospam@bcgreen.com>
To: eric@cisu.net
Cc: Michael Medwid <mmedwid@gmail.com>, linux-newbie@vger.kernel.org
Subject: Re: Linux Equivilant of Ghost?
Date: Thu, 27 Oct 2005 20:01:02 -0700	[thread overview]
Message-ID: <4361946E.7000905@bcgreen.com> (raw)
In-Reply-To: <200510232323.22675.eric@cisu.net>

You can also do the process the other way 'round.
 From the machine doing the install:

shh pickup@sourcebox  dd if=/hold/rootimage  bs=40K | dd of=/dev/hda1 bs=40k

You really want to make sure that the partition used to create
rootimage is smaller than the partition on any of your destination
machines.  Once you've DD'd the data over, then
    resize2fs /dev/hda1
(presuming that you're using ext[23]fs for the OS. Other Filesystems
may have their own utility) resize2fs will expand an ext2 or ext3 fs to
fit whatever partition it is currently in.



Eric Bambach wrote:

>On Sunday 23 October 2005 03:59 pm, Michael Medwid wrote:
>  
>
>>Is there a method to quickly replicate a bunch of Linux workstations
>>to a desired image like you can do with Symantec's Ghost product on
>>Windows?   For example suppose you have a classroom with 15 PCs and
>>you want them all to have the same image.  If there is such a beast -
>>does it support multicast to be able to image several machines on a
>>LAN all at once?
>>
>>Thanks.
>>
>>Michael
>>-
>>    
>>
>
>In a pinch there is alwatys dd :). This is especially true if they have 
>identical hard drive sizes and partition layouts
>
>dd if=(Image source) of=(image destination) bs=512
>
>where image source will be an entire hard drive like the primary 
>master /dev/hda and dest. will be /dev/hdb. ALso you can do this over the 
>network!
>
>Boot the image destination from a boot cd, (I like gentoo cause you can get 
>SSHD up with 1 command)
>
>On the image master
>
>dd if=/dev/hda bs=512 | ssh root@imagedestination dd of=/dev/hda
>
>This will block copy the hard drive on the source (/dev/hda) over the network 
>onto the destination hard drive (/dev/hda).
>
>Ugly, but it could hold you over till you get ghost up and going and its quite 
>simple.
>
>
>  
>


-- 
Stephen Samuel +1(604)876-0426             samnospam@bcgreen.com
		   http://www.bcgreen.com/
   Powerful committed communication. Transformation touching
     the jewel within each person and bringing it to light.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2005-10-28  3:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-23 20:59 Linux Equivilant of Ghost? Michael Medwid
2005-10-23 18:34 ` David Fierbaugh
2005-10-24  4:23 ` Eric Bambach
2005-10-28  3:01   ` Stephen Samuel [this message]
2005-10-26  5:29 ` rob

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4361946E.7000905@bcgreen.com \
    --to=samnospam@bcgreen.com \
    --cc=eric@cisu.net \
    --cc=linux-newbie@vger.kernel.org \
    --cc=mmedwid@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox