Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2008 23:24:12 +0000
From:      Bruce Cran <bruce@cran.org.uk>
To:        "K. Bradford" <int.0x0080@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Powerpc port
Message-ID:  <47E8381C.1080101@cran.org.uk>
In-Reply-To: <c08615500803201813n61c23c3xea1ce293c3587381@mail.gmail.com>
References:  <c08615500803201813n61c23c3xea1ce293c3587381@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47E8381C.1080101>