Subject: Re: install and auto-boot 3.0 on mac mini
To: Jan Schaumann <jschauma@netmeister.org>
From: Rudi Ludwig <rudihl@gmx.de>
List: port-macppc
Date: 01/15/2006 11:16:45
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Jan,


Jan Schaumann wrote:
> Hi,
> 
> 
...
> 
> - after installation, reboot back into OpenFirmware
> - enter the following command to enable auto-booting:
> 
>   setenv boot-device hd:,\ofwboot.xcf
>   setenv boot-file netbsd
>   setenv boot-command ." hello" cr " screen" output boot
> 
> 
> I think that's it.  I believe the problem is that currently the kernel
> is on the HFS+ partition, so I have to figure out how to mount that
> under NetBSD so I can update the kernel.
> 
> As I said, I'm sure there are other, better ways to do this, but this
> worked for me.  If you have better suggestions, let me know.
> 
> -Jan
> 

alternatively
setenv boot-file hd:<root partition nr in pdisk>,/netbsd

should boot the kernel from your real root partition, which would
also save you the voodoo of changing root in the kernel-config file.

works here on an ibook g3 but maybe apple introduced new features
(aka bugs) with the OF in mac-mini?

accessing hfs partitions from NetBSD there is a userland-tool
/sysutils/hfsutils
It does not do hfs+ IIRC but to hold a single file there should be no
need for the advanced features of the +.

Question to your "setenv boot-device". How does OF find the right
partition, to look for ofwboot.xcf, as you don't provide a partition
number?

Regards

Rudi

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDyiEMA8FFyel3OjYRAtZGAKCPu+VlCudjS3owQqT1ruCPTuCmsACeIn/V
yM4Esdl4VVHSc0DznW9YEsk=
=wKdI
-----END PGP SIGNATURE-----