Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2005 00:29:08 -0400
From:      "fbsd_user" <fbsd_user@a1poweruser.com>
To:        "Ewald Jenisch" <a@jenisch.at>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Installing on multiple machines
Message-ID:  <MIEPLLIBMLEEABPDBIEGAEKCHFAA.fbsd_user@a1poweruser.com>
In-Reply-To: <1b6c15ea050524193248b3d1aa@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Use "Norton Ghost" win box to create ghost's pc-dos bootable floppy.
After 5.4 is installed and wanted ports are installed take HD from
other pc and add it to 5.4 box. Them boot ghost floppy and do disk
to disk copy. remove 2HD and place into other pc and boot and your
done. Do same thing for all other pc's you want 5.4 on.

You can also use ghost image network distribution method. Read ghost
manual for details.

-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Carlos
Alloatti
Sent: Tuesday, May 24, 2005 10:32 PM
To: Ewald Jenisch
Cc: freebsd-questions@freebsd.org
Subject: Re: Installing on multiple machines


On 5/24/05, Ewald Jenisch <a@jenisch.at> wrote:
> Hi,
>
> I'd like to install 5.4 on several machines. The hardware is
similar,
> but not exactly equal (different size HDs, different amount of
> memory).
>
> Is there any way to install 5.4 on different machines with the
same
> options, i.e. same set of packages, same settings (e.g. keyboard)
> etc. without manually going through the installation on every
machine?
>

Doing a "Norton Ghost" like copying of the hard disk is ok for you?
Try this:

Install and configure FreeBSD in one machine. Now start an install
of
Freebsd in another machine, up to the FreeBSD Disklabel Editor.
After
creating slices with "A" or manually, press "W" to save changes.
Remove disk, install as MASTER in SECOND IDE CONTROLLER on first
machine, start FreeBSD , create /edit this script:

#!/bin/sh
mkdir /backup
mkdir /backup/root
mkdir /backup/usr
mkdir /backup/var

newfs /dev/ad2s1a
newfs /dev/ad2s1d
newfs /dev/ad2s1f

mount /dev/ad2s1a /backup/root
mount /dev/ad2s1d /backup/var
mount /dev/ad2s1f /backup/usr

( dump -0f - / ) | ( cd /backup/root ; restore -rf - )
( dump -0f - /var ) | ( cd /backup/var ; restore -rf - )
( dump -0f - /usr ) | ( cd /backup/usr ; restore -rf - )

umount /backup/root
umount /backup/var
umount /backup/usr

tunefs -n enable /dev/ad2s1a
tunefs -n enable /dev/ad2s1d
tunefs -n enable /dev/ad2s1f

#eof

Restart in single user mode, run this commands:

# fsck -p
# mount -u /
# mount -a
# swapon -a
# adjkerntz -i

Now run the script you created, wait forever.... now you have
"cloned"
your original hard disk. Remove second hard disk, install on new
machine, and it should start. Edit some files: rc.conf, hosts, etc
thats it.

This can also be used to change/backup hard disk.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MIEPLLIBMLEEABPDBIEGAEKCHFAA.fbsd_user>