From owner-freebsd-hackers Sat Jan 5 10:52:17 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id 8C12537B416 for ; Sat, 5 Jan 2002 10:52:14 -0800 (PST) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.11.3/8.10.1) with ESMTP id g05IqYP30145; Sat, 5 Jan 2002 10:52:34 -0800 (PST) Date: Sat, 5 Jan 2002 10:52:34 -0800 (PST) From: Doug White To: "Louis A. Mamakos" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: what slice did I boot from? In-Reply-To: <200201051634.g05GYA798375@whizzo.transsys.com> Message-ID: <20020105105058.U5794-100000@resnet.uoregon.edu> X-All-Your-Base: are belong to us MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 5 Jan 2002, Louis A. Mamakos wrote: > Hmm.. I'm running a 4.4-STABLE based system on the hardware, and > don't seem to have any problem booting off the other slice. Right > now, it's runnong on the second slice of ATA Compact Flash disk: > > # kenv > LINES="24" > console="vidconsole" > currdev="disk0s2a:" > interpret="ok" > kernel="/kernel" > kernel_options="" > kernelname="/kernel" > loaddev="disk0s2a:" > root_disk_unit="0" > vfs.root.mountfrom="ufs:/dev/ad0s2a" > # You're playing the same trick I am, just in more words :) Which slice is loader.conf on? > It would be just fine to have the boot0 boot manager be the mechanism > to do all this. That's an easy toggle between the two alternatives, > though harder to do an automatic fallback, perhaps. You try boot0 ... that's where my problem showed up. One would boot but the other says "Invalid partition." This is a heavily hacked install though (since sysinstall won't let you put a second / into a second slice when a first FreeBSD slice already exists). Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message