Re: MacOS X and yaboot wars.

2 messages, 2 authors, 2000-09-26 · open the first message on its own page

Re: MacOS X and yaboot wars.

From: Ethan Benson <hidden>
Date: 2000-09-26 08:48:46

On Tue, Sep 26, 2000 at 10:10:49AM +0200, Michael Schmitz wrote:
Does ybin rely on the Apple_Bootstrap type? If not, just call it any way
you like to make MacOS messing with it even more unlikely. 
ybin could not care less, ybin will install onto a regular file
happily ;-)  

what DOES care is OpenFirmware, which insists on it being Apple_Boot*
Apple_Boot is used by apple so macosx will do whatever it wants
whenever it wants, Apple_HFS is out since macos old will ruin it as we
have all seen.  Apple used to use Apple_Booter so i would avoid that too.  

i think the best solution is just reorder the partitions again after
installing OSX.  using Apple_Boot would probably just mean your
partition would be erased instead of moved which is far worse IMO.
Caution: I've found the reorder option to work in very non-obvious ways
(partitions could only be moved one way IIRC). I'll have to investigate
that in more detail. 
it can be done, but yes i have not totally figured out the right
syntax.

ill see if i can get Clausen to add reorder support to parted if its
not already there.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Re: MacOS X and yaboot wars.

From: Benjamin Herrenschmidt <hidden>
Date: 2000-09-26 12:12:47

ybin could not care less, ybin will install onto a regular file
happily ;-)

what DOES care is OpenFirmware, which insists on it being Apple_Boot*
Apple_Boot is used by apple so macosx will do whatever it wants
whenever it wants, Apple_HFS is out since macos old will ruin it as we
have all seen.  Apple used to use Apple_Booter so i would avoid that too.

i think the best solution is just reorder the partitions again after
installing OSX.  using Apple_Boot would probably just mean your
partition would be erased instead of moved which is far worse IMO.
Well, I know Ethan doesn't like this solution, but I personally like it
and feel it's ok for people who know what they are doing ;)

First, I have no bootstrap partition. I have a (around 1Gb) HFS standard
partition that I use for exchanging things between Linux and MacOS. On
this partition, I have yaboot, yaboot.conf, the kernels (but those could
be on ext2) and the OF boot script.

All I do is to configure OF manually OF to load the script (setenv boot-
device hd:10,script) and that's all.

I also have a fake System and Finder (included). Those are seen by MacOS
9.0.4 on my box as "legal" system & finder and MacOS will not unbless a
fake system folder with them in it. (In fact, it will even re-bless the
folder).
I _know_ that this doesn't work for all combinations of machines. It does
work for me (Pismo). Basically, my setup looks like:

 /Scratch (HFS exchange partition)
   |
   |-/Bootstrap (fake system folder)
       |-Finder (fake Finder)
       |-System (fake System, could be miBoot for oldworld)
       |-MagicBoot (OF boot script with the type/creator of
       |            a MacOS ROM file (tbxi/MACS))
       |-yaboot
       |-yaboot.conf
       |-kernels & ramdisk

Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help