Subject: Installing BootX on OldWorld
From: Markus Hitter
Date: 2005-01-27 19:50:18
Hello all
Recently I tried to install a modified BootX onto my PowerMac 7600
which is OldWorld and has installed Mac OS X 10.1.5, but failed so far.
First attempt was to compile XPostFacto on Xcode 1.5 on another
machine. BootX compiled fine but the application it's self won't. It
depends on CodeWarrior and some other stuff I don't have access to.
Additionally, it requires installation via the GUI - tedious if you
want to do it 20 times a day.
Next attempt was to use 10.1.5's "bless". This version of bless allows
to set the OpenFirmware stuff to point to some specified partition but
doesn't support installation of a new BootX.
Third attempt was to get bless' sources and compile it on 10.1.5. Well,
bless-3 as well as bless-11 compiles fine but ... the essential parts
in the code are missing. It's obviously one of those semi-open sourced
bits Apple gave us[1].
Fourth attempt was to look out for "asr" (Apple Software Restore) ...
it's part of Mac OS X 10.3.7 but not in 10.1.5. Since the 7600 doesn't
run 10.3.7 ... no chance.
Any ideas how to test different BootX's on an OldWorld machine short of
hacking my own tool? Am I wrong with my some of my observations? How
does the Darwin installer do it?
Thanks,
Markus
[1] If you think I'm kidding, look at bless-3 - about 6 source files
mentioned in the .pbproj are missing. Look at bless-11 - files like
BLWriteStartupFile.c doesn't contain a single line of code.
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
Hackers mailing list
<email removed>
http://www.opendarwin.org/mailman/listinfo/hackers
From: Joe van Tunen
Date: 2005-01-27 21:15:37
Instead of building the entire XPostFacto project, just build the BootX =
target and rez the resulting bootx.xcoff into the 'BooX' resource in the =
SharedResources.rsrc file in the release verison of XPostFacto.
I've been doing that manually using Resorcerer but you can probably make =
some scripting changes to do that for you.
The developer tools has the Rez commnd at /Developer/Tools/Rez
You'll need a rez script like XPostFacto's archives.r file.
You can probably append the Rez command to the BootX target's shell =
script after the line that converts bootx to bootx.xcoff.
Of course you still need to run XPostFacto to install BootX on the 7600 =
but that's not any more difficult than running any other tool you might =
use.
> ----------
> From: hackers-<email removed> on behalf of Markus Hitter
> Sent: Thursday, January 27, 2005 10:50 AM
> To: OD Hackers
> Subject: Installing BootX on OldWorld
>=20
>=20
> Hello all
>=20
>=20
> Recently I tried to install a modified BootX onto my PowerMac 7600=20
> which is OldWorld and has installed Mac OS X 10.1.5, but failed so =
far.
>=20
>=20
> First attempt was to compile XPostFacto on Xcode 1.5 on another=20
> machine. BootX compiled fine but the application it's self won't. It=20
> depends on CodeWarrior and some other stuff I don't have access to.=20
> Additionally, it requires installation via the GUI - tedious if you=20
> want to do it 20 times a day.
>=20
> Next attempt was to use 10.1.5's "bless". This version of bless \
allows =
> to set the OpenFirmware stuff to point to some specified partition but =
> doesn't support installation of a new BootX.
>=20
> Third attempt was to get bless' sources and compile it on 10.1.5. =
Well,=20
> bless-3 as well as bless-11 compiles fine but ... the essential parts=20
> in the code are missing. It's obviously one of those semi-open sourced =
> bits Apple gave us[1].
>=20
> Fourth attempt was to look out for "asr" (Apple Software Restore) \
...=20
> it's part of Mac OS X 10.3.7 but not in 10.1.5. Since the 7600 doesn't =
> run 10.3.7 ... no chance.
>=20
>=20
> Any ideas how to test different BootX's on an OldWorld machine short =
of=20
> hacking my own tool? Am I wrong with my some of my observations? How=20
> does the Darwin installer do it?
>=20
>=20
> Thanks,
> Markus
>=20
>=20
> [1] If you think I'm kidding, look at bless-3 - about 6 source files=20
> mentioned in the .pbproj are missing. Look at bless-11 - files like=20
> BLWriteStartupFile.c doesn't contain a single line of code.
>=20
> - - - - - - - - - - - - - - - - - - -
> Dipl. Ing. Markus Hitter
> http://www.jump-ing.de/
>=20
_______________________________________________
Hackers mailing list
<email removed>
http://www.opendarwin.org/mailman/listinfo/hackers