From owner-freebsd-stable@FreeBSD.ORG Fri Jan 12 07:54:28 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7310116A40F for ; Fri, 12 Jan 2007 07:54:28 +0000 (UTC) (envelope-from ssouhlal@FreeBSD.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 6309113C468 for ; Fri, 12 Jan 2007 07:54:28 +0000 (UTC) (envelope-from ssouhlal@FreeBSD.org) Received: from [192.168.0.100] (c-67-188-127-3.hsd1.ca.comcast.net [67.188.127.3]) by elvis.mu.org (Postfix) with ESMTP id 6E6F41A3C1A; Thu, 11 Jan 2007 23:23:26 -0800 (PST) Message-ID: <45A73734.6050507@FreeBSD.org> Date: Thu, 11 Jan 2007 23:22:28 -0800 From: Suleiman Souhlal User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051204) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jo Rhett References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: any real documentation of the boot2 prompt? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2007 07:54:28 -0000 Jo Rhett wrote: > So I've been searching for hours now, and it appears that short of > reading the C code, there's no documentation of the boot2 menu prompt. > > Sure, it says drive:driver(unit,slice,part) > > But no combination of those three that I can find actually works. > > There's two LUNs: > drive 0: single 2TB slice > drive 1: 264GB, with root, swap, etc > > How do I tell boot2 to find the loader on disk1? > > 1:da(1,a) > 1:da(1,1,a) > 1:da(0,1,a) > 1:da(0,a) > 0:da(1,a) > 0:da(0,a) > ...etc none of them work. Take a look at boot(8). I think you need to specify the file to load: 1:da(1,a)/boot/loader -- Suleiman