PowerPC, gpart and multiboot (Was: Trying to install FreeBSD 8.2-RC1 on a PowerMac G5)

Nathan Whitehorn nwhitehorn at freebsd.org
Mon Mar 21 19:25:29 UTC 2011


On 03/21/11 14:21, Torfinn Ingolfsen wrote:
> On Sun, 20 Mar 2011 17:06:00 -0500
> Nathan Whitehorn<nwhitehorn at freebsd.org>  wrote:
> So now I just need to figure out how to get this in your bootblock. Hmm....
> Ok, I think I see it now - in the function ofw_init, at line 139 of boot1.c, you just terminate the string after the ':', thus
> discarding the partition number and the remainder of the string. Correct?
>
> A global varoiable to keep the booted-from-partition in, perhaps?

Sounds good to me. It might be nice if it fails to find one after it, to 
go back and check the ones before as well, before panicing.
-Nathan


More information about the freebsd-ppc mailing list