[OpenBIOS] [RFC] Make BootX from Mac OS X 10.4 work
Laurent at vivier.eu
Mon Aug 10 23:01:21 CEST 2009
Le lundi 10 août 2009 à 14:28 -0600, Steven Noonan a écrit :
> On Mon, Aug 10, 2009 at 2:13 AM, Laurent Vivier<laurent at vivier.eu> wrote:
> >>On 10.08.2009, at 00:51, Laurent Vivier wrote:
> >>> Le jeudi 30 juillet 2009 à 18:00 +0200, Alexander Graf a écrit :
> >>>> Using this patch stacked on Steven Noonan's I was able to make
> >>>> BootX from
> >>>> Mac OS X 10.4 load XNU successfully in qemu-system-ppc.
> >>> Hi,
> >>> I'd like to play with that.
> >>> Which patches to apply before ?
> >>I took those rebased on current git:
> >>> How to boot ?
> >>The normal way. Just use -boot d. So far only the 10.4 CD did boot IIRC.
> > OK, thank you.
> > I'll try to integrate some of these patches (the trivial ones) into the openbios main repository.
> > (but I really don't understand why commit 4722c8a01d186a08183de49759dc8b7b74cf41c9 is needed, if someone can explain...).
> > Laurent
> With some media I tried (I think it was the Mac OS X 10.3 install
> disc), OpenBIOS didn't see that there was an HFS+ partition because
> the disc had an Apple Partition Map instead of what OpenBIOS expected
> (a single partition formatted HFS+, and no extra Apple Partition Map
> data). The commit in question (4722c8a01...) fixes this, allowing it
> to read the APM to find the bootable HFS+ partition and reading from
OK, I understand better now. Thank you for the explanation.
But I think it should be managed from modules/mac-parts.c, not from
fs/hfsplus. I have a patch doing this kind of stuff to implement the
command "boot hd:%BOOT" to boot using the bootsector of first bootable
partition (for QUIK).
I think we should boot using "boot cd:,System\Library\CoreServices
\BootX" and lets mac-parts select the first HFSPlus partition
(pmPartType is "Apple_HFS"). But there is no specification describing
I try to do that (and I send you a patch).
--------------------- laurent at vivier.eu ----------------------
"Tout ce qui est impossible reste à accomplir" Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard
More information about the OpenBIOS