Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2005 14:12:20 +1000
From:      Peter Grehan <grehan@freebsd.org>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Mac mini and FreeBSD - some initial details
Message-ID:  <41F86A24.4030800@freebsd.org>
In-Reply-To: <p0620073ebe1a3c891476@[128.113.24.47]>
References:  <41F170F1.2010701@finnovative.net> <p06200731be1731cf8ec8@[128.113.24.47]> <p06200739be1a164f1ed0@[128.113.24.47]> <p0620073bbe1a2d5c8606@[128.113.24.47]> <41F48ACF.1050209@freebsd.org> <p0620073ebe1a3c891476@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Garance,

  Oops, meant to respond to this:

>>  I haven't mucked around too much with this, but I suspect you need
>> a Forth script similar to src/release/powerpc/boot.tbxi which would
>> live on the default boot partition. Then, you could setenv the
>> 'boot-command' variable in OpenFirmware to boot with this file.
> 
> Hmm.  Is there somewhere which would document what openfirmware
> commands I might have to play with?

  No real documentation, but you can modify the CD boot script
without much trouble.

e.g. Copy /boot/boot.tbxi to the OSX root dir, and change the lines from:

<BOOT-SCRIPT>
" screen" output
boot cd:,\boot\loader cd:0
</BOOT-SCRIPT>

to

<BOOT-SCRIPT>
" screen" output
boot hd:9,\loader hd:5
</BOOT-SCRIPT>

  ... assuming that OSX is on partition 9 and FreeBSD is on 5.
At this point, you can boot from the OpenFirmware prompt
with

0 > boot hd:9,\boot.tbxi

and, you can set up an automatic boot with

0 > setenv boot-device hd:9,\boot.tbxi

0 > reset-all

  ... which will then reboot.

  This doesn't work on my eMac, but then, CD auto-boot doesn't either.
But, since it worked OK on the mini I'm confident the above will also
work there.

later,

Peter.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41F86A24.4030800>