brxxthe Posted April 3, 2011 Share Posted April 3, 2011 I thought I would start a thread for those of us installing Lion DP2 and running into issues modifying the Distribution script inside OSInstall.mpkg I will post any progress that I make here as this seems to be a common issue with DP2. There is no more PlatformSupport file in S/L/Core Services. I first attempted removing lines in the script regarding checks but I would hit the "Could not install" note in the installer stating Javascript errors. UPDATE: I have succeeded by only changing a few of the return false lines to return true. I only changed them in regards to CPU check, ram check, and board ID. I'm installing now and I can provide more detail on what I changed shortly. here is a tutorial on extractive the said mpkg http://hints.macworld.com/article.php?stor...071026083746346 Link to comment Share on other sites More sharing options...
garagethrash Posted April 3, 2011 Share Posted April 3, 2011 So what did you change? and are you using [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] or xpc? Link to comment Share on other sites More sharing options...
brxxthe Posted April 3, 2011 Author Share Posted April 3, 2011 here is a list of changes that I made to the Distribution file within OSInstall.mpkg The first group of changes was within SupportedPlatform function entry. function isSupportedPlatform(){ var platformSupportValues=["Mac-F2268DC8","Mac-F22C86C8","Mac-F22587C8","Mac-F2218FA9","Mac-F2218EA9","Mac-F42D86A9","Mac-F22C8AC8","Mac-F22586C8","Mac-942B59F58194171B","Mac-F226BEC8","Mac-F4218FC8","Mac-942459F5819B171B","Mac-F4218EC8","Mac-F2208EC8","Mac-F22C89C8","Mac-F22587A1","Mac-F221DCC8","Mac-F42388C8","Mac-F223BEC8","Mac-F4238CC8","Mac-F222BEC8","Mac-F227BEC8","Mac-F4208AC8","Mac-F22788A9","Mac-F4238BC8","Mac-F221BEC8","Mac-F2238AC8","Mac-F4208EAA","Mac-F22788C8","Mac-F22589C8","Mac-F4228EC8","Mac-F22788AA","Mac-F42C86C8","Mac-F4208CA9","Mac-942C5DF58193131B","Mac-F2238BAE","Mac-F42289C8","Mac-F2268CC8","Mac-F4208DC8","Mac-F2218FC8","Mac-F2218EC8","Mac-F4208DA9","Mac-F42D89C8","Mac-F4208CAA","Mac-F42D89A9","Mac-F2268AC8","Mac-F42C89C8","Mac-942452F5819B1C1B","Mac-F42786A9","Mac-F42D88C8","Mac-F42187C8","Mac-94245B3640C91C81","Mac-F42D86C8","Mac-F2268EC8","Mac-F2268DAE","Mac-F42C8CC8","Mac-F42C88C8","Mac-94245A3940C91C80","Mac-F42386C8","Mac-942B5BF58194151B","Mac-F42189C8"]; var boardID = system.ioregistry.fromPath('IOService:/')['board-id']; if( !boardID || platformSupportValues.length ==0 ) { return [color="#FF0000"]false[/color] } for( var i = 0; i < platformSupportValues.length; i++ ){ if( boardID == platformSupportValues[i] ){ return true; } } return [color="#FF0000"]false[/color]; } Next I made changes inside InstallCheckScript function entry. function installCheckScript(){ try{ var machineType = system.ioregistry.fromPath('IODeviceTree:/')['compatible']; if (typeof(isFNI) == "undefined" && typeof(hwbeInstallCheck) != "undefined") { if (!hwbeInstallCheck()) { return[color="#FF0000"] false[/color]; } } if(!hasAtLeastRam(minRam)){ my.result.message = system.localizedStringWithFormat('IC_RAM_message'); my.result.type = 'Fatal'; return[color="#FF0000"] false[/color]; } if(!is64bit()){ my.result.message = system.localizedStringWithFormat('IC_Cannot_Install'); my.result.type = 'Fatal'; return [color="#FF0000"]false[/color]; } if (system.compareVersions(system.version.ProductVersion, '10.7') < 0 && system.env.COMMAND_LINE_INSTALL) { my.result.message = system.localizedStringWithFormat('IC_Command_Line_message', '10.7'); my.result.type = 'Fatal'; return [color="#FF0000"]false[/color]; } if(!isSupportedPlatform()){ my.result.message = system.localizedStringWithFormat('IC_Cannot_Install'); my.result.type = 'Fatal'; return [color="#FF0000"]false[/color]; } if (typeof(findBJPrinters) != "undefined") findBJPrinters(); } catch (e) { system.log('installCheckScript threw exception ' + e); } return true; } That was it. The rest of the script deals with Upgrade versions and Languages, etc. All the falses highlighted in RED I changed to true. This led to an install from [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] 1.4 - i'm still dealing with board ID issues during boot of the install however. I'll also add that I set my BIOS settings for the CPU to defaults (no O/C) and Removed 2 sticks of RAM to make 4GB in order to fix the spinning red ball issue during the installer. Link to comment Share on other sites More sharing options...
garagethrash Posted April 3, 2011 Share Posted April 3, 2011 dp2 actually does create the platformsupport.plist after you install so don't forget to delete it. I've got it up and running but it's super slow and beachballs all the time. Has anyone actually gotten netkas's new pcefi to work? Update: Switched from boot to the new pcefi and it's now silky smooth Link to comment Share on other sites More sharing options...
brxxthe Posted April 3, 2011 Author Share Posted April 3, 2011 wow you're right about the platformsupport.plist in S/L/C - I must have got confused looking for it in Base System. This is probably why I'm getting a board Id error during boot. gonna try tomorrow thanks for this. DP1 ran okay - lots of crashes in safari and memory issues (even with 6gb?) hoping this will run better. Link to comment Share on other sites More sharing options...
MacFanatic76 Posted April 3, 2011 Share Posted April 3, 2011 Use latest Netkas's boot, it has a built-in bouard-ID-checking patch, so no need to mess up with modifying OSInstall.mpkg anymore The new bootloader does it all for us, all thank Netkas for this ! Link to comment Share on other sites More sharing options...
x64bitdimension Posted April 3, 2011 Share Posted April 3, 2011 Use latest Netkas's boot, it has a built-in bouard-ID-checking patch,so no need to mess up with modifying OSInstall.mpkg anymore The new bootloader does it all for us, all thank Netkas for this ! Hi, how you have used the netkas's bootloader? I tried to use it but it not work, probably i wrong something. thank you Link to comment Share on other sites More sharing options...
brxxthe Posted April 3, 2011 Author Share Posted April 3, 2011 I stuck with [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] and seem to be up and running now. Patching OSInstall was not difficult for me. Link to comment Share on other sites More sharing options...
me@home Posted April 3, 2011 Share Posted April 3, 2011 Any help what to do ? I ran Lion DP1 and want to update to DP2 (no server installed)... I use Chameleon + Netkas' EFI file to boot up. Link to comment Share on other sites More sharing options...
whityini Posted April 5, 2011 Share Posted April 5, 2011 brxxthe you have to patch OSInstall before or after the installation? Would it be possible to upload an already patched OSInstall.mpkg? Thanks Link to comment Share on other sites More sharing options...
Rob G Posted April 6, 2011 Share Posted April 6, 2011 DP 2 is way buggier than DP 1, Installed it on my MBP and had to get rid of it. Oh and that iCal "theme" is stupid. Link to comment Share on other sites More sharing options...
rooftopz Posted April 9, 2011 Share Posted April 9, 2011 brxxthe you have to patch OSInstall before or after the installation? Would it be possible to upload an already patched OSInstall.mpkg? Thanks hola, this is a patched osinstall (mac os lion lastest build) patched there is a boot file too Link to comment Share on other sites More sharing options...
whityini Posted April 9, 2011 Share Posted April 9, 2011 hola, this is a patched osinstall (mac os lion lastest build)patched there is a boot file too many thanks i'll give it a try I have to replace the original one, isn't it? Link to comment Share on other sites More sharing options...
albert E Posted April 9, 2011 Share Posted April 9, 2011 hola, this is a patched osinstall (mac os lion lastest build)patched there is a boot file too There is nothing in it - 0 byte(s). :-( Link to comment Share on other sites More sharing options...
aeneas84 Posted April 11, 2011 Share Posted April 11, 2011 hola, this is a patched osinstall (mac os lion lastest build)patched there is a boot file too is not good for the installation on Mbr hard disk Link to comment Share on other sites More sharing options...
old_eye Posted April 12, 2011 Share Posted April 12, 2011 hola, this is a patched osinstall (mac os lion lastest build)patched there is a boot file too The >patched< works for me. Installed DP2 on a separate GUID HD using [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] 1.5a. But it gives me sluggish behavior and beachballs. That could be related to the missing Realtek implementation and and malfunctioning Wi-Fi. I would love to check out Netkas new booter but I'm unable to compile it from the sources (the normal RC3 did not word for me) >there is a boot file too< a DL link would be appreciated. Link to comment Share on other sites More sharing options...
carlevarino Posted April 12, 2011 Share Posted April 12, 2011 I try to install DP2 whit this tuto http://www.insanelymac.com/forum/index.php?showtopic=250104 on a clean HD but! I get this message osx 10.7 can not be installed on this computer If you want to restore your system from a time machine backupo click restore from backup!! how can i fix this Please somebody helpme ! Thanks Advanced Link to comment Share on other sites More sharing options...
fantomas Posted April 13, 2011 Share Posted April 13, 2011 hi this tuto is for DP 1 but not for DP 2 !!! To install DP 2 , you need to change OSInstall.mpkg from your DP 2 install with a patched OSInstall.mpkg !!! Link to comment Share on other sites More sharing options...
Recommended Posts