From owner-freebsd-questions Wed Mar 6 4:19:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id E9B9237B400 for ; Wed, 6 Mar 2002 04:18:56 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g26CIS325701; Wed, 6 Mar 2002 14:18:28 +0200 (EET) (envelope-from ru) Date: Wed, 6 Mar 2002 14:18:27 +0200 From: Ruslan Ermilov To: Gavin Atkinson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: -STABLE and -CURRENT on the same drive? Message-ID: <20020306121827.GE20782@sunbay.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Mar 06, 2002 at 12:12:14PM +0000, Gavin Atkinson wrote: > > Hi all, > > I have a laptop which I run STABLE on. I would like to be able to develop > code under -CURRENT, and so would like to dual boot the machine. I have a > 2 gig slice which is currently free, barring the 5.0 source. I intend to > have this slice set as the only slice 5.0 accesses, so /, /var and /user > will all be on the same slice. Wjhat is the best way of building world > and kernel so that everything goes into /5.0 as the root partition? > You should build as usual, then install with DESTDIR=/5.0. > THen, > how do I get the loader to recognise that is where the kernel lives? I > realise there is a kerenl option to tell it where to mount root from, but > am at a loss as to how to load the kerenl from it. > I have it deployed on my box. /dev/ad0a is my -STABLE partition, and /dev/ad0d is my -CURRENT partition. At the boot: prompt, if I need to load -CURRENT, I simply type: "ad(0,d)". Cheers, -- Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message