From owner-freebsd-questions Thu Mar 7 0:34:13 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pump3.york.ac.uk (pump3.york.ac.uk [144.32.128.131]) by hub.freebsd.org (Postfix) with ESMTP id 0D2F437B400; Thu, 7 Mar 2002 00:34:06 -0800 (PST) Received: from ury.york.ac.uk (ury.york.ac.uk [144.32.108.81]) by pump3.york.ac.uk (8.10.2/8.10.2) with ESMTP id g278Y4D28932; Thu, 7 Mar 2002 08:34:04 GMT Received: from localhost (gavin@localhost) by ury.york.ac.uk (8.11.6/8.11.3) with ESMTP id g278Y4d71191; Thu, 7 Mar 2002 08:34:04 GMT (envelope-from gavin.atkinson@ury.york.ac.uk) X-Authentication-Warning: ury.york.ac.uk: gavin owned process doing -bs Date: Thu, 7 Mar 2002 08:34:04 +0000 (GMT) From: Gavin Atkinson To: Ruslan Ermilov Cc: Subject: Re: -STABLE and -CURRENT on the same drive? In-Reply-To: <20020306125905.GI20782@sunbay.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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, 6 Mar 2002, Ruslan Ermilov wrote: > On Wed, Mar 06, 2002 at 12:41:22PM +0000, Gavin Atkinson wrote: > > On Wed, 6 Mar 2002, Ruslan Ermilov wrote: > > > On Wed, Mar 06, 2002 at 12:12:14PM +0000, Gavin Atkinson wrote: > > > > THen, > > > > how do I get the loader to recognise that is where the kernel lives? I > > > > realise there is a kernel option to tell it where to mount root from, but > > > > am at a loss as to how to load the kernel 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)". > > > > Ah, i'm afraid I've confused slices and partitions. Sorry. ad0s1a is my > > -STABLE root, ad0s1e is my /5.0 partition. Is it possible to do this, or > > will I need to repartition? I believe the ad0s1e partition is within the > > 1024 cylinders requirement. > > > There's no such "requirement" if disk is in LBA mode. Also, IIRC, despite > the documented "bios_drive:interface(unit,part) filename [-aCcDdghPprsv]" > (in boot(8) manpage) syntax, the actual boot blocks code allows one to > specify slice as well: "bios_drive:interface(unit[,slice],part) ...". Thanks! It works beautifully. There were a few 'gotchas' with the process, I intend to document them and submit it to the handbook people. Gavin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message