From owner-freebsd-questions@FreeBSD.ORG Wed Aug 10 17:14:04 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B52816A41F for ; Wed, 10 Aug 2005 17:14:04 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF7DC43D45 for ; Wed, 10 Aug 2005 17:14:03 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout5.cac.washington.edu (8.13.4+UW05.04/8.13.4+UW05.05) with ESMTP id j7AHE3rP011516 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 10 Aug 2005 10:14:03 -0700 X-Auth-Received: from [128.208.4.29] (shiina.dyn.cs.washington.edu [128.208.4.29]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.4+UW05.04/8.13.4+UW05.07) with ESMTP id j7AHE2rL031822 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 10 Aug 2005 10:14:03 -0700 Message-ID: <42FA35DC.5060502@u.washington.edu> Date: Wed, 10 Aug 2005 10:14:04 -0700 From: Garrett Cooper User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ewald Jenisch , FreeBSD Questions References: <20050810170409.GA5560@aurora.oekb.co.at> In-Reply-To: <20050810170409.GA5560@aurora.oekb.co.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: /home on a separate slice on cloned system 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, 10 Aug 2005 17:14:04 -0000 Ewald Jenisch wrote: >Hi, > >I'm currently in the process of cloning >FreeBSD-installations. Machines are (almost) identical - only HD-sizes >are different. > >So I installed the "master"-system as follows: > >I set up two slices on the HD. The first slice contains /, swap, /var, >/tmp, and /usr; the second slice only contains /home. During >installation I installed the FreeBSD boot manager. Everything's >running perfect on the master machine (besides the small issue that >the FreeBSD boot manager lets me choose between two (!) installations >- I assume this comes because I've got two slices). > >The next step was cloning: On the target machine ("slave") I set up >two FreeBSD partitions (i.e. "slices" in BSD-lingo: the first one >exactly equal to the first slice on the master machine, the second one >a little smaller. The cloning process itself went OK without problems >- I cloned the first slice from the master- to the slave-machine. > >After copying over the data I only had to boot with the FreeBSD >Install-CD on the slave-system one time in order to write the boot >manager and the machine booted without problems. > >Now for the problem: Upon boot the slave machine says it can't find >the /home-partition, i.e. hda2d, and goes into single-user mode. Sure >enough once I comment out the respective entry in /etc/fstab the box >runs without problems. > >In order to get /dev/hda2d mounted as root I've already tried writing >the partition table (sysinstall - Index - Partition - "w") and I've >also labelled the disk (Sysinstall - Index - Label) but that didn't >solve my problem either. > > >So my question: How do I prepare the second slice /dev/hda2d on the >slave machine in order to get mounted as /home? > >Thanks much in advance for any clue, >-ewald > > Where exactly is the /home directory you want to mount on your slave machine? If it's located on your 'master' machine, you can use NFS to share the directory and just create a reference in fstab to the location of the NFS mounted drive on your 'slave' machine. -Garrett