From owner-freebsd-sparc64@FreeBSD.ORG Wed Dec 3 15:51:55 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EDE716A4FA for ; Wed, 3 Dec 2003 15:51:55 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37EB943FFB for ; Wed, 3 Dec 2003 15:50:58 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 6B67072DB8; Wed, 3 Dec 2003 15:50:58 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 687A472DB5; Wed, 3 Dec 2003 15:50:58 -0800 (PST) Date: Wed, 3 Dec 2003 15:50:58 -0800 (PST) From: Doug White To: Garance A Drosihn In-Reply-To: Message-ID: <20031203154426.I69957@carver.gumbysoft.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: sparc64@FreeBSD.ORG Subject: Re: Booting from alternate disk in sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2003 23:51:56 -0000 On Tue, 2 Dec 2003, Garance A Drosihn wrote: > Well, I started to write up one observation, and in the process > found out that the situation was a bit different than what I > thought. > > I now have two drives in my Ultra-10, and wanted to boot off > the second drive. I got to the open-firmware prompt. Typing > "boot disk0" boots up off the first disk, with the messages: This explanation might help. The OpenFirmware (or openprom) boot command just boots loader. Loader actually loads the kernel. They can load from different locations, as you found. Normally in FreeBSD, you will not be changing things from OFW, unless you want to boot off a CD. If you are just booting a kernel from another disk, you can just repoint loader using currdev. Now, you *can* use OFW to start a different loader to make your life a little easier, but its not required. The device that counts for finding the kernel is currdev in loader(8) tho. > So I tried typing 'boot disk1' at the open-firmware prompt. It > starts up about the same, except that it has 'disk@1,0' where > the above has 'disk@0,0', and then it hangs before printing out > the message 'Console: OpenFirmware console'. I wonder if it was actually using the wrong console here, so it was working, you just couldn't see it :) > So I don't know why there's such a long pause there when I > try "boot disk1", but it does seem to work... Would be curious to investigate. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org