From owner-freebsd-ppc@FreeBSD.ORG Fri Oct 1 20:05:54 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E37251065675 for ; Fri, 1 Oct 2010 20:05:54 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from argol.doit.wisc.edu (argol.doit.wisc.edu [144.92.197.212]) by mx1.freebsd.org (Postfix) with ESMTP id AF2678FC0C for ; Fri, 1 Oct 2010 20:05:54 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0L9M00B14NTTIW00@smtpauth3.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Fri, 01 Oct 2010 15:05:53 -0500 (CDT) Received: from anacreon.physics.wisc.edu (anacreon.physics.wisc.edu [128.104.160.176]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0L9M009RTNTOAO10@smtpauth3.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Fri, 01 Oct 2010 15:05:48 -0500 (CDT) Date: Fri, 01 Oct 2010 15:05:48 -0500 From: Nathan Whitehorn In-reply-to: <40D5CC15-8828-4CFD-AE13-2211B9742AE2@gromit.dlib.vt.edu> To: freebsd-ppc@freebsd.org Message-id: <20101001150548.6a652cba@anacreon.physics.wisc.edu> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; powerpc64-portbld-freebsd9.0) X-Spam-Report: AuthenticatedSender=yes, SenderIP=128.104.160.176 X-Spam-PmxInfo: Server=avs-9, Version=5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2010.10.1.195723, SenderIP=128.104.160.176 References: <40D5CC15-8828-4CFD-AE13-2211B9742AE2@gromit.dlib.vt.edu> Subject: Re: Booting FreeBSD/powerpc from external FireWire drive? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2010 20:05:55 -0000 On Fri, 1 Oct 2010 11:44:05 -0400 Paul Mather wrote: > I'm trying to install FreeBSD/powerpc{,64} on an external FireWire > drive. I've been successful in installing a 9-CURRENT snapshot. The > problem is that I don't know how to boot from this drive from > OpenFirmware, given I also have Mac OS X installed on a separate hard > drive---the internal hard drive that is the default boot drive. > > Using a PowerBook G4, I was able to boot the external FW drive > containing FreeBSD by holding down the Option key during startup and > then choosing the FreeBSD drive from the list of bootable drives that > is displayed. Unfortunately, I want to use this external FW drive to > boot into FreeBSD on an headless Xserve G5 via a serial console. > Lacking the graphical boot drive chooser, I need to use the > OpenFirmware "boot" command or set the boot-device in NVRAM to > designate the external FW drive as the boot drive. > > Can anyone help me figure out the appropriate OpenFirmware command to > boot FreeBSD from the external FW drive? The "devalias" command > reports I have "fw" and "fwx" aliases, which I presume refer to > FireWire. Alas, I can't fathom what the boot command arguments would > be. I followed the gpart partitioning scheme listed in the > FreeBSD/powerpc install instructions at > http://people.freebsd.org/~nwhitehorn/ppcinstall.txt with an 800K > apple-boot partition as the first one in the APM. > > If it would make it easier, the external FW drive I have can also be > used as a USB drive. So, if it is easier to boot from an external > USB, I could do that, if someone can tell me the appropriate boot > arguments. boot fw:,\\:tbxi or boot fw:,\ppc\boot1.elf might also work. -Nathan