You might also want to exclude /tmp and /var/tmp. Would you have to
exclude /dev?

~Mike


-><-

"And don't tell me there isn't one bit of difference between null and
space, because that's exactly how much difference there is. :-)"
--Larry Wall in <[EMAIL PROTECTED]>

SDF Public Access UNIX System - http://sdf.lonestar.org

On Tue, 17 Jun 2003, Christopher Fisk wrote:

> On Tue, 17 Jun 2003, Jeff Adams wrote:
>
> >Hello,
> >
> >I have an installation just the way I like it.  Now I need to replicate it
> >onto 4 other identical machines.
> >
> >I'd appreciate input on how best to accomplish this.
> >
> >My perfect world scenario would be to be able to create a bootable
> >installation CD that would do the trick for me.
>
> I've been doing this for a project I'm doing where I'm building a Gentoo
> appliance type machine.
>
> You'll want to create tarballs of the filesystem, but you'll want to
> exclude certain directories:
>
> make an exclude.txt file with the following entries:
>
> /proc
> /mnt/.init.d
>
> Then issue the command:
>
> tar -X /path/to/exclude.txt -cpf clone.tar /
>
> That will give you a tarball of your filesystem.
>
> Now using your Gentoo Boot disk boot into the installation and setup your
> filesystems (You can use sfdisk to read your old partition table from the
> original drive and then write it to the new drive if the drives are
> identical).  Format those drives, mount them as explained in the install
> guide and ftp your tarball over to that disk.
>
> Untar the tarball, then mkdir proc (So you have a place to mount your proc
> filesystem) run grub and you are set.
>
>
> Christopher Fisk
> --
> I AM NOT A DENTIST
> I AM NOT A DENTIST
>       Bart Simpson on chalkboard in episode 7F24
>
> --
> [EMAIL PROTECTED] mailing list
>

--
[EMAIL PROTECTED] mailing list

Reply via email to