andyvand / netbook-installer

Automatically exported from code.google.com/p/netbook-installer
1 stars 0 forks source link

change OSInstall.mpkg and OSInstall #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
change OSInstall.mpkg 
and /System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstal
l.framework/Versions/A/OSInstall to boot from usb key and install to mbr 
partition.

see prasys.co.cc/2009/08/installing-snow-leopard-for-osx86/

Original issue reported on code.google.com by yufanyu...@gmail.com on 16 Sep 2009 at 7:36

GoogleCodeExporter commented 9 years ago
I've already started on this. You can boot without problems with MBR (without 
modifying any file). I've already 
started to code the method to add mbr install support.

Original comment by Meklort@gmail.com on 16 Sep 2009 at 2:56

GoogleCodeExporter commented 9 years ago

Original comment by Meklort@gmail.com on 16 Sep 2009 at 2:56

GoogleCodeExporter commented 9 years ago
In order to install 10.6 on an 8GB mini9 (stock STEC), you have to further 
modify the OSInstall to enable selection 
on the Essential packages, unselecting the Oxford and Additional Speech Voices. 
I tried to remove the 
AsianLangSupport but was unable to complete an install using the 0.8.2/0.8.3RC1 
makers. Once done, there is 
about 3.5gb free or so (no sleep file)

Original comment by atr000 on 6 Oct 2009 at 10:08

GoogleCodeExporter commented 9 years ago
After your first release, I was able to get SL on my mini9 without any issues. 
Modifying the installer to allow 
selection of the additional speech voices + oxford dictionaries was my only 
requirement. At first, I tried to 
also remove the Asian Language Support. Rest of the options (everything, 
including rosetta, x11, which I 
install later) were left on. [See the bottom for my notes on why I leave this 
on]

0.) follow the usual steps, running the netbookbootmaker
1.) GUID setup. Single boot.
2.) Format right before install. 7.34GB free on the stock 8GB
3.) 8.01 stock but now only 7.26 required.
4.) Install takes 20 minutes or so and reboots quickly. 

So, this is good but my first install without the asianlang support yielded 
some odd issues when displaying 
various websites, even though I'm all UTF-8 and not normally viewing websites 
not in my language. So, I 
figured why not reinstall. 

I didn't retain a copy of my originally modified OSInstall.mpkg but had done it 
enough now to remember 
everything I did to enable the options for the essential packages I needed to 
deselect for getting the install to 
fit. By now, 0.83RC1 had come out so I grabbed the latest copy. After using 
netbookbootmaker and patching 
osinstall, I got this same error with BaseInstall.pkg . Tried a few more times, 
even replacing the 1gb dim out 
and had the same issue. To make sure it was not hosed, I installed the Ubuntu 
Netbook Remix and it went 
without a hitch.

So, I could not figure out why there was an error with BaseSystem.pkg not being 
copied. I md5'd the files from 
a retail 10.6 disk and everything was fine. Even the permissions were fine. 
Unfortunately, even with all logs 
displayed in the SL installer, you don't get a very verbose message of why it 
could not be copied.

So, I began my search a few days ago and it looks like the patching of the 
OSInstall framework _IS_ required. I 
have no clue how I got away with this on my first install (does your patching 
take care of this?). My desktop 
already got its SL upgrade, so I did not have another machine to test on but 
this looks to solve the problem as 
mentioned by: 

http://ipis-osx.wikidot.com/forum/t-178397/creating-a-snow-leopard-install-usb-k
ey
and:
http://prasys.co.cc/2009/08/installing-snow-leopard-for-osx86/

So, if you will be making modifications to OSInstall.mpkg, and possibly 
integrating in some of the fixes to 
help the 8GB users out like drew's guide mentions and is covered with:

http://www.mydellmini.com/forum/general-mac-os-x-discussion/12804-snow-leopard-8
gb-mini-9-
a.html

The framework patches need to be incorporated. I've yet to find a diff or post 
explaining what was done 
besides the regular mpkg modification, but I've got past my normal problem so 
far.

I am not sure if this issue covers the same problem above, but if you are 
working on modifying the 
osinstall.mpkg, I would think adding this additional feature in is not too much 
extra work

Original comment by atr000 on 12 Oct 2009 at 3:55