From owner-freebsd-questions@FreeBSD.ORG Mon Mar 24 23:24:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41BE61065714 for ; Mon, 24 Mar 2008 23:24:21 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.bluestop.org (muon.bluestop.org [IPv6:2001:41c8:1:548a::2]) by mx1.freebsd.org (Postfix) with ESMTP id C4B3E8FC1B for ; Mon, 24 Mar 2008 23:24:20 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from tau.draftnet (unknown [IPv6:2a01:348:10f:0:219:b9ff:fe54:f04a]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTP id C89083000E; Mon, 24 Mar 2008 23:24:17 +0000 (GMT) Message-ID: <47E8381C.1080101@cran.org.uk> Date: Mon, 24 Mar 2008 23:24:12 +0000 From: Bruce Cran User-Agent: Thunderbird 2.0.0.12 (X11/20080311) MIME-Version: 1.0 To: "K. Bradford" References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Powerpc port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 23:24:21 -0000 K. Bradford wrote: > I have installed 7.0-RELEASE on an old Mac G4. > I have cvs'ed the latest sources (using the RELENG_7 tag) > in order to track 7.0-STABLE. > > The problem: I can boot only off the FreeBSD install CD, > by breaking into open firmware upon bootup like this: > > 0 > boot mac-io/ata-3@20000/disk@1:,\boot\boot.tbxi > > Open firmware loads this boot loader which then automagically > loads and runs the FreeBSD loader. Then, I interrupt using the > space bar to get to the loader prompt and explicitly set the > root device to be the hard drive partition. > > OK set rootdev=mac-io/ata-4@1f000/disk@0:3 > (My FreeBSD root partition is 3). > > Kernel boots up, mounts / off the hard drive and the system > runs fine. > > Can someone advise me how to set up everything correctly > on the hard drive so I don't have to jump through all these hoops? > > I'm guessing boot.tbxi is needed somewhere under /boot, > but I don't think open firmware can read a BSD partition anyway. > > Documentation on the powerpc port seems sparse. Could > someone please point me in the right direction, or provide > brief instructions here. As always, any help/advice is greatly > appreciated. Since Open Firmware doesn't understand UFS you have two options - you can either use the CD as a first-stage loader, or use an OS X partition to boot from. Since I got rid of my OS X partition when I installed FreeBSD on my G4 I use the first option. The simplest way is to just leave the CD in the drive and type: > boot cd:,\boot\loader hd:3 There are more instructions about booting Macs at http://people.freebsd.org/~grehan/iso_install.txt -- Bruce