From owner-freebsd-questions@FreeBSD.ORG Wed Jul 1 22:40:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 877EC106566C for ; Wed, 1 Jul 2009 22:40:04 +0000 (UTC) (envelope-from james@tanis.us) Received: from que31.charter.net (que31.charter.net [209.225.8.23]) by mx1.freebsd.org (Postfix) with ESMTP id 18BB58FC0C for ; Wed, 1 Jul 2009 22:40:03 +0000 (UTC) (envelope-from james@tanis.us) Received: from imp10 ([10.20.200.10]) by mta21.charter.net (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20090701222210.GHI3344.mta21.charter.net@imp10>; Wed, 1 Jul 2009 18:22:10 -0400 Received: from pandora.tanis.us ([75.137.190.160]) by imp10 with smtp.charter.net id AmN91c00J3U5Nf705mN9pm; Wed, 01 Jul 2009 18:22:10 -0400 Received: by pandora.tanis.us (Postfix, from userid 80) id 1965FB855; Wed, 1 Jul 2009 18:22:21 -0400 (EDT) Received: from 72.243.22.249 (proxying for unknown) (SquirrelMail authenticated user james) by tanis.us with HTTP; Wed, 1 Jul 2009 18:22:21 -0400 Message-ID: In-Reply-To: References: Date: Wed, 1 Jul 2009 18:22:21 -0400 From: james@tanis.us To: "Wojciech Puchar" User-Agent: SquirrelMail/1.4.19 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Grant Peel , freebsd-questions@freebsd.org Subject: Re: Cloning to different disks. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2009 22:40:04 -0000 >> Each machine only has 1 hard disk, but they all have a CD ROM and USB >> available. >> >> I have built a pristine system with all packages and ports installed >> that I need. >> >> I am now wanting to clone this to all the machines. The dificulty being >> that they all have various Disk sizes and interfaces (i.e. SCSI 3, SAS, >> etc). >> > there is no difficulty. > > tar up your set to file, on disk or available on network (NFS for example) > > boot from live CD, make disklabels, do newfs and untar your set on each > machine, then change /etc/rc.conf - like hostname and IP If he set up the original on the box with the smallest drive really he need only make an image with dd on to a usb drive, boot to a live disk on the new machine, and write the image to the new disk. On disks with compatible interfaces you could temporarily install the drive and skip the usb portion. After the write he'll need to mount the new drive and modify rc.conf and fstab to the correct settings -- other then that he should be good. No disk(re)labeling needed. Sure you might be out some space if the other drives are substantially bigger but you can always add the partitions later. Depends if time is of the essence or not I guess.