From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 5 19:19:25 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 F1DC31065672 for ; Tue, 5 Oct 2010 19:19:25 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id A745D8FC12 for ; Tue, 5 Oct 2010 19:19:25 +0000 (UTC) Received: from vivi.cc.vt.edu (vivi.cc.vt.edu [198.82.163.43]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id o95JIrxC001149; Tue, 5 Oct 2010 15:18:53 -0400 Received: from auth3.smtp.vt.edu (EHLO auth3.smtp.vt.edu) ([198.82.161.152]) by vivi.cc.vt.edu (MOS 4.1.8-GA FastPath queued) with ESMTP id MWK34584; Tue, 05 Oct 2010 15:18:53 -0400 (EDT) Received: from gromit.tower.lib.vt.edu (gromit.tower.lib.vt.edu [128.173.51.22]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id o95JIqxJ023116 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 5 Oct 2010 15:18:52 -0400 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Paul Mather In-Reply-To: <20101005195613.22292695.torfinn.ingolfsen@broadpark.no> Date: Tue, 5 Oct 2010 15:18:52 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <8040E102-FEBF-48E3-AA06-ADD47458C963@gromit.dlib.vt.edu> References: <40D5CC15-8828-4CFD-AE13-2211B9742AE2@gromit.dlib.vt.edu> <20101001150548.6a652cba@anacreon.physics.wisc.edu> <5F44B27D-0A14-4F59-8EA2-2D52ADC4C79D@gromit.dlib.vt.edu> <4CAA4828.3010906@freebsd.org> <07BF978E-D458-4138-8871-00D5AC1106C0@gromit.dlib.vt.edu> <20101005195613.22292695.torfinn.ingolfsen@broadpark.no> To: freebsd-ppc@freebsd.org X-Mailer: Apple Mail (2.1081) X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu paul@gromit.dlib.vt.edu 5 none X-Mirapoint-IP-Reputation: reputation=neutral-1, source=Fixed, refid=n/a, actions=MAILHURDLE SPF TAG X-Junkmail-Status: score=10/50, host=vivi.cc.vt.edu X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A020208.4CAB7A1D.0151,ss=1,fgs=0, ip=0.0.0.0, so=2009-09-22 00:05:22, dmn=2009-09-10 00:05:08, mode=single engine X-Junkmail-IWF: false Cc: 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: Tue, 05 Oct 2010 19:19:26 -0000 On Oct 5, 2010, at 1:56 PM, Torfinn Ingolfsen wrote: > On Tue, 05 Oct 2010 09:16:31 -0400 > Paul Mather wrote: >=20 >> It would be nice to be able to have \loader loaded from the external = FW drive, too, but this solution works. >=20 > Well, if you follow the instructions[1] at the PPC wiki page[2], to > create a small Apple bootstrap partition on your firewire drive, does > it not work? >=20 > The commands are (example substitue your own drive) : > gpart add -s 800K -t apple-boot ad0 > gpart bootcode -p /mnt/boot/boot1.hfs -i ad0 >=20 > Note; I have only done this on an internal disk, so I don't know if it > works for external disks too. > My sequence was: > gpart add -s 800K -t '!Apple_Bootstrap' ad1 > dd if=3D/boot/boot1.hfs of=3D/dev/ad1s2 >=20 > (this was back in June, so perhaps 'gpart bootcode' didn't work then?) >=20 > References: > 1) http://people.freebsd.org/~nwhitehorn/ppcinstall.txt > 2) http://wiki.freebsd.org/powerpc I followed those instructions during installation to partition the = external drive and put boot code on it. It works when booting from the = graphical boot chooser (obtained by holding down the Option key during = boot), but I couldn't figure out a way to boot from an external FireWire = drive from the OpenFirmware prompt (Cmd-Opt-O-F startup). All of the = examples I could find refer to booting from the internal hard drive or = from the CD-ROM drive. My motivation is that I want to test FreeBSD on a headless Xserve G5 = that lacks the capability for a graphical boot chooser, but does allow = booting via OpenFirmware over a serial terminal. The workaround arrived = at in my previous message allows booting from the external FireWire = drive, but still requires an Install CD or /boot/loader to be present on = the internal hard drive. Cheers, Paul.