OSX 86 Forums » OSX 86 Hackintosh Mods » How to make a 10.5.5 Install DVD/USB Stick
http://aquamac.proboards.com/index.cgi?board=hack1&action=display&thread=496

How to make a 10.5.5 Install DVD/USB Stick
Post by ritalin on Feb 17, 2008, 6:19pm

What you need
A working OSX install of any variety
The original retail Leopard 10.5.0 install DVD MB021Z/A (not the 10.5.1 DVD MB427 or any other DVD, they may work but they are untested)
This OSx86_patcher_v10.5.3 (instructions included).
Quote:
After taking a break from development of this script I have re-written it and started a new but similar project here.
Here is the first alpha release.

The latest combo update from Apple
A blank 4.7 GB DVD and a burner (or >3.8GB storage device).
Some spare time

Disclaimer: Your mileage may vary (ymmv)

Recommended Minimum System Requirements:
AMD/Intel SSE2 capable 867MHz CPU
512Mb System memory
Intel ICH (HPET and XD capable) chipset
ATI, nVidia or Intel graphic hardware (support is limited, ymmv)

The DVD was built for my own machines spec:
Northbridge: Intel® 945G
Southbridge: Intel® ICH7
ALC888 Audio
Realtek RTL8111B LAN
Core 2 Duo CPU
NVIDIA PCI-E Graphics

and

HP Pavilion a6557
CPU: AMD Phenom 9550
Motherboard: Asus M2N68-LA (HP/Compaq name: Narra3-GL8E)
Chipset: NVIDIA GeForce 6150SE nForce 430 (onboard GFX not used, dedicated PCI-E card used)
Audio CODEC: ALC888S
Onboard LAN: Realtek RTL8201N 10/100 Mbps LAN PHY (will not function in OSX, disabled in BIOS)
Onboard Firewire: Agere LFW3226-100
Graphics: Asus ATI HD3650 512MB

I have not personally tested this with any other hardware combination.

Please read all instructions carefully. You will need to read the descriptions of the options available on the installer and select appropriately for your hardware. You must know the spec of your hardware.
Important: You will need to turn off iDisk Syncing to run the 'OSx86_patcher_v#' script. Also please read this important info.

***********************************************************

The patched DVD features:
Automatic detection of GUID, MBR, and APM partition schemes
Installer prevents selection of APM partitions as target disks
Choice of Netkas PC-EFI_v8 chameleon 1.0.11 or Darwin x86 bootloader
chameleon 1.0.11 will be used automatically on GUID partitions
Automatic creates /Library/Backup/Hackintosh directory on the target disk containing modified and extra files added by the installer
Automatic creates /Library/Backup/Original directory containing all original files that have been modified or replaced by the installer
(Removed to save space)
Automatically prevent installation of vanilla kernel on unsupported CPUs
This installer can make use of any Apple update
The following updates have been tested and found to work:
Mac OS X 10.5.2 Update + Leopard Graphics Update 1.0-
Mac OS X 10.5.3 Update-
Mac OS X 10.5.4 Update-
(Mac OS X 10.5.4 Combo Update only for AMD support)

***********************************************************

Release history:
v2 - released 9th March 2008
fixed support for Intel GMA graphics
fixed incorrectly disabling vanilla XNU with original Intel Core CPUs
added Netkas 9.2.0 Sleep XNU

v3 - released 12th March 2008
improved instructions distributed with the patcher and removed some inaccuracies
removed Apple updates that can be installed via "System Update..." after installation*
(*beware, some updates can replace the XNU and System kext)

v4 - released 16th March 2008
redesigned the Patch.sh script implement Dense-Slipstream method of creating a bootable DVD

v5 - released 21th March 2008
removed binary thinning from the Patch.sh script halving the run time of the script

v6 - released 25th March 2008
removed numerous bugs from package postflight scripts
added install choices for ATI HD gfx cards.
added install choices for boot options (safe and normal).
reorganized layout of post install /Library/Backup/ directory on target disk
added checks in patch.sh script for the presence of the required Apple update packages (patch.sh quits if they are missing)
change to underlying method of setting the target volume as bootable (now uses modified Dense-Slipstream method)

v7 - released 26th March 2008
Added the following 3 plugins to IOATAFamily.kext-
AppleGenericPCATA.kext - Source: AppleGenericPCATA-5 Darwin
AppleOnboardPCATA.kext - Source: AppleOnboardPCATA-2 Darwin
AppleVIAATA.kext - Source: AppleVIAATA-6 Darwin

v8 - released 9th June 2008
No-longer looks for a particular named update/updates, but will install whatever *.pkg you put in the Apple_Update_PKGs folder. (Take note that you must install multiple updates in the correct order!)
Modified the mpkg so the kernels install the corresponding system.kext, so if you do use the 10.5.3 update and select the 10.5.2 sleep/speedstep kernel you also get the 10.5.2 system.kext.

v9 - released 29th June 2008
Now using chameleon 1.0.11
Restore onto disk directly from the script (disk must be 3.8G or bigger)
New bless script
More compact patcher script

v10 - released 20th July 2008
Added compatibility with the following packages:
MacOSXUpdCombo10.5.3
MacOSXUpdCombo10.5.4
Now using NVkush in place of NVinject for Nvidia compatibility.
Reintroduced thinning of FAT binaries in the following directories only:
/bin
/sbin
/usr/bin
/usr/sbin
/usr/libexec
/Applications
This had to be done to get the image down to less than 3.8GB. (Rosetta still works).
All original pkgs including the update pkgs are now merged into one monolithic hackintosh.pkg, this had to be done to get the image size down to less than 3.8GB.
Script no longer requires the PackageMaker app to be available.

v10.1 - released 27th July 2008
Minor bug fixes
Added - User Updates Option

v10.2 - released 28th July 2008
Minor bug fix

v10.4 - released 17th August 2008
Minor bug fix

v10.5.1 - released 13th Sept 2008
AMD support
Installer system now matches the installed system. (same XNU & kext... etc.)

v10.5.2 - released 14th Sept 2008
Fixed error in com.apple.Boot.plist pkg.
Added support for nForce ethernet.

v10.5.3 - released 18th Sept 2008
Added some safety checks to prevent the script running with Install DVD mounted.


Quote:
New Project
v0.1 alpha - released 28th Oct 2008
Complete re-write, now wrapped in a GUI.


***********************************************************

Please don't distribute the DVD image! Apple make great software and they should be rewarded for it. Please go buy the retail DVD.
You may find newer kernels on irc.osx86.hu in the #10.5 channel.
If you are unfamiliar with the terminal then you can use this app created by ~pcwiz to install the newer kernel.

Special thanks go to Dense of Slipstream for his help with this!
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Feb 17, 2008, 6:50pm

Hi Rit,

Will definitely be looking at this, still downloading. Is it easy?
Re: How to make a 10.5.2 Install DVD + updates
Post by nikonnut on Feb 17, 2008, 7:55pm

Rit,
Looks very cool. Giving it a whirl right now ;D I'll post back with results.

Cheers,
Nik
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Feb 17, 2008, 8:15pm

Its basically the BrazilMAC method. I've modified the script a little and the DVD it builds is very different. Its not hard to build, just takes a while to gather all the Apple updates required. The DVD should install a boot-able OS on most modern Intel systems. Its tailor made to match my hardware but I've included loads of other stuff under the additional compatibility choice (mostly untested).
[image]
[image]
[b]Edit:[/b] These screen shots are out of date.
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Feb 17, 2008, 8:16pm

Worked a treat for me, at last I have a non monkeyed about install disk, thanks Ritalin. Tell me, is it somehow possible to install your sound kexts to the DVD somehow?
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Feb 17, 2008, 8:28pm


Feb 17, 2008, 8:16pm, admin wrote:
Worked a treat for me, at last I have a non monkeyed about install disk, thanks Ritalin. Tell me, is it somehow possible to install your sound kexts to the DVD somehow?


I could snail mail you the entire PackageMaker project with a rough guide. You can then build anything you like.
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Feb 17, 2008, 8:52pm

That would be great, is it a long job to add the kexts?

by the way, what are your specs eg SOUND, SERIAL ATA, Etc?
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Feb 17, 2008, 9:28pm


Feb 17, 2008, 8:52pm, admin wrote:
That would be great, is it a long job to add the kexts?

by the way, what are your specs eg SOUND, SERIAL ATA, Etc?


Adding a kext to the install isn't difficult. Figuring out what you need for you hardware is the hard part. If you know you need kext X, Y and Z removing and kext A, B and C adding its a cinch. Maybe you just need to edit a plist file, also easy.

On my system I remove:
AppleIntelCPUPowerManagement.kext
AppleEFIRuntime.kext
AppleThermal.kext
AppleACPIPlatform.kext/Contents/PlugIns/AppleACPIThermal.kext

Add/Replace the following:
/System/Library/Extensions/IONetworkingFamily.kext/Contents/MacOS/IONetworkingFamily (modified binary)
AppleAzaliaAudio.kext (modified plist)
AppleAC97Audio.kext (modified plist)
dsmos.kext
NVinject.kext
AppleSMBIOS.kext (modified binary)

That gets everything working with the EFI bootloader. If you give me the kext and mods you need for your system, I will build the DVD for you. I can then leave out all the other crap you don't need.
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Feb 18, 2008, 3:46am

Thanks Ritalin, I will surely do that. I am now away from my hackie till wednesday but will send you the kexts when I get back. Once again thanks.
Re: How to make a 10.5.2 Install DVD + updates
Post by nikonnut on Feb 19, 2008, 12:16am

Rit,
Very nice :D Got it running no prob. Nice to know that I'm using my license as it were. Thankfully, Aqua sorted most of the kexts for my Mobo so that made it that much easier. Keep up the great work!

Thanks,
Nik

Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Feb 19, 2008, 6:39am


Feb 19, 2008, 12:16am, nikonnut wrote:
Rit,
Very nice :D Got it running no prob. Nice to know that I'm using my license as it were. Thankfully, Aqua sorted most of the kexts for my Mobo so that made it that much easier. Keep up the great work!

Thanks,
Nik

If you want you can send me the kexts and a breakdown of what you need for your mobo, and I will mod the OSInstall.mpkg to suit.
Re: How to make a 10.5.2 Install DVD + updates
Post by plucka on Feb 20, 2008, 7:54am

Hey Ritalin,

I read your posts with interest, would you be able to point me in the right direction? I would like to try making a DVD for my Specs:


MOBO AsusP5B green
Dualcore intel pentium E 2140 1.66ghz, overclocked to 2.13ghz
SATA DVD burner NEC Optiarc
XFX 7600 GT XXX edition PCI-E Nvidia passive cooling
2 x SATA Samsung 160gig drives 1 for Leopard and 1 for Vista/XP, manual Bios boot
1 x IDE ATA WD 80gig, 2 partitions with Jas OSX 10.4.8 Tiger on it, running perfectly
Onboard sound Soundmax ADI AD1988A
Realtek networkcard
2 gigs Ram

Or could you explain it to me if you have the time? Would really like to get everything 100% working, right now I am using Kalyway 10.5.1, not really sure if the update is worth the effort?

Any help would be much appreciated, cheers mate, Plucka


Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Feb 20, 2008, 6:09pm

Plucka, as I said in this post, the hard part is figuring out what you need to do make OSX play nice with your hardware. You need to find all the changes that need to be made to a standard OSX installation to allow it to run your system. This is something I can't do for you. Once you know what needs changing, making your own custom install DVD isn't that hard and I can help you with that.
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Feb 22, 2008, 11:41am

Hi Ritalin,

Here is a link to the kexts that I always drop into the extensions folder when I do a new OSX installation + my own 10.5.2 home brew kernel:

Linky

Any chance you could add to the install program for me?
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Feb 22, 2008, 8:55pm

Aquamac, If I can find time this weekend I will make you a custom OSInstall.mpkg . Are you happy using the script that I posted for building the DVD? Is the DVD bootable? Or do you need these kext adding to the Extensions.mkext of the actual DVD?

I'm intrigued, what mods have you made to the kernel?

Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Feb 22, 2008, 9:31pm

Thanks Rit,

Really appreciated, yes, the DVD I made following your instructions installed perfectly, but I still had to change kexts of course for some stuff. The kernel is nothing really clever, it is 10.5.1 sleep kernel with certain details changed so that it is completely compatible with 10.5.2. I have to say it seems to work perfectly.
Re: How to make a 10.5.2 Install DVD + updates
Post by bb on Feb 22, 2008, 10:18pm

I am not so lucky. I followed the instructions, but the DVD does not start. I used an original family 10.5.1 .The install stops at the level "control DMI..."

I can neither install Jas 10.4.7 with semthex. I get a lot of error messages, concerning the DVD, like I/O error, can not read/write the boot level disk1s3, warning : last sector not allocated.
I get the level where I can choose the language, but not futher. Or it shut down or I get the opportunity to save the errors log .

Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Feb 23, 2008, 9:08pm

Aquamac, the file for your custom DVD is in your inbox. Fingers crossed it should work.
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Feb 26, 2008, 4:57am

Hi Ritalin.

I got past the first problem I told you about, that was my fault. I had not followed your instructions quite right. When I reread the instructions I noticed I had not unpacked the itunes update package properly. So I did that and my DVD sailed past the original "cannot verify packages" problem. In fact it gets very close to the end but I get a KP when it installs the 10.5.2 update. If i remove the 10.5.2 update from the files folder before compiling the DVD I get a successful DVD. It says it is installing 10.5.2 when the disk is running but obviously it does not as the package is missing. I then have to install manually after the main installation. Any idea why there is the kernel panic with it in position? Is it related to if you install the 10.5.2 update to a hackintosh directly, you get a KP as you are installing it, if you dont remove AppleIntelpowermanagegement.kext and Applehardware sensor also causes problems? Does this not happen for you? Wonder if it is possible to remove those 2 kexts from the update prior to making a DVD.

Hope this makes some sense to you.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Feb 26, 2008, 9:04pm

Hi Aqua,

I'm not sure why you are getting that KP, but I doubt it is related to the direct install problem you mention.

Can you confirm - after mounting disk image 'MacOSXUpdCombo10.5.2.dmg' you then copy the file 'MacOSXUpdCombo10.5.2.pkg' that it contains into the "files" folder. It is possible, using Pacifist, to extract a copy of the 'MacOSXUpdCombo10.5.2.pkg' package from within its self. This extracted package would not work.

One thing to try would be to run the installer booted in legacy mode.
Re: How to make a 10.5.2 Install DVD + updates
Post by docthemac on Mar 5, 2008, 10:18am

Thanks for the guide and the patch!

I have sound but no video after install. I checked the sse3 box!
Should I use none?

I have an sse3 intel vaio with gma950.

Please help, thanks in advance

Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 5, 2008, 5:42pm

Either the SSE3 or SSE2 XNU should be okay, you should select only one. Under 'Additional Compatibility-Video' did you select Intel GMA 950? If that don't work I'm clue less. The only video driver I've tested this with is NVinject, which works with my 7600GT.
Re: How to make a 10.5.2 Install DVD + updates
Post by docthemac on Mar 6, 2008, 7:01am

@ritalin

Thanks for the reply ;) Stupid me did not see the video drop down box the first time ::)

So the next install, I selected SSE3 and intel 950 & 1300. I think the video is working but, before the welcome video even played it said I need to connect a keyboard ( I am on a vaio notebook).

Reinstall and select the ps2 controller. Now the sound for the welcome video plays but the screen sticks at the spinning wheel and blue apple screen :P I have keyboard function because I can adjust the volume, but I can't get past the blue screen after boot up.

So just to recap I select:
-SSE3
-intel 950/1300 video
-IO Networking Family (selected by default so I left it checked)
-Remove Apple Thermal/Apple ACPIThermal (selected by default so I left it checked)
-Apple PS2 Controller

****Is the Apple PS2 controller for notebooks?
**** Should I select something under AGPGart? and if so which one? (intel core solo 1.86)

Thanks so very much for the advice/help in advance ;D
Doc
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 6, 2008, 6:54pm

The Apple PS2 controller isn't specifically for notebooks, it adds support for keyboards, mice & trackpads connected via PS2 ports. A lot of notebooks are configured like this. The AGPGart is for video cards connected via the AGP bus. I may not have configured either of these option correctly, I can't test them as I only have a USB keyboard, mouse and PCI video to test with.
You should try one of the mainstream distributions such as iAtkos. If you don't fancy a downloading a massive torrent you could try the BrazilMac method or this from Jason Madigan which is very similar.
Re: How to make a 10.5.2 Install DVD + updates
Post by docthemac on Mar 6, 2008, 8:00pm

I have been running kalyway as of late. I made a working install with BrazilMac when it first came out and it worked fine!
Not sure I why I am having trouble now, they are very similar, right?

But yours is the only one I have seen that makes use of all the updates!
Do you know if you can add the updates to the Brazilmac method?

I am almost there, I just need to find out why when using the ps2 controller I can't get past the blue screen, with the grey spinning wheel.

Any ideas?




Re: How to make a 10.5.2 Install DVD + updates
Post by docthemac on Mar 6, 2008, 9:10pm

Has anyone gotten this to work on a notebook that you know ?
Re: How to make a 10.5.2 Install DVD + updates
Post by rals2007 on Mar 7, 2008, 2:53am

ritalin:

Greetings...


Just a few questions...

Im recieving "Bus Error" when the patch.sh execute the BLESS command. ?

I noticed that you replaced the file "rc.install & Installer". what does it do?

EDIT: Solved the "Bus Error" by replacing another version of BLESS.

But.. been recieving error in update prebinding.

Update prebinding
update_prebinding: too many errors (101)
update_prebinding: error: terminating
update_prebinding: error 256 running update_prebinding_core
update_prebinding: too many errors (101)
update_prebinding: error: terminating
update_prebinding: error 256 running update_prebinding_core

Thanks!
Re: How to make a 10.5.2 Install DVD + updates
Post by docthemac on Mar 8, 2008, 8:19am

Update:

Ok now I have almost everything working. I just need to get Q/E working with gma950:-/
Not sure why it's not working, it works under kalyway with the 5.2 update

I installed with this checked:
-SSE3 Speedstep
-AGPGart 2.6
-intel gma950 and X3100
-IO Networking Fam
-Remove Apple Thermal
-Apple PS2 controller

I only had 1024x640 resolution on my 1280x800 screen.
To fix this I installed the kalyway 5.1 AppleIntelIntegratedFramebuffer.kext (there was not one installed?) and restarted. Now I have 1280x800 screen resolution again ;)

Any idea why Q/E is not working?
PLEASE help I would really like to get this fully working.


Re: How to make a 10.5.2 Install DVD + updates
Post by docthemac on Mar 8, 2008, 8:55am

Now fully working ;D

I just ran the graphics update again and replaced AppleIntelIntegratedFramebuffer.kext before restarting. And now I have fully working Vaio notebook with 5.2, BIG thanks for making the patch

intel core solo
gma950
Vaio VGN-110G
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 8, 2008, 12:41pm

Docthemac, that's cool that you got you laptop working. I'm really surprised that my patch worked at all. There are so many things that can go wrong with a hackintosh installation, and considering the patch and DVD were completely untested, I'm amazed it worked at all.

So what version of AppleIntelIntegratedFramebuffer.kext are you using now?

The SSE3 StepSpeed kernel that I used in the installer is old. Netkas has a newer version out now. By the way your Core Solo should be good to go with the stock kernel, having said that, I may have set the checkscripts wrong in the installer. Was the stock XNU option disabled (grayed out) when you ran the installer?

Rals2007, It's been a while since I made the patch and my memory is not so good. I will have a look at the script this sunday if I get time. Sorry to be vague but this is what I remember.

The Bless command used by the script to build a bootable DVD is the genuine Apple executable. It is included it in the resources folder incase the script is run from a hackintosh with a fake bless executable. Your build machine needs to be able to run the bless command or the DVD will not be bootable.

I replace the rc.install script on the DVD. The only change here is my version runs

Quote:
/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer

and the original runs

Quote:
"/System/Installation/CDIS/Mac OS X Installer.app/Contents/MacOS/Mac OS X Installer"

I do this for various reasons, it allows me to skip the license page, run a volumecheck on the install partition, etc...

Although the patch script says-

Quote:
echo "Replacing installer"
cpfix installer /Volumes/osx86dvd/usr/sbin/installer

It isn't replacing anything as the command line installer isn't on the retail DVD. It should say "Adding installer".

The command line installer is used by custom DVD to install the 10.5.2 update. If you look at ~/OSx86_patcher/files/OSInstall.mpkg/Contents/Packages/10.5.2\ Update.pkg/Contents/Resources/postflight in TextEdit you will see the following.


Quote:
#!/bin/sh

/usr/sbin/installer -pkg /System/Installation/Packages/MacOSXUpdCombo10.5.2.pkg -target "$3"
/usr/sbin/installer -pkg /System/Installation/Packages/LeopardGraphicsUpdate1.0.pkg -target "$3"
/usr/sbin/installer -pkg /System/Installation/Packages/AppleMobileDeviceSupport.pkg -target "$3"
/usr/sbin/installer -pkg /System/Installation/Packages/iTunesAccess.pkg -target "$3"
/usr/sbin/installer -pkg /System/Installation/Packages/iTunesX.pkg -target "$3"
/usr/sbin/installer -pkg /System/Installation/Packages/FrontRowUpdate2.1.2.pkg -target "$3"
/usr/sbin/installer -pkg /System/Installation/Packages/iLifeMediaBrowser.pkg -target "$3"
/usr/sbin/installer -pkg /System/Installation/Packages/QuickTime741_Leopard.pkg -target "$3"

exit 0


This is the command line installer being called from postscript of the update.pkg. It instals all those packages that I asked you to download from Apple.
Re: How to make a 10.5.2 Install DVD + updates
Post by docthemac on Mar 8, 2008, 7:12pm

Quote
"Docthemac, that's cool that you got you laptop working. I'm really surprised that my patch worked at all. There are so many things that can go wrong with a hackintosh installation, and considering the patch and DVD were completely untested, I'm amazed it worked at all.

So what version of AppleIntelIntegratedFramebuffer.kext 5.1 are you using now?

The SSE3 StepSpeed kernel that I used in the installer is old. Netkas has a newer version out now. By the way your Core Solo should be good to go with the stock kernel, having said that, I may have set the checkscripts wrong in the installer. Was the stock XNU option disabled (grayed out) when you ran the installer?"

[image]
[image]
Are you not using the patch? I agree with you that many things can go wrong with a patch and hack install :-X I did not know that the patch and dvd were untested, did it say that some where? Anyway I'm glad I tried it and that it worked pretty easy all things considered!

I had to run the graphics update again after first boot and replace the buffer kext to get my graphics working correctly, any idea if a fix in the installer could be made easily?
I am running the kalyway 5.1 AppleIntelIntegratedFramebuffer.kext now.
(you know there was not one even installed?,first time I have not seen one in a hack install.)

What exactly does the SSE3 StepSpeed kernel do? Yes the stock SSE3 xnu kernal was grayed out, Anyway to fix that?

Thanks again for the patch! You know there is not a "intel" 5.2 installer out yet!
I was thinking about uploading the image I made with your patch(and give you full credit of corse) to the TPBay or B.S., what do you think? It's your patch so it's your call ;)


Re: How to make a 10.5.2 Install DVD + updates
Post by docthemac on Mar 8, 2008, 8:01pm

Just found out the wake from sleep does not work, crap ???
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 8, 2008, 8:09pm


Mar 8, 2008, 8:01pm, docthemac wrote:
Just found out the wake from sleep does not work, crap ???
Netkas new kernel that I mentioned will might fix that, or use the stock kernel.

Well yes, I obviously did a test run of the patch to installed Leo onto a spare drive that I have, but that's hardly what I would class as a thorough testing.

I will look into the AppleIntelIntegratedFramebuffer.kext issue and try and fix that up.

The StepSpeed (sorry the SpeedStep, I'm always doing that) kernel does what it says on the tin, enables SpeedStep. The SSSE3 XNU (AKA the stock kernel) is incorrectly disabled with original Core CPUs. It should only be disabled on older Pentium, Celeron, etc... Again I will try and fix that up.

Please don't distribute the DVD image! Apple make great software and they should be rewarded for it. People should go buy the retail DVD.

Anyhow, I'd like to try and fixup the problems already highlighted, and I may release an updated version.


Re: How to make a 10.5.2 Install DVD + updates
Post by docthemac on Mar 9, 2008, 1:26am

ritalin

When you get time if you could get the framebuffer.kext fixed I would be happy to help you test it!

I would love to see an updated patch ;) Also I hope to get to the point where I can code my own patch. No problem about the image, I agree about apple making great stuff. They really do deserve the coin for their hard work!!

Look forward to updates and I will try the Netkas kernel and get back to you.

Edit: The Netkas 9.2 kernal did not fix my wake from sleep issue:(
Re: How to make a 10.5.2 Install DVD + updates
Post by rals2007 on Mar 9, 2008, 6:23am

ritalin:

Thank you for the reply. i now have a fully working 5.2 Vanilla. i added a few kext for my own personal choice of course.

BTW: stock XNU is working. it was enabled on my machine.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 9, 2008, 7:37am


Mar 9, 2008, 6:23am, rals2007 wrote:
ritalin:

Thank you for the reply. i now have a fully working 5.2 Vanilla. i added a few kext for my own personal choice of course.

BTW: stock XNU is working. it was enabled on my machine.


Cool, so what kext did you add?

The stock kernel works on my machine as well. It will work on Core 2 based CPUs, I need to mod the javascript so it will install on older Core CPUs. It should probably check for -
SSSE3 = not supported
and
64 bit = enabled
then
stock XNU = disabled
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 9, 2008, 7:43am

Doc, you can find Netkas blog here. You will need to go on IRC to download the kernel. You can use this to install the kernel if you are unfamiliar with the terminal.
Re: How to make a 10.5.2 Install DVD + updates
Post by rals2007 on Mar 9, 2008, 8:23am

Hi again...

It was a mistake when i said ADDED. Instead, REPLACED some modified & updated kext for my sound, video.

(For my older computer) EFI
Also, i replaced the Kernel & AppleSMBios from Netkas. ACPIPlatform by Kalyway.
Re: How to make a 10.5.2 Install DVD + updates
Post by docthemac on Mar 9, 2008, 9:31am


Mar 9, 2008, 7:43am, ritalin wrote:
Doc, you can find Netkas blog here. You will need to go on IRC to download the kernel. You can use this to install the kernel if you are unfamiliar with the terminal.


Thanks for the link:) I found the netkas site with a simple search. But thanks a lot for the installer, it will come in handy in the future!!

The netkas 9.2 mach_kernel did not fix my wake from sleep issue. I think others are having the same issue with various installs.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 9, 2008, 3:43pm

[image]

Now working on a version which includes Netkas Sleep kernel.
[b]Edit:[/b] This screen shot is out of date.

Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Mar 9, 2008, 4:55pm

Hey Ritalin,

That is great news, I have used the custom installer you made for me now a few times and although I never got the disk to go with the .5.2 update, it sails though the whole process much faster that any other distribution and installs 10.5. I am also using gfx strings now as my system boots quicker and you don't get the annoying flashing when nvinject/natit detect the monitors. If you ever get any spare time and fancy doing another for me (very happy to paypal for your time) I would send you up to date kexts files.

Once again congrats, the disk is superb! ;D
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 9, 2008, 5:50pm


Mar 9, 2008, 4:55pm, admin wrote:
Hey Ritalin,

That is great news, I have used the custom installer you made for me now a few times and although I never got the disk to go with the .5.2 update, it sails though the whole process much faster that any other distribution and installs 10.5. I am also using gfx strings now as my system boots quicker and you don't get the annoying flashing when nvinject/natit detect the monitors. If you ever get any spare time and fancy doing another for me (very happy to paypal for your time) I would send you up to date kexts files.

Once again congrats, the disk is superb! ;D


Hey, you should know me better than that! There's know no need to paypal me anything. As I keep saying, if you can get me an installer log of the failing 10.5.2 update, then I may be able to figure out what is going wrong. ???

Never used GFX strings myself. I'm afraid I don't know how they work or how to set them up. :-[ If you can send me the info / brief explanation I will look into it for you. It will be next weekend before I can do anything though.


Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Mar 9, 2008, 6:34pm

Thanks Ritalin,

That is extremely kind. I just don't like asking people to do a load of work, especially when they have spent some time already. If it is OK, then I will put a link up some time this week to the latest kexts that I use and just do it when you get a chance.

I installed this USB kext and found that my hack now seems to shut down much quicker. Did not have to remove anything either.

Click Here To Download


Right then, GFX Strings.

Files for this Project: Click to Download

You have to have EFI V8. It will not work with V7 to V7.4

1 Get your hack running just the way you want it with Natit First!

Ok so here is the quick how-to. Get the attached gfxutil and template.plist and copy them to your desktop. Open up terminal and type

cd ~/desktop (then hit return)
./gfxutil -f display (then hit return)

You should get something along these lines printed out
Code:
PciRoot(0x1)/Pci(0xe,0x0)/Pci(0x0,0x0)

Now copy that and open the template.plist and look for the line near the top where you see this example and replace it with what you copied. Scroll down near the bottom of the plist and change this:
<key>model</key>
<string>NVIDIA GeForce 7800 GTX</string>

to whatever model Geforce card you are using. You can also change the Rom-revision to whatever you like. Once your done making your changes save the file as in.plist.

Make sure you do rename it to in.plist

Go back to terminal you should still be in the desktop directory and type this.
./gfxutil -i xml -o hex ./in.plist ./out.hex

you should now have a new file called out.hex on your desktop. Open this file with whatever editor you like it and it will have your new graphics string. Copy it and open finder and head to /Library/Preferences/SystemConfiguration and open up your com.apple.boot.plist. Under the last string, which is usually the......

<key>Kernel Flags</key>
<string>Yes</string>

add a couple new lines as follows
<key>device-properties</key>
<string>PASTE YOUR LONG HEX STRING HERE!</string>

You should end up with something like this (My 8800GTX flashed to Quadro FX 5600):


[image]

NOTE: You don't need the bit at the bottom where I have put

<key>Graphics Mode</key>
<string>1680x1050x32</string>,

this just gives better res while the Grey apple is doing it's spinny thing.

Close and save the file. If it doesn't let you save it, save as a copy elsewhere and you can move it back replacing the old one. Make sure to save a backup copy of the original just in case. If you had full QE/CI prior to making these changes, browse over to /system/library/extensions and delete the NVinject/Natit or whatever you were using and reboot. Don't hold me responsible if you break your own install but this does work for some, but not all.

One more thing, if you have a 512 card or a 768 mb card as I do, you have to insert Total ram size int your in.plist file with XML editor just like in nvinject.

The std template.plist is for 256 cards.



Thanks to Zephyroth.



Re: How to make a 10.5.2 Install DVD + updates
Post by docthemac on Mar 9, 2008, 7:05pm


Mar 9, 2008, 3:43pm, ritalin wrote:
[image]

Now working on a version which includes Netkas Sleep kernel.


I look forward to SSE3 SNU support on my intel(SSE3) core solo, same as the first intel mac mini. And Netkas Sleep Kernel also, sounds great!!

One stupid question :-X Is the Netkas Sleep Kernel in the 9.2 mach_kernel or a separate one all together?

Thanks as always for your time.

**BTW did you all see this:**
http://netkas.org/?p=15#comments
comment #1, Grim Reaper says the way I think many of us, feel and think about OSX86 as a whole.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 9, 2008, 7:44pm


Mar 9, 2008, 7:05pm, docthemac wrote:

I look forward to SSE3 SNU support on my intel(SSE3) core solo, same as the first intel mac mini. And Netkas Sleep Kernel also, sounds great!!

One stupid question :-X Is the Netkas Sleep Kernel in the 9.2 mach_kernel or a separate one all together?

Thanks as always for your time.

**BTW did you all see this:**
http://netkas.org/?p=15#comments
comment #1, Grim Reaper says the way I think many of us, feel and think about OSX86 as a whole.


Just uploading "OSx86_patcher_v2" now. Netkas sleep kernel don't work on my machine :( it wont let the machine goto sleep! No matter cos I use the stock kernel and sleep works for me with that one. ;D

You can only use one kernel. They are all much the same only some are tweaked to allow them to work on different hardware/CPUs. Whenever you install a kernel, it will replace the previous version. This is why you should only select one from the DVD! In fact, the DVD should only allow you to select one version. If you can select more than one I did something wrong.

Thanks for the link. You should see what I had to do to a Yikes! to get it running OSX. ;D


Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 9, 2008, 8:07pm

Aqua, your previous post on GFX strings should be copied to a new thread and stickied! Very useful info.
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Mar 9, 2008, 8:17pm

Hi Ritalin,

Done, You will find it as a sticky here.

I also made this thread a sticky.
Re: How to make a 10.5.2 Install DVD + updates
Post by docthemac on Mar 9, 2008, 8:40pm

Could you PLEASE upload the stock kernel so I can try it?

I think it would work on my machine also. It was grayed out for me with the first patch

Also do you think patcher_V2 will let me install it this time?
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 9, 2008, 8:51pm


Mar 9, 2008, 8:40pm, docthemac wrote:
Could you PLEASE upload the stock kernel so I can try it?

You already have it. It should be @ /Library/Backups/mach_kernel
It may be invisible, but it should be there. In fact the DVD is setup so that any stock Apple extensions are copied to /Library/Backups/ before they are replaced. So, /Library/Backups/ contains everything (almost everything) that is different in your installation from a real Apple Mac. Isn't that cool.


Mar 9, 2008, 8:40pm, docthemac wrote:
I think it would work on my machine also. It was grayed out for me with the first patch

Also do you think patcher_V2 will let me install it this time?
Yes (fingers crossed). Please let me know if you try it. Link is in the first post of this thread right now. ;)
Re: How to make a 10.5.2 Install DVD + updates
Post by docthemac on Mar 9, 2008, 8:59pm

making a new install image now.

Thanks I will let you know a.s.a.p!
Re: How to make a 10.5.2 Install DVD + updates
Post by docthemac on Mar 10, 2008, 3:12am

ritalin,

No go, not at all :'( I tried all the SSE3 kernels and none of them worked. Not even the speedstep XNU worked. It works on the patch_V1 DVD I made, but none on V2.

Thanks for the effort, guess we see if it worked for anyone else.

Please post your V2 results!
Re: How to make a 10.5.2 Install DVD + updates
Post by bb on Mar 10, 2008, 7:49pm


Feb 22, 2008, 10:18pm, bb wrote:
I am not so lucky. I followed the instructions, but the DVD does not start. I used an original family 10.5.1 .The install stops at the level "control DMI..."

I can neither install Jas 10.4.7 with semthex. I get a lot of error messages, concerning the DVD, like I/O error, can not read/write the boot level disk1s3, warning : last sector not allocated.
I get the level where I can choose the language, but not futher. Or it shut down or I get the opportunity to save the errors log .


I did not gave up, download for the sixth time, burn the ISO and successfully installed iATKOS v1.0i . I got the starting blue screen, but before the Welcome message appeared, got a black screen. Still hear the HDD scratching. Must be the graphic card . Geforce GTO 512 Mb. I noticed that System Provider recognised 256 mb only. Am I obliged to flash the card? I read that the Geforce are natively compatible with the Hackintosh.
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Mar 10, 2008, 8:10pm

BB,

Yes your card needs to be flashed as it is a 7 series 512 mb. The rom needs to be modded otherwise you will never boot OSX with natit installed. If you cannot find your card on the rom repository, send me the rom and I will fix it for you to reflash. It will still work in windows fine after.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 10, 2008, 8:16pm


Mar 10, 2008, 7:49pm, bb wrote:

I did not gave up, download for the sixth time, burn the ISO and successfully installed iATKOS v1.0i . I got the starting blue screen, but before the Welcome message appeared, got a black screen. Still hear the HDD scratching. Must be the graphic card . Geforce GTO 512 Mb. I noticed that System Provider recognised 256 mb only. Am I obliged to flash the card? I read that the Geforce are natively compatible with the Hackintosh.


mmm... If you are using iATKOS I think you need to select NVinject, I think there are options for GFX memory size, select the 512MB option. No need to flash the card so long as it's a PC card and not an old Mac card! I stand corrected!

No PC card is natively compatible, you will need to use some form of inject e.g. NVinject or similar.
Re: How to make a 10.5.2 Install DVD + updates
Post by bb on Mar 10, 2008, 9:26pm

Thanks aqua, but I did not select natit.
Yes, Ritalin I did select NVinject with 512 mb the first time as it did'nt work I tried 256 mb without succes neither.
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Mar 10, 2008, 9:51pm

If you selected nvinject the problem remains - no 512 mb card will boot into OSX due to a flaw in the rom. 256 cards are OK. Selecting 512 nvinject will only work if the rom has been modified other wise you will stall at the blue screen or get a kernal panic during boot.
Re: How to make a 10.5.2 Install DVD + updates
Post by bb on Mar 10, 2008, 10:17pm

Thanks aqua,

I do not find my Rom. The card is a Nvidia Geforce GTO 512 Mb. I have to read again the procedures from you and Gotoh to check the Rom with a PC; I will then send it to you. :)
Re: How to make a 10.5.2 Install DVD + updates
Post by thefinalprophecy on Mar 11, 2008, 11:43pm

What is the best way to modify this so that my own kext files get installed? I have everything I need--about four kext files for my P5W DH Deluxe and several for my ATI Radeon X1950 Pro. Do I need to use PackageMaker? Also, will they show up in the Leopard installer with check boxes next to them so I can select them to install, or will they all be installed automatically?
Re: How to make a 10.5.2 Install DVD + updates
Post by rals2007 on Mar 12, 2008, 1:30am

thefinalprophecy:

2 ways...

re-pack exiting package ,then replace your own kext.

or

make new package, then insert proper string inside the osinstall
Re: How to make a 10.5.2 Install DVD + updates
Post by bishoptf on Mar 12, 2008, 2:58am


Mar 10, 2008, 9:51pm, admin wrote:
If you selected nvinject the problem remains - no 512 mb card will boot into OSX due to a flaw in the rom. 256 cards are OK. Selecting 512 nvinject will only work if the rom has been modified other wise you will stall at the blue screen or get a kernal panic during boot.


Hey aquamac, been reading and reading, building a new rig and want to try out osX, just saw that the 7 series 512 cards need to be reflashed, I have a PNY 7600GS 512, haven't even cracked it open yet. I have read the how to's on nvinject and would like to give it a go myself but would like someone to verify before actually loading...So you think you would be able to take a look and my org and fixed ROM and let me know what you think. If it looks good you could add a copy to the download rom repo...Thanks for your site and info...


Just wondering after the fix, how does windows see the card, is it still 7600gs or something else...Right now I run linux and xp, hoping to get a triple boot going so I am curious as to how it will work in linux also...
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Mar 12, 2008, 6:26am

Hi bishoptf,

Send me your rom and I will take a look. Windows will be fine after the modification, don't know about Linux as I have not tried it, although I see no reason why it would not work. Please also send a copy of the rom before you changed it and also give me your name from this forum. People quite often send me roms and use a different name to the one they use on the forums, as you can imagine, it can get confusing!
;)


Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 12, 2008, 6:53am

Found a bug in the installer that prevents the Quicktime 7.4.1 update from installing. For the moment you need to install the Quicktime 7.4.1 update once booted from the Leo new instal. Suggestion as to how to fix this are welcome.

thefinalprophecy and rals2007:
At the moment there is no "real easy" way of adding your own PKGs or KEXT to be installed by the DVD. A lot of people are asking for this, so I am thinking of creating an area in the "repair permissions" package where this can be done. Hopefully I will find time to work on these issues on Sunday (16th Mar).
Re: How to make a 10.5.2 Install DVD + updates
Post by bishoptf on Mar 12, 2008, 12:31pm


Mar 12, 2008, 6:26am, admin wrote:
Hi bishoptf,

Send me your rom and I will take a look. Windows will be fine after the modification, don't know about Linux as I have not tried it, although I see no reason why it would not work. Please also send a copy of the rom before you changed it and also give me your name from this forum. People quite often send me roms and use a different name to the one they use on the forums, as you can imagine, it can get confusing!
;)



Sounds good, still will be a couple of weeks yet, I still need a motherboard and cpu, I'm holding out for the q6600 to drop in price and I want to snag that one plus a gigabyte p35 board. Meant to tell you I like your avatar makes me want to see more.... :o
Thanks for the offer...
Re: How to make a 10.5.2 Install DVD + updates
Post by vlad1966 on Mar 12, 2008, 4:39pm

I'm considering making my own install DVD & of course I'd want to remove any kexts that I don't need for my Hack (like ones that are geared toward laptops) and add ones I do need.

My main question: is there a resource anywhere that explains what each particular kext does?

For example AppleEFIRuntime?
Re: How to make a 10.5.2 Install DVD + updates
Post by bb on Mar 13, 2008, 8:49pm


Mar 10, 2008, 8:10pm, admin wrote:
BB,

Yes your card needs to be flashed as it is a 7 series 512 mb. The rom needs to be modded otherwise you will never boot OSX with natit installed. If you cannot find your card on the rom repository, send me the rom and I will fix it for you to reflash. It will still work in windows fine after.


Aqua, thanks for the DVD's. How much do I owe you?
I am trying to get the rom and the eeprom, but does not work. I have made a Floppyboot, the PC boot is ok, but I cannot get the change of drive to get to nvflash on the HDD I can neigther add the programm onto the floppy, get the message "disk is full". Have tried via Windows command, does not work. Get the messages "no PCI Bios" and nvflash must be used under DOS.
Have made a CDboot, but cannot use it as boot drive. If I open the DOS file on the CD, it want to make a Floppyboot.
Questions: what am I doing wrong ? I have followed your procedure : message 12 from http://aquamac.proboards106.com/index.cg....read=435&page=1
and also this from Gotoh, How to write your own ROM from
http://nvinject.free.fr/512Mb.html
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Mar 13, 2008, 9:34pm

Hi bb,

If you are getting to the A: prompt with the boot floppy, you can install nvflash onto a different floppy and insert that when you get to the A: prompt. It does not have to be the same floppy. Boot with one then flash with the other. When you download nvflash nowadays, you will want to unpack it on a windows PC to obtain the 2 files inside. When you have done that, drag those 2 files onto the floppy.

I think the postage was around £5. My paypal is: aquamac_mail@mac.com

Did you get a chance to try the disks yet?
Re: How to make a 10.5.2 Install DVD + updates
Post by bb on Mar 13, 2008, 9:39pm

Thanks a lot aqua, have just read the same thing from Gotoh here :
http://themacelite.wikidot.com/nvidia-general-flashing.

Will try tomorrow morning as I get back home from my night shift. I am waiting to flash the graphic card and then install from your DVD's and use in one time. :D
Re: How to make a 10.5.2 Install DVD + updates
Post by bb on Mar 14, 2008, 10:21am

Worked perfectly aqua.
I pm you the Rom. It is a 64Kb not a 128KThankb . Will you reduce the Rom or should I send you the card to change the Eeprom ? Thank you.
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Mar 14, 2008, 7:54pm

No need for any rom chip changes on cards used in Hackintoshes. I have fixed your rom and emailed it back to you.
Re: How to make a 10.5.2 Install DVD + updates
Post by bb on Mar 14, 2008, 9:08pm

Thanks aqua, you are the Best .
Will flash it and install your DVD's tomorrow morning. :D ;D
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 16, 2008, 8:14pm

I've fixed a couple of bugs in the patched DVD (and probably introduced a few more). I have altered the patch script, so please read the instructions even if you have used previous version of this script. I have tried to implement Dense's method of creating a bootable DVD. He also asked me to include his Bless command, but that will involve major changes so that may come in a future version. The non essential updates have been removed so as to make this quicker and easier to build. After installing OSX, the system can be safely updated using "System Update...". OSx86_patcher_v4
Re: How to make a 10.5.2 Install DVD + updates
Post by dense on Mar 17, 2008, 6:31am

I've taken a quick look over Ritalin's updated script and its pretty thorough and I doubt there are any serious bugs. It follows a simplified structure of my script which has had a fair bit of testing over the last few months.

The overall differences in the approach we take mean that while my method is a more generic approach, Ritalin will have far better compatibility than I can ever achieve due to the fact he creates the packages manually. For the average user this makes Ritalin's script an excellent option and should have comparable compatibility with the more mainstream distributions (such as Kalyway and iATKOS).



Re: How to make a 10.5.2 Install DVD + updates
Post by bb on Mar 17, 2008, 3:27pm

Aqua,
Some news, the flashing works good; the card is read with 512 Mb ram in the System profiler. But I cannot boot with the leo iATKOS v1.0i, because I made the update to leo.5.2 and it does not work anymore. It remains @ "verifying DMI Pool Data" . Install your DVD was OK but no boot stays @ "You need to restart your computer. Hold down ... "
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Mar 17, 2008, 10:48pm

bb,

You need to remove natit as my DVD has natit for Quadro FX 5600. Just delete it then you should be able to boot.
Re: How to make a 10.5.2 Install DVD + updates
Post by bb on Mar 18, 2008, 9:10am

How can I do it? Before installing or after in terminal ?
Btw, are you still selling your baord GA-P35-DQ6 ? I thing I court-circuit mine by trying to connect the Apple backside fans . ???
Re: How to make a 10.5.2 Install DVD + updates
Post by tek on Mar 18, 2008, 2:24pm


Mar 16, 2008, 8:14pm, ritalin wrote:
I've fixed a couple of bugs in the patched DVD (and probably introduced a few more). I have altered the patch script, so please read the instructions even if you have used previous version of this script. I have tried to implement Dense's method of creating a bootable DVD. He also asked me to include his Bless command, but that will involve major changes so that may come in a future version. The non essential updates have been removed so as to make this quicker and easier to build. After installing OSX, the system can be safely updated using "System Update...". OSx86_patcher_v4


Hi ritalin,

First of all, thanks for a great patcher!

My question to you is what method are you using to create the pkg files? Are you using something like PackageMaker thats part of the Developer Tools, or are you using xar, or something else? I'm looking to create my own custom install DVD and have searched everywhere to try and figure this out.

Thanks!
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 18, 2008, 5:27pm


Mar 18, 2008, 2:24pm, tek wrote:

Hi ritalin,

First of all, thanks for a great patcher!

My question to you is what method are you using to create the pkg files? Are you using something like PackageMaker thats part of the Developer Tools, or are you using xar, or something else? I'm looking to create my own custom install DVD and have searched everywhere to try and figure this out.

Thanks!


Hello Tek, welcome to the forum. I'm using Packagemaker, an earlier version from the Tiger era. So did you use the script and did it work or not?
Re: How to make a 10.5.2 Install DVD + updates
Post by tek on Mar 18, 2008, 7:00pm

Hi ritalin,

Yes the script is working fine for me. I just want to be able to customize the OSInstall.mpkg file to suit my personal needs.

So you are running PackageMaker in Tiger... I installed the Developer Tools on my MacBook Pro with Leopard 10.5.2 and it comes with PackageMaker as well. Would you recommend doing this in Tiger?
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 18, 2008, 8:59pm

No, I use PackageMaker 2.1 in Leo. I find the older version easier to use.
Re: How to make a 10.5.2 Install DVD + updates
Post by tek on Mar 19, 2008, 2:02pm

Ok I'm trying out PackageMaker 2.1 to see how it works out. Thanks for all your help.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 21, 2008, 3:54pm

OSx86_patcher_v5 Fixed the mistake I introduced in the previous version which broke compatibility with just about every configuration out there. Added a couple more XNU options and changed the descriptions a little. The script which builds the DVD is simplified. It no-longer thins the DVD binaries and is about twice as quick to run.

Still to do: Slim down the OSInstall.mpkg and reduce the size of the download. Add the ability to use "GFX Strings". Add the ability to "easily" include your own kext to the OSInstall.mpkg.

For anyone wishing to have a go at modifying the OSInstall.mpkg used in my DVD, then here is the build environment I'm using. You will need the contents of the "/System/Installation/Packages" folder from the retail Leopard 10.5.0 install DVD MB021Z/A. It needs adding to the " ~/Ritalin/Package Roots/10.5.0" folder. You will also need a copy of PackageMaker Version 2.1.1 or earlier, not the latest version that comes with the Leopard 10.5.0 install DVD.

Can I ask that if you add any cool improvement, then please share them here.

The MBRCheck and VolumeCheck scripts in the Ritalin/Resources folder have to be added to the OSInstall.mpkg manually. PackageMaker doesn't add them automatically when you build the Ritalin v5.pmproj project.
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Mar 21, 2008, 5:13pm

Nice one Ritalin, I will be having a look at this sometime over the weekend for sure!
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 21, 2008, 8:24pm

Just tried out the GFX Strings How To. Works a treat. Should be easy to add to the DVD.
Re: How to make a 10.5.2 Install DVD + updates
Post by stlvnub on Mar 22, 2008, 2:06pm

Ritalin,
I must say again you are doing excellent work.

Thanks for your build setup and will try your latest patch.

V4 actually installs great on my p5b Deluxe wifi.
Keep up the GREAT work.


Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 22, 2008, 5:28pm


Mar 22, 2008, 2:06pm, stlvnub wrote:
Ritalin,
I must say again you are doing excellent work.

Thanks for your build setup and will try your latest patch.

V4 actually installs great on my p5b Deluxe wifi.
Keep up the GREAT work.


Thanks for the feedback. I'm just doing a test on version 6 right now. I've shaved 5Mb of the patcher so its a little easier on bandwidth. I've also improved the /Library/backup directory. It now has a sub-folder named "Originals" that contains the original version of any file modified by the installer. There is also a "Hackintosh" sub-folder that contains files added by the installer.
Re: How to make a 10.5.2 Install DVD + updates
Post by stlvnub on Mar 23, 2008, 8:42am

Hi ritalin,
Just made my first V5 DVD (boy was it fast to make!!!), also made a selection to add Natit kext for ati HD and a delay boot plist.

Have not tried the DVD yet as my HD space is limited.

Have to ditch either Vista or Xp, there's only so much you can put on 320g HD.
Will shell out for another sata hd i suppose.(krikey I can put another 4 on this MB hehe)

Just wondering what is involved in putting back the Timemachine restore option on the DVD as it is a great feature to have.


Also any pointers on including extra utilities like Kalyway does.
Thanks again and will try out the latest DVD later tonight.

Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 23, 2008, 9:18am

Send me (or link to) the Natit kext for ati HD and your delay boot plist, then I might include them in future version. Also a list of which cards the kext supports and the name of the guy you made the kext would be cool.

V6 will use the method of making the install bootable created by Dense. Its less prone to crashing the installer.
Re: How to make a 10.5.2 Install DVD + updates
Post by stlvnub on Mar 23, 2008, 10:09am

Have uploaded to rapidshare.
Natit kext is the 2400-38XX (netkas) one (I think) anyway his latest one.
I packaged that one myself.
Boot plist I did by myself.

http://rapidshare.com/files/101678828/Archive.zip.html

Trying out your latest Version now...will let you know how it goes.
Back in a while....
Re: How to make a 10.5.2 Install DVD + updates
Post by thefinalprophecy on Mar 24, 2008, 5:15pm

This looks like it is progressing quite well! Can't wait for the "easy" way to integrate kexts/packages, but it's definitely something to look forward to. Thanks for all your hard work in this.
Re: How to make a 10.5.2 Install DVD + updates
Post by stlvnub on Mar 25, 2008, 3:46am

Well,first trial of V5 didn't go so well.
Stopped at end of install with error.
My Fault.

Did not read end bit of first post about Volumecheck etc.DOH!!!

The install however booted but it did'nt work quite right.
Fixed the problem and trying again.

This is looking REALLY good.
Man it sure makes the iso FAST!!!
Waiting for V6.



Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 25, 2008, 8:19am


Mar 25, 2008, 3:46am, stlvnub wrote:
Well,first trial of V5 didn't go so well.
Stopped at end of install with error.
My Fault.

Did not read end bit of first post about Volumecheck etc.DOH!!!

The install however booted but it did'nt work quite right.
Fixed the problem and trying again.

This is looking REALLY good.
Man it sure makes the iso FAST!!!
Waiting for V6.




V6 is close to ready. I would give up on V5 and wait. ATI HD cards have been added and there is now options for boot.plist files (delay boot, verbose, safe, etc...). I've been through the postflights and I've removed a load of errors. The method for making the hard drive bootable is now much improved and, hopefully, less prone to failure.

So you are using the PackageMaker project I posted, cool. With V6 there have been major changes for the better. As soon as I'm happy with it I will post the corresponding V6 build environment, probably today.

Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 25, 2008, 2:51pm


Mar 25, 2008, 8:19am, ritalin wrote:

V6 is close to ready. I would give up on V5 and wait. ATI HD cards have been added and there is now options for boot.plist files (delay boot, verbose, safe, etc...). I've been through the postflights and I've removed a load of errors. The method for making the hard drive bootable is now much improved and, hopefully, less prone to failure.

EDIT 25th March 2008



Major change to underlying method of setting the target volume as bootable. It now takes place at the end of the installation process. So no more dangerous force unmounting of the target volume.
Many bugs removed from the package postflight scripts.
New install choices for ATI HD gfx cards.
New boot options (safe and normal).
Automatic detection of GUID, MBR, and APM partition schemes.
Installer prevents selection of APM partition disks.
Choice of Netkas PC-EFI or Darwin x86 bootloader.
PC-EFI will be used automatically on GUID partitions.
Creates /Library/Backup/Hackintosh directory containing modified and extra files added by the installer.
Creates /Library/Backup/Original directory containing all original files that are modified or replaced by the installer.
Automatically prevent installation of vanilla kernel on unsupported CPUs.
The patch.sh script now checks for the presence of the required update packages and quits if they are missing.


Re: How to make a 10.5.2 Install DVD + updates
Post by netrogen on Mar 25, 2008, 3:28pm

Cheers for this, hope to give it a try soon. The one main difference between XP and OS X is I now don't feel the urge to clean install every couple of weeks, Leo has been running well for a couple of months on my hack.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 25, 2008, 4:09pm


Mar 25, 2008, 3:28pm, netrogen wrote:
Cheers for this, hope to give it a try soon. The one main difference between XP and OS X is I now don't feel the urge to clean install every couple of weeks, Leo has been running well for a couple of months on my hack.


I don't clean install my system much either ;D My iMac hasn't had a clean install since I built it. Its still running Tiger mind you.

What I really need is people who can read shell script to help debug this thing. There are over 100 packages and postflights in this now, and they all have to fit together just so! A single " in the wrong place in one of those postflights can FUBAR the hole DVD. Also, it takes sometime to test the DVD. In fact I don't test every option, I don't have the time!

This is why, unlike other distributors, I publish the build environment. I know its not going to be perfect and I can't fix everything, but at least you can download the hole project and try and fix it yourselves. ;)
Re: How to make a 10.5.2 Install DVD + updates
Post by stlvnub on Mar 25, 2008, 4:44pm

Downloading V6 now.
My second attempt on V5 went OK.
You are doing excellent job.
Thanks so much.



Re: How to make a 10.5.2 Install DVD + updates
Post by tek on Mar 25, 2008, 6:09pm

Thanks for sharing your work again ritalin, and also thank you for sharing your build environment. I have successfully been able to make my own OSInstall.mpkg with some drivers for my own hardware. This is a nice method and I will try out v6 of you script and let you know if I run into any problems.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 26, 2008, 8:01am

Thanks for the feedback. I've posted a new thread Start to Learn Shell Script
I hope some of you find it useful. ;)

EDIT 26th March 2008
Added the following 3 plugins to the "IOATAFamily.kext" extension:

AppleGenericPCATA.kext - Source: AppleGenericPCATA-5
AppleOnboardPCATA.kext - Source: AppleOnboardPCATA-2
AppleVIAATA.kext - Source: AppleVIAATA-6

They were missed in previous builds due an oversight by myself. :-[
OSx86_patcher_v7


Re: How to make a 10.5.2 Install DVD + updates
Post by italo on Mar 26, 2008, 6:00pm

I have problem.
When start patcing its come on.

"ERROR Existing disk images mounted.
Detach all disk images mounted. This can be done by dragging disk
image volumes from the destkop to the trash or using Disk Utility."

What I can doo? any idea
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 26, 2008, 7:37pm


Mar 26, 2008, 6:00pm, italo wrote:
I have problem.
When start patcing its come on.

"ERROR Existing disk images mounted.
Detach all disk images mounted. This can be done by dragging disk
image volumes from the destkop to the trash or using Disk Utility."

What I can doo? any idea

Should I take it that you don't know what a mounted disk image looks like? or are you saying there aren't any mounted images and that the error is incorrect?
Re: How to make a 10.5.2 Install DVD + updates
Post by italo on Mar 26, 2008, 7:51pm

When i start patching its stoped on this message. I tray with disk utility find unmoun image, nothing happend tere for it is not mounted.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 26, 2008, 8:08pm


Mar 26, 2008, 7:51pm, italo wrote:
When i start patching its stoped on this message. I tray with disk utility find unmoun image, nothing happend tere for it is not mounted.


Log out and then log back in, that should unmount any image. Look in the "image" folder of the patcher, it should look like this:
[image]
If there is any files in there other than MacOSX105.dmg then delete them.
DONT delete MacOSX105.dmg !
If MacOSX105.dmg isn't there, then read the file named "instructions" again.
If the patcher bombs out again after doing all that, then there is something wrong. ???

Re: How to make a 10.5.2 Install DVD + updates
Post by italo on Mar 26, 2008, 8:25pm

I repeated it many times, nothing change

"OSx86_patcher_v4
This should take about 10 minutes on a 1.87 GHz C2D.

The absolute pathname of the current working directory:
/Users/.../Desktop/OSx86_patcher_v7

The absolute pathname of the original DVD image:
/Users/.../Desktop/OSx86_patcher_v7/images/MacOSX105.dmg

The absolute pathname of the shadow file to be used in conjunction with the original DVD image:
/Users/.../Desktop/OSx86_patcher_v7/images/MacOSX105.dmg.shadow

The absolute pathname of the burnable patched DVD ISO image:
/Users/.../Desktop/OSx86_patcher_v7/images/MacOSX105_patched.iso

ERROR Existing disk images mounted.
Detach all disk images mounted. This can be done by dragging disk
image volumes from the destkop to the trash or using Disk Utility."

what wrong?



Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 26, 2008, 8:31pm

In terminal enter:
hdiutil info
Then post the output here please.
Re: How to make a 10.5.2 Install DVD + updates
Post by italo on Mar 26, 2008, 8:35pm

framework : 195
driver : 10.5v192.1
================================================
image-path : /Users/aaa/Library/FileSync/001b6398cd12/aaa_iDisk.sparsebundle
image-alias : /Users/aaa/Library/FileSync/001b6398cd12/aaa_iDisk.sparsebundle
shadow-path : <none>
icon-path : /System/Library/PrivateFrameworks/DiskImages.framework/Resources/CDiskImage.icns
image-type : sparse bundle disk image
system-image : TRUE
blockcount : 549445522
blocksize : 512
writeable : TRUE
autodiskmount : TRUE
removable : TRUE
image-encrypted : false
mounting user : aaa
mounting mode : <unknown>
process ID : 1354
/dev/disk1 Apple_partition_scheme
/dev/disk1s1 Apple_partition_map
/dev/disk1s2 Apple_HFSX /Volumes/aaa


Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 26, 2008, 8:53pm

Well there is definitely some sort of image mounted ???

I wonder what it is. Do you use FileVault?
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 26, 2008, 8:54pm

Sorry, it looks like its something to do with iDisk sync.
Re: How to make a 10.5.2 Install DVD + updates
Post by italo on Mar 26, 2008, 8:57pm

No FileVault is off
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 26, 2008, 8:59pm

Turn off iDisk sync in System Prefs under .mac iDisk.


Re: How to make a 10.5.2 Install DVD + updates
Post by italo on Mar 26, 2008, 9:04pm

!!!!!
I switch off iDisk sync and log off from .mac

OK!!!! Its start patching!!!
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 26, 2008, 9:10pm

Oh bum, I can see I'm going to have to do a v8 to get round this in future. Unless someone else fancies having a go.
Re: How to make a 10.5.2 Install DVD + updates
Post by italo on Mar 26, 2008, 9:31pm

Thank you. Patched, burned and now try to install.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 27, 2008, 8:41am

EDIT:
This is now outdated and no longer valid information when used in conjunction with the latest version of the pather script.

Quote:
How to make your own pkg containing your own kexts
1 Extract the X pkg.zip and drag it into places.
[image]

2 Copy the kext you wish to install into the Hackintosh sub-folder.
[image]

3 Open the postflight template in Xcode.app (part of Developer Tools).
[image]

4 You will see template that will install two kext named foo & bar.
[image]

5 Replace foo & bar with the correct names of your kext.
If you only have one kext then delete the second code segment between;
'#Installing hackintosh bar.kext' and 'exit 0'
Don't delete 'exit 0'
Now save and close the file.
[image]

6 Open the 'X pkg.pmproj' in PakageMaker (I'm using v2.1.1).
[image]

7 After checking that 'Contents - Root' and 'Scripts - Extras' points to 'X pkg' and 'Resources' relative to the project, save the file.
[image]

8 Now build the pkg.
[image]

9 + 10 You can open the pkg with Pacifist and check the contents.
[image]
[image]

11 To add the pkg to the ritalin project drop it in the 'Additional Compatibility' sub folder.
[image]

12 Open the Ritalin v#.pmproj in PakageMaker (Again I'm using v2.1.1). Now add a new choice to 'Additional Compatibility'. Click on the + button (bottom LHS) with Additional Compatibility' highlighted in the LHS window.
[image]

13 Change the 'Title' to something suitable, then click 'Add package' from the menu bar while your new choice is highlighted.
[image]

14 Highlight your newly created pkg and click 'Open'.
[image]

15 Make sure you set the 'Path:' as 'Relative To Project'.
[image]

16 Build and Save the 'OSInstall.mpkg' You will see 11 'non-fatel errors' this is nothing to worry about.
[image]

17 Open the 'OSInstall.mpkg' with 'Installer' and check it looks okay.
[image]

18 Control Click the 'OSInstall.mpkg' and select 'Show Package Contents'. Copy 'MBRCheck' and 'VolumeCheck' into the 'Resources' folder.
[image]

19 Replace the 'OSInstall.mpkg' in the 'files' folder of 'OSx86_patcher_v#' with your new custom version.
[image]

20 Now run the patcher, burn the disk and give it a try!

Re: How to make a 10.5.2 Install DVD + updates
Post by bishoptf on Mar 27, 2008, 5:43pm

ritalin, First off I just want to say a BIG THANK YOU!! for all of your hard work..I have yet to go down this path but I am getting really close (just need mobo and proc) and all of your advice, really makes it possible to understand what you are doing...Thanks for taking the time to help others out.... ;D
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 28, 2008, 1:03pm

So would anyone be interested in AMD support with the patcher? I'm looking into how hard it would be to automate use of the Marvin AMD Utility in the script.
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Mar 28, 2008, 6:54pm

Hi Ritalin,

Thanks for all the great work you are doing here and although I no longer have any AMD hardware, I'm sure it would really be appreciated by others. I spent some time last weekend with version 6 but for some reason, during install on my machine it freezes with 1 min to go when it says installing update. I have burnt 10 coasters, but as the computer freezes it does not write anything to a log file to indicate the problem. I am still more than happy that I managed to make an install disk that works fine and installs 10.5 anyway. I am working tomorrow (boo hoo) but if I get time on Sunday I thought I would give your "make your own package" a go.

Once again thanks for all your efforts!!
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 28, 2008, 9:15pm

Try booting with the following:
-v -legacy maxmem=2048 cpus=1
Hit F8 when... You know what to do.

Make sure to download the latest versions of the patcher and build environment, the scripts are much tidier!

I've got the AMD version cracked, but I've no hardware to test it on :-(

That said, it works okay on my Intel machine. Fingers crossed I have a universal AMD/Intel patcher in on my hands.

At work tomorrow myself, bummer!



Quote:
"I have burnt 10 coasters"
Get yourself a USB stick, I'll mod the script so it can write a bootable installer on it. You can do a full instal in under 10 minutes from a memory stick, not to mention the time you save not burning a DVD.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 29, 2008, 7:58pm

Aqua, just curious, what's model #/version of the mobo you have been trying to use the patched installer on? I've seen you use a few different boards in your machines: GA-965P-DQ6, GA-33M-DS2R and GA-P35-DQ6.

So I'm told, v6 and v7 of my patcher is working okay on the GA-33M-DS2R.

Regarding the freeze issue you could also try opening and watching the file while the installer is running. You should select "Show All Logs" in the drop down menu. You never know, you might spot something.

A note to everyone regarding the log file. Since I implemented the Dense-Slipstream method of setting the target volume as bootable, the log file isn't automatically saved on completion of the installation. :-/ You actually have to select save from the menu bar before rebooting. If you don't the log file is lost.

Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Mar 29, 2008, 8:21pm

Hi Ritalin,

It is the GA 33M-DS2R with the latest F7 non-beta bios that I have been experimenting on. I have not tried on the others. I will try installing again whilst watching the log and see on what line it freezes - good idea it may give some clue as to what is happening. I tried version 7 last night - same prob. I even re-downloaded the 10.5.2 combo to make sure there was no corruption. Will let you know.

Finished work now - the weekend starts here! How about you? :D
Re: How to make a 10.5.2 Install DVD + updates
Post by fdidi on Mar 29, 2008, 9:33pm

Hello Ritalin!

Thank you for the great patcher and for sharing your job for all.

I have a WLAN Adapter with an Atheros AR5212 chipset and need the patched IO80211Family.kext with Manufacturer ID 168c and Device ID 0013.
So i followed your steps in the post "How to make your own pkg containing your own kexts".
The package, i have created works well. But if i build the OSInstall.mpkg, i get 63 errors and the test of the ready OSInstall.mpkg returns with this error in a small window:

"Operation could not be completed.
(com.apple.installer.pagecontroller error
-1.)
Couldn't open "OSInstall.mpkg"."

Can you help me with this?


And another question:
With an install of the original Leo Disk or ToH i can choose at the beginning of the GUI install the language for the next steps during the installation, for example german. How can i change the script in OSx86Patcher, that this possibility is not removed in the patched Leo?

F-Didi
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 29, 2008, 9:35pm


Mar 29, 2008, 8:21pm, admin wrote:

Finished work now - the weekend starts here! How about you? :D


Yeah, off till Monday.

Quick question re the Gigabyte GA-33M-DS2R, do you know if the Intel GMA 3100 can be made to work in OSX?
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Mar 29, 2008, 10:02pm

Not really sure about that one, I have never tried. I know there were posts saying it did not work when Leo was released. Have you tried this board too? I got mine when they first came out, but was pretty pleased to find how well it worked with OSX 86. It automatically switches off the GMA 3100 if a PCIe card is found in slot one.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 29, 2008, 10:30pm


Mar 29, 2008, 9:33pm, fdidi wrote:
Hello Ritalin!

Thank you for the great patcher and for sharing your job for all.

I have a WLAN Adapter with an Atheros AR5212 chipset and need the patched IO80211Family.kext with Manufacturer ID 168c and Device ID 0013.
So i followed your steps in the post "How to make your own pkg containing your own kexts".
The package, i have created works well. But if i build the OSInstall.mpkg, i get 63 errors and the test of the ready OSInstall.mpkg returns with this error in a small window:

"Operation could not be completed.
(com.apple.installer.pagecontroller error
-1.)
Couldn't open "OSInstall.mpkg"."

Can you help me with this?


And another question:
With an install of the original Leo Disk or ToH i can choose at the beginning of the GUI install the language for the next steps during the installation, for example german. How can i change the script in OSx86Patcher, that this possibility is not removed in the patched Leo?

F-Didi


Send me a link to the patched IO80211Family.kext or the pkg you have made. I will add it to the OSInstall.mpkg for you.

Is German the language you want? I can do you a version of the patcher which includes German if you like. I'd been thinking of writing a how-to add language packs, guess I should do it.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 29, 2008, 10:35pm


Mar 29, 2008, 10:02pm, admin wrote:
Not really sure about that one, I have never tried. I know there were posts saying it did not work when Leo was released. Have you tried this board too? I got mine when they first came out, but was pretty pleased to find how well it worked with OSX 86. It automatically switches off the GMA 3100 if a PCIe card is found in slot one.


No, I haven't used that board myself. We just wondered if the GMA3100 could work on this.
Re: How to make a 10.5.2 Install DVD + updates
Post by fdidi on Mar 29, 2008, 11:25pm

Hi Ritalin!

This is great! Thank you very much.

Here is the link to the kext: http://www.mediafire.com/?yj3gzvjlmiz
More information of it: http://forum.insanelymac.com/index.php?showtopic=40317

Yes, German is the language i want, a version with this in it would be great.

F-Didi


Re: How to make a 10.5.2 Install DVD + updates
Post by rals2007 on Mar 30, 2008, 11:24am

ritalin:

Hi, im very impressed on your work. you have done a wonderful job by helping others to make thier own distro.

Anyway... about ACPIPlatform, on the IRC #Leopard channel, they have a fix for the REBOOT/SHUTDOWN issue. Now, my question is, is the fix only applicable for a certain type of mobo or for the whole?

reason for asking is, Im trying to add a pkg from your script, and want to add my own additional kext.
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Mar 30, 2008, 3:19pm

AHA Ritalin,

It seems that my disk problem is related to my GA 33M DS2R as I tried all the coasters I burned and they worked on my GA 965-DQ6 board. It may be the overclock I am running (Quad Core @3.4 GHz). I need to try an installation with no overclock. I will report back.
Re: How to make a 10.5.2 Install DVD + updates
Post by nikonnut on Mar 30, 2008, 4:38pm

Rit,
I'll pull my GPU and try v7 with the onboard graphics (GMA 3100) and report back. Everything else is working great with no noticeable hick-ups. I'll let you know how it goes.
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Mar 30, 2008, 5:16pm

Nope, 10.5.2 baulks on GA 33M-DS2R with the bios all set to standard settings, but the disk installs fine if I leave off the 10.5.2 update. 10.5.2 works on my GA 965-DQ6 fine though. Do you think this is a ICH 9 thing or have others had success with ICH9. The DQ6 is ICH8.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 30, 2008, 5:28pm


Mar 30, 2008, 5:16pm, admin wrote:
Nope, 10.5.2 baulks on GA 33M-DS2R with the bios all set to standard settings, but the disk installs fine if I leave off the 10.5.2 update. 10.5.2 works on my GA 965-DQ6 fine though. Do you think this is a ICH 9 thing or have others had success with ICH9. The DQ6 is ICH8.


It's working for nikonnut, see above. There must be some difference between your setups.

You could compare the MD5 of the patched ISOs. See if the disk you two are building are coming out different.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 30, 2008, 5:34pm


Mar 29, 2008, 11:25pm, fdidi wrote:
Hi Ritalin!

This is great! Thank you very much.

Here is the link to the kext: http://www.mediafire.com/?yj3gzvjlmiz
More information of it: http://forum.insanelymac.com/index.php?showtopic=40317

Yes, German is the language i want, a version with this in it would be great.

F-Didi



OSx86_patcher_v7_1 Edit: Its faulty, don't use it!!! :-[
Includes the WLAN kext* and you can now pick a language pack to add to the DVD during the patch process. Completely untested by me, so let me know how it goes please.

*10.4.8 IO80211Family.kext with Manufacturer ID 168c and Device ID 0013. For use with a WLAN Adapter using the an Atheros AR5212 chipset. Using the 10.4.8 kext with Leopard gives you a working airport extreme, but only for WEP or open networks.

[image]
;D

Re: How to make a 10.5.2 Install DVD + updates
Post by nikonnut on Mar 30, 2008, 5:37pm

Aqua,
I've not has any problems. And since we share a common Mobo I wonder if it could be hardware related? Would having the 8800 installed before the Graphics update was applied cause any problems?
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 30, 2008, 5:55pm


Mar 30, 2008, 5:34pm, ritalin wrote:

OSx86_patcher_v7_1
Includes the WLAN kext* and you can now pick a language pack to add to the DVD during the patch process. Completely untested by me, so let me know how it goes please.

*10.4.8 IO80211Family.kext with Manufacturer ID 168c and Device ID 0013. For use with a WLAN Adapter using the an Atheros AR5212 chipset. Using the 10.4.8 kext with Leopard gives you a working airport extreme, but only for WEP or open networks.


OSx86_patcher_v7_1 This version also includes tools to help make a removable drive (such as a usb stick) into a installer disk. Instead of burning the ISO onto a DVD do the following:
1) Mount the ISO using Disk Utility
2) Select the Restore Tab
3) Drag the mounted ISO volume into the "Source"
4) Drag the removable drive into the "Destination"
5) Tick the "Erase destination" box
6) Click restore
7) When Disk Utility is finished you can use the "makeBootable" script in "OSx86_patcher_v7_1" to set the removable drive as bootable.

"makeBootable" just needs the path to your removable drive as an argument.
Example:


Quote:
./makeBootable /Volumes/Mac\ OS\ X\ Install\ USB


Where "/Volumes/Mac\ OS\ X\ Install\ USB" is a USB stick named "Mac OS X Install USB".

Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 30, 2008, 6:20pm


Mar 30, 2008, 11:24am, rals2007 wrote:
ritalin:

Hi, im very impressed on your work. you have done a wonderful job by helping others to make thier own distro.

Anyway... about ACPIPlatform, on the IRC #Leopard channel, they have a fix for the REBOOT/SHUTDOWN issue. Now, my question is, is the fix only applicable for a certain type of mobo or for the whole?

reason for asking is, Im trying to add a pkg from your script, and want to add my own additional kext.


I'm afraid don't know anything about the REBOOT/SHUTDOWN issue. Luckily I've never suffered from that type of issue on my mobo. I will look into this though and see what I can find out.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 30, 2008, 7:25pm

Huston, we've got a problem!
I put the wrong flipping Bless script in the OSx86_patcher_v7_1 :-[
Uploading OSx86_patcher_v7_2 with the correct Bless script now.

Sorry
Re: How to make a 10.5.2 Install DVD + updates
Post by italo on Mar 30, 2008, 7:34pm

I`m killed two days with experiments on setting up my video .... pls help (!!!). Every time when I try to do something (by Calisto) I loos my system .... reinstall and go another time... reinstall .....
Is its possible to add kexts for my video in installer. Other question is voice of Alex (from original 10.5.0)!
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 30, 2008, 7:57pm


Mar 30, 2008, 7:34pm, italo wrote:
I`m killed two days with experiments on setting up my video .... pls help (!!!). Every time when I try to do something (by Calisto) I loos my system .... reinstall and go another time... reinstall .....
Is its possible to add kexts for my video in installer. Other question is voice of Alex (from original 10.5.0)!


You can install voice from original DVD I will write instructions maybe tomorrow night.

I need more information about your video card:
-Make
-Model
Have you had the video working with any other OSx86 system?
If so what version?
What method did you use to install?



Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 30, 2008, 8:08pm

Okay, here is OSx86_patcher_v7_2 with the modified Dense-Slipstream Bless script. The one that works.
Re: How to make a 10.5.2 Install DVD + updates
Post by italo on Mar 30, 2008, 8:14pm

ATI Radeon x600 (256 MB) (it is ritten in my signature)
On install I do not touch nothing (it's mean auto install by you) video is working only on one resolution and I do not have possibilities change it as well as do not have info about video card.
Re: How to make a 10.5.2 Install DVD + updates
Post by nikonnut on Mar 30, 2008, 8:37pm

Here you are Rit,

[image]

I loaded V7 w the 3100 option, FlexLM, and Stock 9.2.0 kernel and as you can see it is showing that there is no kext loaded. Hope this helps.

Nik



Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 30, 2008, 8:46pm


Mar 30, 2008, 8:37pm, nikonnut wrote:
Here you are Rit,

[image]

I loaded V7 w the 3100 option, FlexLM, and Stock 9.2.0 kernel and as you can see it is showing that there is no kext loaded. Hope this helps.

Nik



But will it work if you add the Device ID 0x29c2 into the Info.plist of the AppleIntelGMA950.kext?
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 30, 2008, 9:00pm


Mar 30, 2008, 8:14pm, italo wrote:
ATI Radeon x600 (256 MB) (it is ritten in my signature)
On install I do not touch nothing (it's mean auto install by you) video is working only on one resolution and I do not have possibilities change it as well as do not have info about video card.


My advise is, if you can, sell the ATI x600 and buy a supported nVidia card. I recommend any 7600 256Mb. Support for the ATI x600 in OSx86 sucks from what I can see.

From what I can tell your mobo is PCI-E so swapping the gfx card is an option.

Re: How to make a 10.5.2 Install DVD + updates
Post by italo on Mar 30, 2008, 9:28pm

I think that I shall not change a card. I found the information that with Calisto 008 it is possible to correct a situation. Unfortunately to me it is difficulty. Thought that it is possible to register kext in installation and so to solve a problem?
Re: How to make a 10.5.2 Install DVD + updates
Post by fdidi on Mar 30, 2008, 9:45pm

I've tested the new version 7.2, Atheros WLAN and the new possibility to choose my favorite language works very well. Now it's the perfect Leo-Disk for me, thank you Ritalin!

Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 30, 2008, 9:45pm


Mar 30, 2008, 9:28pm, italo wrote:
I think that I shall not change a card. I found the information that with Calisto 008 it is possible to correct a situation. Unfortunately to me it is difficulty. Thought that it is possible to register kext in installation and so to solve a problem?


If you can send me a link to the information I will "try" and include it in the installation DVD.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 30, 2008, 9:47pm


Mar 30, 2008, 9:45pm, fdidi wrote:
I've tested the new version 7.2, Atheros WLAN and the new possibility to choose my favorite language works very well. Now it's the perfect Leo-Disk for me, thank you Ritalin!


Excellent ;D Can you post the specifications of you PC for my curiosity.
Re: How to make a 10.5.2 Install DVD + updates
Post by italo on Mar 30, 2008, 9:59pm

All info you can read in instalation file

http://www.mediafire.com/?eo2tjmojdmy


Re: How to make a 10.5.2 Install DVD + updates
Post by fdidi on Mar 30, 2008, 10:12pm

Of course, here my specifications:

Mainboard: ASUS P5B Deluxe
SATA: ICH8-R (AHCI enabled)
SATA/IDE: JMicron JMB363
CPU: Core2Duo 6300
Video: NVidia GeForce 7600GT (256MB)
Sound: ADI 1988b
Network: Marvell Yukon Ethernet 88E8001 and 88E8056
WLAN: TP-Link TL-WN651G
DVD: Samsung SH-S203B and LG GSA-H42L
RAM: 2GB
HD: Hitachi HDT725032VLA360 and SAMSUNG HD321KJ

F-Didi



Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Mar 31, 2008, 5:10pm


Quote:
All info you can read in instalation file

http://www.mediafire.com/?eo2tjmojdmy



I've had a quick look and it says it only supports Tiger 10.4.6

Have you tried searching for "Leopard x600" or "10.5 x600" at InsanelyMac if there is a solution it will most likely be on that forum somewhere.

Re: How to make a 10.5.2 Install DVD + updates
Post by italo on Mar 31, 2008, 8:55pm

I do not remember where, but I reeded that its work as well as with Leopard. Well, I go to another "searching" day, week ...... Thanks!
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Apr 1, 2008, 4:38pm


Mar 31, 2008, 8:55pm, italo wrote:
I do not remember where, but I reeded that its work as well as with Leopard. Well, I go to another "searching" day, week ...... Thanks!


I've done the searching for you and its bad news:
You are right to assume there is a OSX driver for the ATI x600, after all the x600 for a time was used in the Apple PPC iMac. In OSX it is the ATIRadeon9700GA extension that provides support for the x600 among other old ATI cards. Unfortunately with the introduction of Leopard the ATIRadeon9700GA extension is a PPC (Power PC) only binary (it will not work on x86 hardware). It seems in earlier versions of Tiger the Radeon9700GA extension was released as a fat binary containing both PPC an x86 code. So if you want to use this card with OSx86 you will have to choose a Tiger distribution. It is doubtful that any ATI cards prior to the x1000 series will ever work with OSx86 Leopard.

Re: How to make a 10.5.2 Install DVD + updates
Post by italo on Apr 1, 2008, 7:41pm

OK. Thank you for your great searching and "bad" news. It's mean that I have choice, or change video card or change "cats". :(
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Apr 1, 2008, 8:09pm


Apr 1, 2008, 7:41pm, italo wrote:
OK. Thank you for your great searching and "bad" news. It's mean that I have choice, or change video card or change "cats". :(


Tiger is a very nice operating system, in-fact I still run Tiger on one of my PCs. Unfortunately my patcher scritp is not designed to build a Tiger DVD. There are some good pre made Tiger DVDs via torrents.

If you change graphic card I strongly recommend nVidia with OSx86 as they are much easier to get working. Try and get a 7 series card with 256Mb of memory, 512Mb cards can be more difficult.
Re: How to make a 10.5.2 Install DVD + updates
Post by stlvnub on Apr 2, 2008, 3:27pm

I must say I like your V7.2.
Good to see the Restore Option back in.
Works great here.
Keep up the good work.

Re: How to make a 10.5.2 Install DVD + updates
Post by tek on Apr 2, 2008, 6:51pm

Hi ritalin,

I'm having some problems getting PS2 support even when selecting the PS2 option. Have you had problems with this before? Has anyone else who has used this script had this problem? I don't seem to have this problem with the Kalyway 10.5.1 install DVD that is out there, and I have even tried to apply the kext from that DVD to the ritalin installation.

Thanks.
Re: How to make a 10.5.2 Install DVD + updates
Post by netrogen on Apr 2, 2008, 7:28pm

Hi Ritalin, Cheers for your work with this. I'm on the first attempt using v7.2 but I can't get past an error I'm having. Everything goes well (make image, copy files etc) then I get:
Code:
Detaching original image...
This next stage could take several minutes...
hdiutil: makehybrid: attach of disk image failed: 109
hdiutil: makehybrid failed - internal error
That's the patched DVD image all done.
So let's tidy-up by unmounting all images and removing any temporary files we created.


Tried a few times but it always comes up with this, the patched iso is created but is obviously un-useable.

Any ideas?
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Apr 3, 2008, 4:56pm


Apr 2, 2008, 6:51pm, tek wrote:
Hi ritalin,

I'm having some problems getting PS2 support even when selecting the PS2 option. Have you had problems with this before? Has anyone else who has used this script had this problem? I don't seem to have this problem with the Kalyway 10.5.1 install DVD that is out there, and I have even tried to apply the kext from that DVD to the ritalin installation.

Thanks.


I use USB keyboard and mouse so I'm unable to test the PS2 support. Nobody has positively confirmed PS2 as working with this patch.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Apr 3, 2008, 5:06pm


Apr 2, 2008, 7:28pm, netrogen wrote:
Hi Ritalin, Cheers for your work with this. I'm on the first attempt using v7.2 but I can't get past an error I'm having. Everything goes well (make image, copy files etc) then I get:
Code:
Detaching original image...
This next stage could take several minutes...
hdiutil: makehybrid: attach of disk image failed: 109
hdiutil: makehybrid failed - internal error
That's the patched DVD image all done.
So let's tidy-up by unmounting all images and removing any temporary files we created.


Tried a few times but it always comes up with this, the patched iso is created but is obviously un-useable.

Any ideas?


Clueless I'm afraid, if I think of anything I will get back to you.
Re: How to make a 10.5.2 Install DVD + updates
Post by rals2007 on Apr 4, 2008, 8:12am

ritalin:

Hi again dude... as i said on my last post, your script installer is owesome!.

However, i noticed on console log that i have been recieving "jnl: flushing fs disk buffer returned 0x5"
on my log.

what seem to be the problem here?

Thanks!


Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Apr 4, 2008, 4:41pm


Apr 4, 2008, 8:12am, rals2007 wrote:
ritalin:

Hi again dude... as i said on my last post, your script installer is owesome!.

However, i noticed on console log that i have been recieving "jnl: flushing fs disk buffer returned 0x5"
on my log.

what seem to be the problem here?

Thanks!



Could be something or nothing, file system error. Try 'repair disk' and 'repair disk permissions ' in disk utility. Is it causing problems, slow disk access, system freezes etc...

Are you using SATA or PATA, the real deal uses SATA on Intel chipsets. Could be buggy drivers for non Apple hardware, just guessing.
Re: How to make a 10.5.2 Install DVD + updates
Post by rals2007 on Apr 4, 2008, 11:24pm

ritalin:

Im using PATA on my P4 2.88.

Actually, it's not causing problem as far as slow/freezes disk access are concern. Im just wondering why is it appearing on my log.

Anyway, its really a no big deal for me as long my system is stable. And the system now is VERY stable.

Thanks !
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Apr 5, 2008, 9:31am

OSx86_patcher_v7_3
Fixed-the makeBootable script, broken in previous version. :-[ You can now use this to set USB and FireWire drives bootable. Instead of burning the ISO onto a DVD do the following:

1) Mount the ISO using Disk Utility
2) Select the Restore Tab
3) Drag the mounted ISO volume into the "Source"
4) Drag the removable drive into the "Destination"
5) Tick the "Erase destination" box
6) Click restore
7) When Disk Utility is finished you can use the "makeBootable" script in "OSx86_patcher_v7_3" to set the removable drive as bootable.

"makeBootable" just needs the path to your removable drive as an argument.
Example:

Quote:
./makeBootable /Volumes/Mac\ OS\ X\ Install\ USB

Where "/Volumes/Mac\ OS\ X\ Install\ USB" is a USB stick named "Mac OS X Install USB".

Improved- The "Repair Permissions" package which executes at the end of the installation is now improved. It repairs the whole disk and not just the "Extensions" folder.

Changed- The method of installing the 10.5.2 Update and the GFX Update. The patch.sh script willl now take slightly longer to run. The updates are no longer applied using the command line installer from a post filght script. Instead, the script extracts both updates and combines them into a single package of standard format. This package can be installed in the normal manner by the GUI installer. This means the installer is slightly quicker and the estimated time to completion when the installer is run will be more accurate. I hope this fixes the problem some were experiencing of the GUI installer bombing out when it tries to instal 10.5.2 with command line installer. It should as it no longer performs this process.
Re: How to make a 10.5.2 Install DVD + updates
Post by lugmor on Apr 10, 2008, 10:12pm

Hi guys. Thanks for your hard work and give us a chance to make our costume Leopard DVD. I made my with vanilla kernel 9.2.0 and vanilla 9.2.2 with all kind of updates. My question is is there any manual how to make OSInstall.mpkg like in real Leopard install.
Thanks again for a great work and I hope that this project will go further then it is now.
See you soon guys.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Apr 11, 2008, 5:53am


Apr 10, 2008, 10:12pm, lugmor wrote:
Hi guys. Thanks for your hard work and give us a chance to make our costume Leopard DVD. I made my with vanilla kernel 9.2.0 and vanilla 9.2.2 with all kind of updates. My question is is there any manual how to make OSInstall.mpkg like in real Leopard install.
Thanks again for a great work and I hope that this project will go further then it is now.
See you soon guys.


This is the best guide I've seen on building packages. There is also a wealth of information at the Apple web site.

Development of this patcher has slowed down due to personal reasons. I don't have a lot of time to work on it at the moment. There is a improved version in the pipeline but I can't say how soon it will be before I'm finished. I'm hoping to make the thing interactive, you will be able to select the modifications made as the patcher is running. It is highly likely some one else will release a similar (better) product before mine is finished, we will have to see, but I intend to push on with this anyway.
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Apr 22, 2008, 7:28pm

I have done a little work on the patcher and I'm uploading to MediaFire as I type. I have completely re-jigged the thing so as to allow for my idea of interactively constructing the installer, although at the moment it still isn't that interactive. The /System/Library/Extensions.mkext that the installer uses to boot is now built by the patcher, in previous incarnations the Extensions.mkext was pre-assembled and included in the download (it was basically the same as the version used in the BrazilMac method). Doing it this way means the Extensions.mkext used by the installer is almost the same as the version used by the system it installs, all be it that the installer is version 10.5.0 and the system it installs is 10.5.2 (soon to be 10.5.3 we hope if psystar haven't screwed things up for us all). That is to say that the modifications made to the installers Extensions.mkext are the same modifications made to the Extensions.mkext of the system it installs. This means if the installer boots on your hardware then there is a very strong chance the system it installs will also boot.

There is shellscript in the postfilghts of some of the pkgs that I would rather not be using. It was made by Dense and is an absolute work of art. He hasn't given me permission to use the code so I feel bad about including it. When I get time I will write my own version (A pointless exercise as it is not so much the script which is genius but what the script does. I can write my own, less elegant and clumsy, code to perform the same action, but it would still be a rip off of original idea).

ah ha! finished uploading OSx86_patcher_v7.4 (Pretty much untested by me. These days I just can't be bothered. There is only so many times you can listen to the welcome tune before you go insane.)

EDIT: Major error in 7.4 a corrected version 7.5 will follow.
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Apr 22, 2008, 7:49pm

Once again Ritalin, thanks so much for all your hard work and for sharing it with us. I will certainly be giving this a go, probably at the weekend. That made me laugh when I read the bit about how many times you can listen to the welcome tune. The first time I heard it (well OK, the second) I was so impressed that I had managed to boot with sound into Leo!! Still gives me a little tingle when I hear it though, there again, doesn't take much to please me! ;)
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Apr 22, 2008, 8:04pm


Apr 22, 2008, 7:49pm, admin wrote:
Once again Ritalin, thanks so much for all your hard work and for sharing it with us. I will certainly be giving this a go, probably at the weekend. That made me laugh when I read the bit about how many times you can listen to the welcome tune. The first time I heard it (well OK, the second) I was so impressed that I had managed to boot with sound into Leo!! Still gives me a little tingle when I hear it though, there again, doesn't take much to please me! ;)


Well in this version (with a suitable card) the DVD Installer can boot with:
Core Image-Hardware Accelerated and Quartz Extreme-Supported, which is pretty if it works.
;)

Re: How to make a 10.5.2 Install DVD + updates
Post by bb on Apr 22, 2008, 9:30pm

Hello Ritalin,
If the Geforce 7900 GTO 512 Mb is a suitable card, then I will give a go next month. Congratz and thanks for the heavy work.
Re: How to make a 10.5.2 Install DVD + updates
Post by nikonnut on Apr 23, 2008, 12:33am

Rit,
like the extra options the patcher offers now. Very nice! I'm burning as we speak and I'll post back with my results. Gonna be a late night ;D A very big thank you for your efforts.

nik
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Apr 24, 2008, 9:10pm

Thanks to the diligent testing and feedback of nikonnut, I've spotted a major error in 7.4 that would cause countless problems. :-[
The error lays in the postinstall script of any of the pkgs that try to modify info.plists files. I will correct my mistake upload 7.5 probably tomorrow night.
Re: How to make a 10.5.2 Install DVD + updates
Post by nikonnut on Apr 26, 2008, 5:30pm

Rit,
Making the 7.5 disc as we speak. I'll have results in a bit. Thanks for the quick update.

EDIT: Looks like 7.5 is good to go. Running it as we speak and very happy. Thanks Rit!

Nik



Re: How to make a 10.5.2 Install DVD + updates
Post by cab1945 on Apr 27, 2008, 4:26pm

I made an install DVD using your V7.3 patcher. Installed, had to fix video and audio, for my hardware, works almost like a real Mac, boots in about 15 second from the time Darwin appears to full screen.
Thank You

cab1945


Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Apr 27, 2008, 7:32pm


Apr 27, 2008, 4:26pm, cab1945 wrote:
I made an install DVD using your V7.3 patcher. Installed, had to fix video and audio, for my hardware, works almost like a real Mac, boots in about 15 second from the time Darwin appears to full screen.
Thank You

cab1945



Welcome to the forum and thanks for the feedback.
Re: How to make a 10.5.2 Install DVD + updates
Post by fdidi on May 7, 2008, 2:26pm

ritalin,

with the version OSx86_patcher_v7.5 or the last versions before i only can boot with the boot_v8 in GRUB because there is no automatically EFI-install in my first partition with OSX (MBR partition scheme). If i try to boot OSX with GRUB without boot_v8 file, i get the message "Filesystem type unknown, partition type 0xaf".
But now i note, that the old OSx86_patcher_v2 install the EFI on the same partition correctly. I made no changes at my GRUB config, take the same partition and do exactly the same steps for installation.

There must be a difference between v2 and v7 for the automatically EFI-install, can you explain me, what i have to change back in v7?
Re: How to make a 10.5.2 Install DVD + updates
Post by rals2007 on May 13, 2008, 2:55am

ritalin:

v5 - released 21th March 2008
removed binary thinning from the Patch.sh script halving the run time of the script


*********
What is the disadvantage of having the image thin the binary?

and

Why i always recieve this error on every bootup "ATA Disk: Checksum Cookie not valid" ?

Thanks :)
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on May 13, 2008, 7:52pm


Quote:
What is the disadvantage of having the image thin the binary?
It takes longer and its just another thing to go wrong. If you can get OSX installed you can thin the binaries with an app like "Monolingual" if you so desire.


Quote:
Why i always recieve this error on every bootup "ATA Disk: Checksum Cookie not valid" ?
Sorry, I don't know the answer to that one. :-[


Quote:
There must be a difference between v2 and v7 for the automatically EFI-install, can you explain me, what i have to change back in v7?

Yes,
v5 and earlier: a postflight script of the chosen XNU package is used to set the target volume as bootable. The bless command is replaced by a dummy version that does nothing but echo any command sent to it.

v6 and later: The bless command is replaced with a complex script which sets the target volume as bootable.
Re: How to make a 10.5.2 Install DVD + updates
Post by fdidi on May 16, 2008, 11:35am


May 13, 2008, 7:52pm, ritalin wrote:
Yes,
v5 and earlier: a postflight script of the chosen XNU package is used to set the target volume as bootable. The bless command is replaced by a dummy version that does nothing but echo any command sent to it.

v6 and later: The bless command is replaced with a complex script which sets the target volume as bootable.


Thank you, that it is.
I extracted the postflight script of v2 to an own package, and copied the bless and the startupfiletool of v2 to v7 and now it works again.
Re: How to make a 10.5.2 Install DVD + updates
Post by rals2007 on May 19, 2008, 12:54am

ritalin:

It seems that the new Bless command does not work for me.

During install, i look at the log and saw an error while bless is executing.

"DF: not found"

Can you please assist regarding this matter.

Thanks.
Re: How to make a 10.5.2 Install DVD + updates
Post by stlvnub on Jun 1, 2008, 1:29am

Hi Ritalin,
Your patcher works great with the 10.5.3 update.
Just needs few changes in the script.

Great stuff...
Thanks so much

Re: How to make a 10.5.2 Install DVD + updates
Post by nikonnut on Jun 1, 2008, 1:49am

STLVNUB,
Glad to see it's working for someone else. A nice quick edit and it's good to go. Congrats and another BIG thanks to Rit.

Nik
Re: How to make a 10.5.2 Install DVD + updates
Post by tek on Jun 6, 2008, 3:24pm

Hi ritalin,

I'm trying to integrate the 10.5.3 combo update into your script and I wondered if you wouldnt mind sharing your latest source for creating the OSInstall.mpkg again.

Thanks very much!
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Jun 9, 2008, 8:30pm


Jun 6, 2008, 3:24pm, tek wrote:
Hi ritalin,

I'm trying to integrate the 10.5.3 combo update into your script and I wondered if you wouldnt mind sharing your latest source for creating the OSInstall.mpkg again.

Thanks very much!


My advice is to stick with 10.5.2 until the source code for Darwin 9.3 is released by Apple.

Having said that here is v8. The script for making the update package has changed to this:

Quote:
echo "\tNow we build the Update.pkg for use in our patched DVD."echo
echo "Note:"
echo "Updates MUST be installed in the correct order!"
echo
echo "For example:"
echo "LeopardGraphicsUpdate1.0.pkg updates a 10.5.2 system,"
echo "so it should be installed after MacOSXUpdCombo10.5.2.pkg"
echo
clean
mkdir -p "${basedir}"/pkgRoot
cd "${basedir}"/Apple_Update_PKGs
# User selects order to install updates
availableUpdates=$( ls "${basedir}"/Apple_Update_PKGs | fgrep .pkg )
while [ ! -z "$availableUpdates" ]
do
PS3='Select update to install: '
select selectedUpdate in `ls "${basedir}"/Apple_Update_PKGs | fgrep .pkg`
do
echo
full_file=${basedir}"/Apple_Update_PKGs/"$selectedUpdate
if [ ! -z "$selectedUpdate" ]; then
{
mkdir -p "${basedir}"/tempWork
cd "${basedir}"/tempWork
echo "Extracting "$selectedUpdate" into the tempWork directory."
xar -xf "${full_file}"
cd "${basedir}"/pkgRoot
payloadName=$( echo "$selectedUpdate" | sed 's/\.[^.]*$//' )
echo "Extracting the "$payloadName" payload into the pkgRoot directory."
pax -rzf "${basedir}"/tempWork/"$selectedUpdate"/Payload
cd "${basedir}"/Apple_Update_PKGs
rm -rf "${basedir}"/tempWork

mkdir -p "${basedir}"/Installed_Updates
mv ${basedir}"/Apple_Update_PKGs/"$selectedUpdate "${basedir}"/Installed_Updates
availableUpdates=$( ls "${basedir}"/Apple_Update_PKGs | fgrep .pkg )
echo
}
fi
break
done
done
# Put everything back in the original place
mv "${basedir}"/Installed_Updates/* ${basedir}"/Apple_Update_PKGs/"
rm -rf "${basedir}"/Installed_Updates


cd "${basedir}"

echo "Building the Update.pkg from the content of the pkgRoot directory."
echo "This stage could take several minutes."

"${basedir}"/Resources/PackageMaker.app/Contents/MacOS/PackageMaker -build -f "${basedir}"/pkgRoot/ -i "${basedir}"/Resources/Info.plist -p "${basedir}"/Resources/Update.pkg -ds -d "${basedir}"/Resources/Description.plist

echo
echo "Update.pkg complete."


It no-longer looks for a particular named update/updates, but will install whatever *.pkg you put in the Apple_Update_PKGs folder. Take note that you must install multiple updates in the correct order!

I've modified the mpkg so the kernels install the corresponding system.kext, so if you do use the 10.5.3 update and select the 10.5.2 sleep/speedstep kernel you also get the 10.5.2 system.kext. Haven't even run the script myself, so good luck. ;D

I'm not running 10.5.3 myself, still using 10.5.2, so no question re 10.5.3 not working please. ;D

Re: How to make a 10.5.2 Install DVD + updates
Post by rals2007 on Jun 10, 2008, 1:52am

Hi ritalin:

Having success on the latest version.

But one thing i noticed is, the HD bootup is so slow. looking at the log using "-v" flag, i see "iokitwaitquiet()" taking some time to load. about 15-20 seconds.
Everything works fine though.

My comp is P5K 2.4 C2D. 2gig ram
I hope there is a work around for this.

Thanks!
Re: How to make a 10.5.2 Install DVD + updates
Post by rals2007 on Jun 14, 2008, 11:54am

Solved!

Forgot to use the Dune's OATAfamily kext

Great Script!!

Thanks
Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Jun 14, 2008, 7:17pm


Jun 14, 2008, 11:54am, rals2007 wrote:
Solved!

Forgot to use the Dune's OATAfamily kext

Great Script!!

Thanks


I guess you mean the IOATAFamily.kext?

V8.1 coming soon, includes:
chameleon 1.0.11
bug fixes
tidier more compact script

Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Jun 29, 2008, 3:16pm

Okay, here is version 9 of the patcher.

Now using chameleon 1.0.11
Restore onto disk directly from the script (disk must be 3.8G or bigger)
New bless script
More compact patcher script

Still 10.5.2 (waiting for 10.5.3 kernels to emerge, source is now available from Apple).

Note: I have updated the first post in this thread!
Re: How to make a 10.5.2 Install DVD + updates
Post by admin on Jun 29, 2008, 3:50pm

Nice one Ritalin,

Fabulous work!
Re: How to make a 10.5.2 Install DVD + updates
Post by rals2007 on Jul 10, 2008, 2:34am

hi,
im just wondering the new version 9... where is the script that makes the USB boot?

Thanks


Re: How to make a 10.5.2 Install DVD + updates
Post by ritalin on Jul 10, 2008, 5:19pm


Jul 10, 2008, 2:34am, rals2007 wrote:
hi,
im just wondering the new version 9... where is the script that makes the USB boot?

Thanks



The patcher script should make the USB memory stick bootable:
plug in a suitable memory stick and run the patch script, select restore onto memory stick, select the memory stick from the list of available drives.
The patch script now does everything in one run:
modify the DVD image, format the memory stick, copy the modified image to the memory stick and make the memory stick bootable.
Only works with 10.5.2 on my 3.8 Gig stick, 10.5.3 or higher results in an image that is too large.
Re: How to make a 10.5.2 Install DVD + updates
Post by bigpoppa on Jul 20, 2008, 4:39am

Tried this last night, worked flawlessly! Total noob question, what all is changed along the way? I mean, if I wanted a 100% vanilla install from Apple, what gets changed in the process? I know ther kernal is different. right? Thanks.
Re: How to make a 10.5.4 Install DVD/USB stick
Post by ritalin on Jul 20, 2008, 6:00am

Just completed OSx86_patcher_v10.
The script is now compatible with the following packages:

MacOSXUpdCombo10.5.2 + LeopardGraphicsUpdate1.0
or
MacOSXUpdCombo10.5.3
or
MacOSXUpdCombo10.5.4

NOTE: Memory stick must be 3.8GB or larger.

Now using NVkush in place of NVinject for Nvidia compatibility. All ATI Kext included are untested.

Reintroduced thinning of FAT binaries in the following directories only:

/bin
/sbin
/usr/bin
/usr/sbin
/usr/libexec
/Applications

This had to be done to get the image down to less than 3.8GB. (Rosetta still works)

All original pkgs including the update pkgs are now merged into one monolithic hackintosh.pkg, this had to be done to get the image size down to less than 3.8GB. As a result the scrip now takes slightly longer to run, 46 mins on my hardware. (On the plus side the actual installer runs much quicker. 7 mins from blank hard drive to working OSx86 10.5.4 using the USB installer on my hardware.)

The instructions to run the script have changed, please read them.

Script must be run as root. Don't use sudo, su into root instead!

Here is the verbose output from a run of the v10 script:

Quote:
Last login: Sun Jul 20 05:32:30 on console
andys-mac-pro:~ andy$ su
Password:
sh-3.2# /Users/andy/Desktop/Patcher_project/OSx86_patcher_v10/OSx86_patcher_v10.sh

05:33:03
Running:
/Users/andy/Desktop/Patcher_project/OSx86_patcher_v10/OSx86_patcher_v10.sh

This script takes about 45 minutes to complete on a 1.87 GHz C2D system.

----------------------------------------------------------------------------
----------------------------------------------------------------------------

Please choose one of the following options:

1) Create an ISO image suitable for burning onto a DVD
2) Deploy the image directly onto a memory stick\hard drive
Enter your choice as a numeric value: 2

Searching for suitable disks...
("Read Only" disks and the current "Root" disk will not be listed!)
============================================================================
Device Identifier: Protocol: Device / Media Name:
Volume Name:
============================================================================
Disk0 ATA Hitachi HDT725025VLA380
Hitachi 1
Hitachi 2
Hitachi 3
----------------------------------------------------------------------------
Disk1 ATA SAMSUNG HD080HJ
MS_XP_PRO
FAT32
----------------------------------------------------------------------------
Disk3 USB SanDisk U3 Cruzer Micro Media
USB
----------------------------------------------------------------------------

On which disk should the image be deployed?
WARNING: This will erase all the volumes contained by the disk!

1) Disk0
2) Disk1
3) Disk3
4) Quit
Enter your choice as a numeric value: 3

Are you sure you wish to continue?
WARNING: This will erase all the volumes contained by Disk3!

1) Yes
2) Quit
Enter your choice as a numeric value: 1

----------------------------------------------------------------------------
05:33:30
Do you wish the bootable installer to use NVkush:
NVkush is a inject to support GeForce series VGA cards.

1) Install NVkush
2) Do not install NVkush
Enter your choice as a numeric value: 1

----------------------------------------------------------------------------
05:33:31
Please select from one of the available language packs:

1) Dutch 7) Brazilian Portuguese 13) German
2) Danish 8) Portuguese 14) Italian
3) Finnish 9) Simplified Chinese 15) Japanese
4) Polish 10) Spanish 16) Korean
5) Russian 11) Traditional Chinese 17) Norwegian
6) Swedish 12) French 18) English
Enter your choice as a numeric value: 18

----------------------------------------------------------------------------
05:33:34
You have made the following choices.

Deploy the image directly onto the following device: Disk3

WARNING: This will erase all the volumes contained by Disk3!

Install NVkush: Yes

Language choice: English

Are you sure you wish to continue?

1) Yes
2) Quit
Enter your choice as a numeric value: 1

----------------------------------------------------------------------------
05:33:36
Select the Apple update pkgs to install.

WARNING: Multiple updates MUST be installed in the correct order!

For example:
LeopardGraphicsUpdate1.0 updates a 10.5.2 system.
Therefore:
LeopardGraphicsUpdate1.0 should be installed after MacOSXUpdCombo10.5.2

** The SAFEST option is install ONLY the latest Combo update! **

1) MacOSXUpdCombo10.5.4.pkg
Select update to install: 1

Do you wish to include this package?

1) Yes
2) No
Enter your choice as a numeric value: 1


----------------------------------------------------------------------------
05:33:40
Mount the original DVD image
and a shadow image that we can modify.

The original DVD name is: Mac OS X Install DVD
So let's call the patched DVD: Mac OS X Install DVD Patched

Finished mounting original image.

----------------------------------------------------------------------------
05:33:45
Modify the shadow image.

Removing: X11 and Language Packs
Removing: Printer Packages
Removing: OSInstall.mpkg
Removing: Optional Installs
Removing: Instructions
Removing: Encrypted Kernel
Removing: EFI Boot Files
Removing: Power Management Files
Removing: Installer
installer: Package name is AppleAC97Audio
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is AppleACPIPlatform
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is AppleAHCIPort
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is AppleAzaliaAudio
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is AppleNForceATA
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is ApplePS2Controller
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is AppleSMBIOS1051
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is dsmos
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is Geforce
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is IO80211Family
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is IONetworkingFamily
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is JMicronATA
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is NVDANV40Hal
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is ACPIPS2Nub
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is AirPortAtheros5424
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is AppleAirPortBrcm4311
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is IOAHCIBlockStorage
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is AppleGenericPCATA
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is AppleIntelPIIXATA
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is AppleOnboardPCATA
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is AppleVIAATA
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is AppleBCM440XEthernet
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is AppleRTL8169Ethernet
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is AppleYukon2
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is Remove
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is otherFiles
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is XNU1051
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is newBless
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is Remove AppleThermal
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is Boot normal
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
installer: Package name is nVidia NVkush
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.
Replacing: OSInstall.mpkg
Removing: "/Library/Backup" to free up some space.

----------------------------------------------------------------------------
05:36:04
Create a base install system from the pkgs on the original DVD.

installer: Package name is BaseSystem
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is Essentials
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is BSD
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is iPodSupport
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is PodcastCapture
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is Directory
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is JavaTools
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is AdditionalEssentials
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is AsianLanguagesSupport
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is MediaFiles
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is MigrationAssistant
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is Mail
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is AddressBook
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is iCal
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is Automator
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is DVDPlayer
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is iTunes
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is iChat
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is Java
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is Safari
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is OxfordDictionaries
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.

----------------------------------------------------------------------------
05:43:11
Apply Apple updates to the base install.

MacOSXUpdCombo10.5.4.pkg
installer: Package name is Mac OS X Update Combined
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.

----------------------------------------------------------------------------
05:45:32
Striping PPC code from the base install.

installer: Package name is StripPPC
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.

----------------------------------------------------------------------------
05:46:14
Apply ACLs to the updated base install.

installer: Package name is ACL
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.
installer: Package name is OSInstall
installer: Installing at base path /Volumes/pkgRoot
installer: The install was successful.

----------------------------------------------------------------------------
05:47:01
Build a Hackintosh package using the updated base install.

Please be patient as this package will be over 2GB in size.
This stage takes about 20 minutes on a 1.87 GHz C2D system.

Generating installer package: Hackintosh.pkg

Preparing package archive ...
Done

Creating package archive ...
Done

Copying BundleVersions.plist file ...
Done

Copying info file ...
Done

Copying Description.plist file ...
Done

Generating bom file ...
Done

Generating sizes file ...
Number of Files 190458
Compressed Size 2261599
Info Size 8
Bom Size 35864
Installed Size 5867367
Done

Copying Info.plist file ...
Done

Finished generating installer package: Hackintosh.pkg

----------------------------------------------------------------------------
06:05:06
Continuing to modify the shadow image.

Disabling: Dynamic Pager
Disabling: mDNSResponder

Striping PPC code form shadow image.
installer: Package name is StripPPC
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.

Reparing Permissions on the shadow image.
installer: Package name is Repair Permissions
installer: Installing at base path /Volumes/Mac OS X Install DVD
installer: The install was successful.

Waiting: for kextcache to become idle.
..................................
Updating: mkext cache.
Updating: kext repository cache.
Waiting: for kextcache to become idle.
...............

Finished modifing the shadow image.

----------------------------------------------------------------------------
06:06:46
Format our selected disk.

Started partitioning on disk disk3
Creating partition map
Formatting disk3s1 as Mac OS Extended (Journaled) with name Patched_Image
[ + 0%..10%..20%..30%..40%..50%..60%..70%..80%..90%..100% ]
Finished partitioning on disk disk3
/dev/disk3
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *3.8 Gi disk3
1: Apple_HFS Patched_Image 3.8 Gi disk3s1

Finished formating disk.

----------------------------------------------------------------------------
06:06:56
Copy the shadow image we made earlier.

Validating target...done
Validating source...done
Erasing target device /dev/disk3s1...done
Validating sizes...done
Copying ....10....20....30....40....50....60....70....80....90....100

Volume on disk3s1 renamed to Patched_Image

Finished copying the hybrid image.

----------------------------------------------------------------------------
06:18:50
Detach the original image.

Finished detaching original image.

----------------------------------------------------------------------------
06:18:52
Make the volume "Patched_Image" bootable.

You may be asked to enter the password for the superuser "Root".

Install chameleon's stage 0 bootloader.
Done

Install chameleon's stage 1 bootloader.
2+0 records in
2+0 records out
1024 bytes transferred in 0.013818 secs (74106 bytes/sec)
Done

Install chameleon's stage 2 bootloader.
Done

Finished making "Patched_Image" bootable.

----------------------------------------------------------------------------
06:18:58
That's the script nearly done.

Unmounting all images and
removing any temporary files that were created by this script.

Finished tidying up.

----------------------------------------------------------------------------
06:18:59
All done!
sh-3.2#






Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Jul 20, 2008, 9:59am

Hello Ritalin,
Very Nice Work.
Just trying it out now with some modifications.

Incorporating DFE boot loader For Near Virgin Installs.

Back in a while.
DFE works GREAT!!!


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Jul 20, 2008, 1:42pm


Jul 20, 2008, 9:59am, stlvnub wrote:
Hello Ritalin,
Very Nice Work.
Just trying it out now with some modifications.

Incorporating DFE boot loader For Near Virgin Installs.

Back in a while.
DFE works GREAT!!!


Stlvnub, tell me more.
What modification did you have to perform?
Are they specific to your hardware?
Do you use DFEs latest bootloader on the HD or just the installer disk?


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Jul 20, 2008, 7:16pm

Hi Rits, gave this a go - very smooth install too. The only thing I noticed was that my airport card was not working which is supported natively. I swapped in the 2 std kexts from 10.5.4: IO80211Family.kext & AppleAirport.kext and things were up and running again (don't know what happened there?). Fantastic work, I like the sound of DFE's bootloader too!
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Jul 20, 2008, 7:37pm


Jul 20, 2008, 7:16pm, admin wrote:
Hi Rits, gave this a go - very smooth install too. The only thing I noticed was that my airport card was not working which is supported natively. I swapped in the 2 std kexts from 10.5.4: IO80211Family.kext & AppleAirport.kext and things were up and running again (don't know what happened there?). Fantastic work, I like the sound of DFE's bootloader too!


It's the IO80211Family.pkg that's installed by default by the patcher, it replaces the IO80211Family.kext with one from 10.4.8 OSX. Reason being it's supposed to resolve hanging problems with Atheros wireless cards. I should change that into an optional install in future versions. Also two IO80211Family plugins; AppleAirPortBrcm4311.kext and AirPortAtheros5424.kext have their plists altered so as to match more hardware, but I don't think that would cause the problem. It will be the older IO80211Family.kext that was causing the problem I guess.

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Jul 20, 2008, 7:47pm

To anyone wishing to add their own pkg to support a particular hardware config. Add your pkg file into the patcher "Apple_Update_PKGs" folder. The pkg will appear in the list here when you run the script.

Quote:
----------------------------------------------------------------------------
05:33:36
Select the Apple update pkgs to install.

WARNING: Multiple updates MUST be installed in the correct order!

For example:
LeopardGraphicsUpdate1.0 updates a 10.5.2 system.
Therefore:
LeopardGraphicsUpdate1.0 should be installed after MacOSXUpdCombo10.5.2

** The SAFEST option is install ONLY the latest Combo update! **

1) MacOSXUpdCombo10.5.4.pkg
Select update to install: 1

Do you wish to include this package?

1) Yes
2) No
Enter your choice as a numeric value: 1

----------------------------------------------------------------------------

But make sure you select the MacOSXUpdCombo update first otherwise the combo update may overwrite what ever files your pkg installs. I haven't tried this myself but I guess it should work.

Edit: There is a flaw in my thinking here! It is quite possible that any kext etc... that your pkg contains could be over written by the generic compatibility pkgs that will be installed later in the progress of the installation. :-[ I will have a think about this and try and come up with a better solution.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Jul 21, 2008, 6:13pm


Jul 20, 2008, 1:42pm, ritalin wrote:

Jul 20, 2008, 9:59am, stlvnub wrote:
Hello Ritalin,
Very Nice Work.
Just trying it out now with some modifications.

Incorporating DFE boot loader For Near Virgin Installs.

Back in a while.
DFE works GREAT!!!


Stlvnub, tell me more.
What modification did you have to perform?
Are they specific to your hardware?
Do you use DFEs latest bootloader on the HD or just the installer disk?



For modifications I comment out a lot of stuff.
Basically just want Near Virgin SL disk.

Testing a few things, really want to use DFE as the cdloader for the DVD, so am mucking around with loaders.

Actually had DFE loading in VMFusion but it crashed.
Probably due to it being too big (68k) for el-torito specs.
Didn't try it for real.

Easy way to make DVD bootable with DFE is do a merged burn with toast.
Dfe iso and Install dmg.

I mainly use USB for booting as its also my installer
and has partedmagic and memtest on it as well, with nice menu.

This way I can select different initrd for testing etc.

Installs in under 10 minutes from usb.
Seems to be faster than dvd.

Very handy Tool my 8gig USB key.

Hardware wise for p5b I have everything in initrd EXCEPT azalia as that DON'T seem to work.

Updated straight from 10.5.0 to 10.5.4 from Software Updates and NO DRAMAS.
Best this machine has ever run.
Great stuff.

Will keep you posted on any further developments.







Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Jul 21, 2008, 9:23pm


Jul 21, 2008, 6:13pm, stlvnub wrote:

For modifications I comment out a lot of stuff.
Basically just want Near Virgin SL disk.

Testing a few things, really want to use DFE as the cdloader for the DVD, so am mucking around with loaders.

Actually had DFE loading in VMFusion but it crashed.
Probably due to it being too big (68k) for el-torito specs.
Didn't try it for real.

Easy way to make DVD bootable with DFE is do a merged burn with toast.
Dfe iso and Install dmg.

I mainly use USB for booting as its also my installer
and has partedmagic and memtest on it as well, with nice menu.

This way I can select different initrd for testing etc.

Installs in under 10 minutes from usb.
Seems to be faster than dvd.

Very handy Tool my 8gig USB key.

Hardware wise for p5b I have everything in initrd EXCEPT azalia as that DON'T seem to work.

Updated straight from 10.5.0 to 10.5.4 from Software Updates and NO DRAMAS.
Best this machine has ever run.
Great stuff.

Will keep you posted on any further developments.







So what you want basically is just to edit the OSInstall.mpkg to remove the hardware checks, remove the non essential PKGs (so it fits on a SL DVD), remove any reference in the OSInstall.mpkg to said PKGs?
You aren't interested in rolling Apple updates into the DVD and you would rather use software update after installation?
You don't want to alter/edit/delete/add kext in the extensions folder on the DVD, or on the HD after installation?

Presumably to allow this to work you must somehow be using DFEs latest loader on the DVD and HD with a /Extra/Extensions/ folder containing the required modified/additional kext? This would allow you to use software update as it will not break the /Extra/Extensions/ folder (Obviously, Apple could release a future update that would break this, but hopefully they won't).

Is this about right?

In addition to this you want the option of having the SL DVD bootable installer incorporated into your 8GB mem stick. The mem stick is multi boot and includes tools such as; partedmagic etc...

If the DFE boot works like I hope then all the above could easily be created automatically in a shellscript. It shouldn't be to difficult to make the script linux compatible as a bonus.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by tek on Jul 22, 2008, 2:22pm

Hi ritalin,

Thanks for your v10 patcher, but I have a problem.

I'm using an original DMG of OSX 10.5 and I added the 10.5.4 combo update package.

I've been using your patchers since v5 and haven't had any real problems.

With v10, I've created an iso image successfully, but after burning the ISO and installing the OS is installed I get an error after first POST:

boot1: error

I also tried making the hard drive/USB install with the same results.

Just wondering if you've experienced this before or if anyone else who has tried v10 has experienced this.

Thanks.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Jul 22, 2008, 7:56pm


Jul 22, 2008, 2:22pm, tek wrote:
Hi ritalin,

Thanks for your v10 patcher, but I have a problem.

I'm using an original DMG of OSX 10.5 and I added the 10.5.4 combo update package.

I've been using your patchers since v5 and haven't had any real problems.

With v10, I've created an iso image successfully, but after burning the ISO and installing the OS is installed I get an error after first POST:

boot1: error

I also tried making the hard drive/USB install with the same results.

Just wondering if you've experienced this before or if anyone else who has tried v10 has experienced this.

Thanks.

You could try this updated boot1h posted by ZEF, the creator of the Chameleon bootloader.


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Jul 22, 2008, 9:41pm

Hi Ritalin,

I have tried adding this collection of packages to my version 10 install disk but, whilst the disk was made fine and the DVD installed, none of my packages did. This is probably cos I did not make the packages right. If you get a spare minute, would you mind taking a look please.

Cheers.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by tek on Jul 23, 2008, 3:49am


Jul 22, 2008, 7:56pm, ritalin wrote:

Jul 22, 2008, 2:22pm, tek wrote:
Hi ritalin,

Thanks for your v10 patcher, but I have a problem.

I'm using an original DMG of OSX 10.5 and I added the 10.5.4 combo update package.

I've been using your patchers since v5 and haven't had any real problems.

With v10, I've created an iso image successfully, but after burning the ISO and installing the OS is installed I get an error after first POST:

boot1: error

I also tried making the hard drive/USB install with the same results.

Just wondering if you've experienced this before or if anyone else who has tried v10 has experienced this.

Thanks.

You could try this updated boot1h posted by ZEF, the creator of the Chameleon bootloader.



I tried it again as a HD install. I got the same error with the other boot1h.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Jul 23, 2008, 6:14am


Jul 22, 2008, 9:41pm, admin wrote:
Hi Ritalin,

I have tried adding this collection of packages to my version 10 install disk but, whilst the disk was made fine and the DVD installed, none of my packages did. This is probably cos I did not make the packages right. If you get a spare minute, would you mind taking a look please.

Cheers.

Anything you wish to add to the install needs wrapping up in a pkg in the correct format. The content of the pkg needs to be laid out in a manner as it will be once installed. Also the permissions of the content needs to be correct. Easiest way to build a pkg is to use an older version of Package Maker, v10 of my script no longer uses PackageMaker so it is no longer included in the download. The PackageMaker app you need is in V9 so DL that and just keep the PackageMaker app.
If I have time tonight I will build a package for you.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Jul 23, 2008, 6:20am


Jul 23, 2008, 3:49am, tek wrote:

I tried it again as a HD install. I got the same error with the other boot1h.


Can you install the boot loader manually? If so I would try both PC_EFI_V8 and Chameleon. It's certainly a boot loader problem. Earlier versions of my script used PC-EFI and as you say they worked, so manually installing PC_EFI may fix the boot error.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Jul 23, 2008, 8:26pm


Jul 21, 2008, 9:23pm, ritalin wrote:

So what you want basically is just to edit the OSInstall.mpkg to remove the hardware checks, remove the non essential PKGs (so it fits on a SL DVD), remove any reference in the OSInstall.mpkg to said PKGs?
You aren't interested in rolling Apple updates into the DVD and you would rather use software update after installation?
You don't want to alter/edit/delete/add kext in the extensions folder on the DVD, or on the HD after installation?

Presumably to allow this to work you must somehow be using DFEs latest loader on the DVD and HD with a /Extra/Extensions/ folder containing the required modified/additional kext? This would allow you to use software update as it will not break the /Extra/Extensions/ folder (Obviously, Apple could release a future update that would break this, but hopefully they won't).

Is this about right?

In addition to this you want the option of having the SL DVD bootable installer incorporated into your 8GB mem stick. The mem stick is multi boot and includes tools such as; partedmagic etc...

If the DFE boot works like I hope then all the above could easily be created automatically in a shellscript. It shouldn't be to difficult to make the script linux compatible as a bonus.


I like the updates thats why I've modded your V10.(Still Testing)
Have made an Installer from scratch.(Testing)

Very easy to get DFE to boot on HD.
Testing NATIVE DFE BOOT ON DVD. Appears to be working!!!
No need for Isolinux/Syslinux/Initrd.img (OK for USB Toolbox though)

Mem stick is already done.

A Virgin DVD script/pack from you would be great thogh.

Get back to you shortly, trying out a V10 with NATIVE DFE.



Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Jul 24, 2008, 7:27am

Woot!!!
It worked.
boy THAT was EASY!!

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by tek on Jul 24, 2008, 5:30pm


Jul 23, 2008, 6:20am, ritalin wrote:

Jul 23, 2008, 3:49am, tek wrote:

I tried it again as a HD install. I got the same error with the other boot1h.


Can you install the boot loader manually? If so I would try both PC_EFI_V8 and Chameleon. It's certainly a boot loader problem. Earlier versions of my script used PC-EFI and as you say they worked, so manually installing PC_EFI may fix the boot error.


Hi ritalin.

I am aware that it is a bootloader issue. I also know how to fix it. I was just mentioning it so that you can check your script and see why it's doing that. I hope I'm not the only one experiencing this with your v10 script. As I've said I tried it with a DVD and a HD install and both had the same issue.

Can anyone else confirm?
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Jul 27, 2008, 8:19am

Just completed v10.1 of OSx86_patcher.

Now includes User update option:
To anyone wishing to add their own pkg to support a particular hardware config. Add your pkg file into the patcher "User_Update_PKGs" folder. The pkg will appear in the options list when you run the script.
As an example I have included a pkg which installs the ~pcwiz OSx86 Tools Utility.


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Jul 28, 2008, 6:49pm


Jul 27, 2008, 8:19am, ritalin wrote:
Just completed v10.1 of OSx86_patcher.

Now includes User update option:
To anyone wishing to add their own pkg to support a particular hardware config. Add your pkg file into the patcher "User_Update_PKGs" folder. The pkg will appear in the options list when you run the script.
As an example I have included a pkg which installs the ~pcwiz OSx86 Tools Utility.



Well v10.1 sucked, I forgot to put AppleSMBIOS in the install package. :-[ Here is a fixed version v10.2 with the AppleSMBIOS in place.

I have changed how the script sorts the update pkgs from this:
Quote:
availableUpdates=$( ls "${basedir}"/Apple_Update_PKGs | fgrep .pkg ) # User selects order to install updates
count=0
while [ ! -z "$availableUpdates" ] #The -z operator means “is this an empty string?”
do
echo; printf '\a'
PS3='Select update to install: '
select selectedUpdate in `ls "${basedir}"/Apple_Update_PKGs | fgrep .pkg`
do
echo
if [ ! -z "$selectedUpdate" ]; then
{
echo "\tDo you wish to include this package?"
echo; printf '\a'
PS3='Enter your choice as a numeric value: '
select Confirm in "Yes" "No"
do
case "$Confirm" in
"") echo "Hit Enter to see menu again!";continue ;;
Yes) count=$((count+1));packArray3[${count}]="${selectedUpdate}"; break ;;
*) break ;;
esac
done
mkdir -p "${basedir}"/Installed_Updates
mv "${basedir}"/Apple_Update_PKGs/"${selectedUpdate}" "${basedir}"/Installed_Updates
availableUpdates=$( ls "${basedir}"/Apple_Update_PKGs | fgrep .pkg )
echo
}
fi
break
done
done
cd "${basedir}"
mv "${basedir}"/Installed_Updates/* "${basedir}"/Apple_Update_PKGs/ # Put everything back in the original place
rm -rf "${basedir}"/Installed_Updates
to this:
Quote:
unset tempPackArray
count=0
for updateName in `ls "${basedir}"/Apple_Update_PKGs | fgrep .pkg`
do
tempPackArray[${count}]="${updateName}";count=$((count+1))
done

count=0
while [ $count -le ${#tempPackArray[*]} ]
do
echo; printf '\a'
PS3='Select update to install: '
select selectedUpdate in ${tempPackArray[*]}
do
break
done

if [ "$selectedUpdate" = "" ]; then
echo "Invalid choice!"
else
{
echo;echo "\tAre you sure wish to include ${selectedUpdate}?"
echo; printf '\a'
PS3='Enter your choice as a numeric value: '
select a in "Yes" "No"
do
break
done

if [ "$a" = "" ]; then
echo "Invalid choice!"
else
{
case "$a" in
"Yes") packArray2[${count}]="${selectedUpdate}";;
"No") ;;
esac

count=$((count+1))
cnt=100
for (( i = 0 ; i < cnt ; i++ ))
do
if [ "${tempPackArray[$i]}" = "${selectedUpdate}" ]; then
{
unset tempPackArray[$i]
}
fi
done
}
fi
}
fi
done
Instead of moving the pkgs around the hard drive its all done using arrays in memory.

I've also changed how the script determines the name of the original disk image from this:
Quote:
mkdir -p work
ls -1 "/Volumes" >work/volumescan.before # Creating a list of volume names before mounting the original DVD image and storing the list in the temporary work directory.
hdiutil attach "${origDMGPath}" -shadow "${shadDMGPath}" -readwrite -owners on -nobrowse -noverify -quiet # Now we mount the original DVD image.
ls -1 "/Volumes" >work/volumescan.after # Create a new list of volume names.
origVolName=`diff -d "work/volumescan.before" "work/volumescan.after" | tail -1 | cut -b 3-` # By comparing the two lists we find the name of the original DVD image.
echo "The original DVD name is: $origVolName"
patchVolName="${origVolName} Patched"
echo "So let's call the patched DVD: $patchVolName"
origVolPath="/Volumes/${origVolName}"
ln -s "${origVolPath}" /symLinkOrigVolPath # /symLinkOrigVolPath is a symbolic_link to "/Volumes/${origVolName}"
symLinkOrigVolPath="/symLinkOrigVolPath"
echo; echo "Finished mounting original image."
to this:
Quote:
unset fileNameArrayBefore # Creating a list of volume names before mounting the original DVD image.
count=0
for fileName in /Volumes/*; do
fileName=`echo "${fileName}" | sed 's/\/Volumes\///'`
fileNameArrayBefore[${count}]="${fileName}"
count=$((count+1))
done

hdiutil attach "${origDMGPath}" -shadow "${shadDMGPath}" -readwrite -owners on -nobrowse -noverify -quiet # Now we mount the original DVD image.

unset fileNameArrayAfter # Create a new list of volume names.
count=0
for fileName in /Volumes/*; do
fileName=`echo "${fileName}" | sed 's/\/Volumes\///'`
fileNameArrayAfter[${count}]="${fileName}"
count=$((count+1))
done

cnt=${#fileNameArrayAfter[*]}
for (( i = 0 ; i < cnt ; i++ )) # By comparing the two arrays we find the name of the original DVD image.
do
if [ "${fileNameArrayAfter[$i]}" != "${fileNameArrayBefore[$i]}" ]; then
{
origVolName=${fileNameArrayAfter[$i]}
i=${#fileNameArrayAfter[*]}
}
fi
done

echo "The original DVD name is: $origVolName"
patchVolName="${origVolName} Patched"
echo "So let's call the patched DVD: $patchVolName"
origVolPath="/Volumes/${origVolName}"
ln -s "${origVolPath}" /symLinkOrigVolPath # /symLinkOrigVolPath is a symbolic_link to "/Volumes/${origVolName}"
symLinkOrigVolPath="/symLinkOrigVolPath"
echo; echo "Finished mounting original image."
Again I have used two arrays instead of writing two files to the hard drive.

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Jul 28, 2008, 9:03pm


Jul 22, 2008, 9:41pm, admin wrote:
Hi Ritalin,

I have tried adding this collection of packages to my version 10 install disk but, whilst the disk was made fine and the DVD installed, none of my packages did. This is probably cos I did not make the packages right. If you get a spare minute, would you mind taking a look please.

Cheers.


Here is a package that I made using the files you provided.
Hope it works okay. Just unzip it and put the pkg in the "User_Update_PKGs" folder next to the v10.2 script.
The pkg is applied to the final install and not the DVD/USB drive. If you what the DVD/USB to use the files then just let me know.


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Jul 28, 2008, 9:05pm


Jul 24, 2008, 7:27am, stlvnub wrote:
Woot!!!
It worked.
boy THAT was EASY!!


Do share the info. So what did you do?
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Jul 29, 2008, 2:01am


Jul 28, 2008, 9:05pm, ritalin wrote:


Do share the info. So what did you do?


Can BOOT DVD just using Modded DFE Bootloader.
No need for DFE ISO/Disk swapping.
Takes a while to load though.

Your 10.1 is very nice.
Using it now (modded) for my tests.

A few things though.

Would like to see it give a choice to keep the
hackintosh.pkg instead of rebuilding it all the time.

Selectable Pcefi/Chameleon/Dfe-Chameleon Loader
For DVD/HD

Option for Hack OR Virgin DVD, probably incorporated
when you select which loader you want.

Thats about it for now.
Thanks and keep up the GREAT work.
Later...







Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Jul 29, 2008, 3:00am

Hey Ritalin, thanks a bunch! I have been trying out 10.1 and 10.2 yesterday - very smooth indeed - I will now try with the package you made!

One thing, when I enter su and my password I get "sorry" and you do not have the required permissions. When I enter sudo su it actually works. what am I doing wrong?

Once again thanks!
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by tek on Jul 29, 2008, 5:59am


Jul 29, 2008, 3:00am, admin wrote:
Hey Ritalin, thanks a bunch! I have been trying out 10.1 and 10.2 yesterday - very smooth indeed - I will now try with the package you made!

One thing, when I enter su and my password I get "sorry" and you do not have the required permissions. When I enter sudo su it actually works. what am I doing wrong?

Once again thanks!


You may need to enable the root user. I had the same problem until I followed this guide:

http://support.apple.com/kb/HT1528?viewlocale=en_US
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Jul 29, 2008, 6:52am

Thanks Tek,

I will give that a go.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Jul 29, 2008, 6:14pm

Aquamac, yeah Tek is probably correct, one of the first things I do after a clean install is enable the root user.

The problem I had running the script using sudo was as follows:
Sudo has a time limit as to how long the user can assume root privileges. After that limit has expired the user needs to re enter their password. The time limit was expiring before my script completed, so some of the later commands in the script were being run as an ordinary user. Using the su command to actually become the root user solved the problem for me, but the root user needs to be enabled before you can use su to become root.

Once you have enabled the root user and assigned a password to root, then you can become root in a terminal by typing su at the command prompt, hit return, enter the root password and the command prompt will change to a # sign. Your in, you can now run the patcher script and it will be able to do it's important work!

The alternative was to prompt for you password mid way through the script, but I thought that idea sucked.

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Jul 29, 2008, 9:01pm

Hi Ritalin,

Yup that did the trick. I had a go with 10-2 today and the package you sent me. After booting yours had the same problem as mine, in as much as the com.apple.boot.plist does not take effect. I have tried many ways and made packages that work fine if you install them ordinarily from the desktop. Any ideas?
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Jul 30, 2008, 5:33am


Jul 29, 2008, 9:01pm, admin wrote:
Hi Ritalin,

Yup that did the trick. I had a go with 10-2 today and the package you sent me. After booting yours had the same problem as mine, in as much as the com.apple.boot.plist does not take effect. I have tried many ways and made packages that work fine if you install them ordinarily from the desktop. Any ideas?

Selecting boot normal or boot safe in the other options section will replace your com.apple.boot.plist. Just uncheck both options and your com.apple.boot.plist should then be left in place.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Jul 30, 2008, 9:18am

Hi Rits,

Well that didn't work, but not to worry. How do you get rid if the orange icons for the HDD's
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by tek on Jul 30, 2008, 2:59pm


Jul 30, 2008, 9:18am, admin wrote:
Hi Rits,

Well that didn't work, but not to worry. How do you get rid if the orange icons for the HDD's


You most likely will need to replace:

AppleAHCIPort.kext
IOAHCIFamily.kext
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Jul 30, 2008, 3:18pm

Hmm, tried that already but it did not work - strange. Anyone else having this issue?
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by tek on Jul 30, 2008, 4:50pm


Jul 30, 2008, 3:18pm, admin wrote:
Hmm, tried that already but it did not work - strange. Anyone else having this issue?


Strange that it didn't work. It does for me on my hardware (Asus P5W DH Deluxe).
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Jul 30, 2008, 5:38pm

I have a P5E3 so essentially they are the same. Thanks tek, I'll give it another go.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by bigpoppa on Jul 31, 2008, 12:38am


Jul 30, 2008, 2:59pm, tek wrote:

Jul 30, 2008, 9:18am, admin wrote:
Hi Rits,

Well that didn't work, but not to worry. How do you get rid if the orange icons for the HDD's


You most likely will need to replace:

AppleAHCIPort.kext
IOAHCIFamily.kext

If I remember correctly, there is a BIOS setting that changes this too.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Jul 31, 2008, 6:07am

Right,
It did not work any other way, but by using the terminal you can do this:

sudo -s

<password> enter

mv /System/Library/Extensions/IOStorageFamily.kext/Contents/Resources/External.icns /System/Library/Extensions/IOStorageFamily.kext/Contents/Resources/External.icns.back

Then hit return

cp /System/Library/Extensions/IOStorageFamily.kext/Contents/Resources/Internal.icns /System/Library/Extensions/IOStorageFamily.kext/Contents/Resources/External.icns

Then hit return

chown -R root:wheel /System/Library/Extensions/IOStorageFamily.kext
chmod -R 755 /System/Library/Extensions/IOStorageFamily.kext

Then Reboot and you will get your regular HDD Icons.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by tek on Jul 31, 2008, 8:10pm


Jul 31, 2008, 6:07am, admin wrote:
Right,
It did not work any other way, but by using the terminal you can do this:

sudo -s

<password> enter

mv /System/Library/Extensions/IOStorageFamily.kext/Contents/Resources/External.icns /System/Library/Extensions/IOStorageFamily.kext/Contents/Resources/External.icns.back

Then hit return

cp /System/Library/Extensions/IOStorageFamily.kext/Contents/Resources/Internal.icns /System/Library/Extensions/IOStorageFamily.kext/Contents/Resources/External.icns

Then hit return

chown -R root:wheel /System/Library/Extensions/IOStorageFamily.kext
chmod -R 755 /System/Library/Extensions/IOStorageFamily.kext

Then Reboot and you will get your regular HDD Icons.


I'm not sure if this matters or not, but your drives may still show up under Disk Utility as external drives which is the reason why they show up as orange icons. Simply changing the icons may still cause them to be treated as external drives. In the end I don't think it matters really.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Aug 2, 2008, 7:53pm

Just completed v10.3 of OSx86_patcher.

Now includes user pkg's option that actually works:
To anyone wishing to add their own pkg to support a particular hardware config. Add your pkg file into the patcher "User_Update_PKGs" folder. The pkg will appear in the options list when you run the script. As an example I have included a pkg which installs the ~pcwiz OSx86 Tools Utility. The problem with user pkg's option in v10.2 was caused by poorly constructed "for loops".

Also fixed the hidden folders problem. As pointed out by nikonnut /etc, /var, and /tmp were visible in systems built with v10.2 patcher. They are now correctly hidden.

As requested by STLVNUB,
Quote:
"Would like to see it give a choice to keep the
hackintosh.pkg instead of rebuilding it all the time."
when deploying to a HD the DMG image is saved in the /Disk_Images folder. You can now mount the image and extract the hackintosh.pkg if you so wish. To achieve this I used "hdiutil create -srcfolder source destination -quiet". The bonus side effect is -srcfolder copies file by file, creating a fresh (theoretically defragmented) filesystem on the destination image (less space required on the target disk).
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Aug 3, 2008, 1:37am

Just trying your latest versions.
Looks good.
Just a suggestion concerning your languages selection.
Have done a bit of a cleanup, hope you don't mind.

select a in "Dutch" "Danish" "Finnish" "Polish" "Russian" "Swedish" "BrazilianPortuguese" "Portuguese" "SimplifiedChinese" "Spanish" "TraditionalChinese" "French" "German" "Italian" "Japanese" "Korean" "Norwegian" "English"
do
case "$a" in
"Dutch" ) break ;;
"Danish" ) break ;;
"Finnish" ) break ;;
"Polish" ) break ;;
"Russian" ) break ;;
"Swedish" ) break ;;
"BrazilianPortuguese" ) break ;;
"Portuguese" ) break ;;
"SimplifiedChinese" ) break ;;
"Spanish" ) break ;;
"TraditionalChinese" ) break ;;
"French" ) break ;;
"German" ) break ;;
"Italian" ) break ;;
"Japanese" ) break ;;
"Korean" ) break ;;
"Norwegian" ) break ;;
"English" ) break ;;
"") echo You must select one of the above! ;;
esac
done
languageChoice="$a"

Just makes it a bit smaller and cleaner.
Didn't think there was a need for all the languagechoice=
Works ok.

Keep up the GOOD work.

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Aug 3, 2008, 4:56am


Aug 3, 2008, 1:37am, stlvnub wrote:
Just trying your latest versions.
Looks good.
Just a suggestion concerning your languages selection.
Have done a bit of a cleanup, hope you don't mind.

select a in "Dutch" "Danish" "Finnish" "Polish" "Russian" "Swedish" "BrazilianPortuguese" "Portuguese" "SimplifiedChinese" "Spanish" "TraditionalChinese" "French" "German" "Italian" "Japanese" "Korean" "Norwegian" "English"
do
case "$a" in
"Dutch" ) break ;;
"Danish" ) break ;;
"Finnish" ) break ;;
"Polish" ) break ;;
"Russian" ) break ;;
"Swedish" ) break ;;
"BrazilianPortuguese" ) break ;;
"Portuguese" ) break ;;
"SimplifiedChinese" ) break ;;
"Spanish" ) break ;;
"TraditionalChinese" ) break ;;
"French" ) break ;;
"German" ) break ;;
"Italian" ) break ;;
"Japanese" ) break ;;
"Korean" ) break ;;
"Norwegian" ) break ;;
"English" ) break ;;
"") echo You must select one of the above! ;;
esac
done
languageChoice="$a"

Just makes it a bit smaller and cleaner.
Didn't think there was a need for all the languagechoice=
Works ok.

Keep up the GOOD work.


Thanks for pointing that out stlvnub, I could do with a few more people like you. Taking your suggestion further you can reduce the code to this:

Quote:
#!/bin/sh

echo "\tPlease select from one of the available language packs:"
echo; printf '\a'
PS3='Enter your choice as a numeric value: '
select a in "Dutch" "Danish" "Finnish" "Polish" "Russian" "Swedish" "Brazilian Portuguese" "Portuguese" "Simplified Chinese" "Spanish" "Traditional Chinese" "French" "German" "Italian" "Japanese" "Korean" "Norwegian" "English"
do
case "$a" in
"") echo "You must select one of the above!";echo "Hit Enter to see menu again!" ;;
*) break ;;
esac
done

languageChoice="$a"
echo "Your language choice is : ${languageChoice}"
exit 0



Re: How to make a 10.5.4 Install DVD/USB Stick
Post by tek on Aug 3, 2008, 1:34pm

Hi ritalin,

I just wanted to post my results of using your 10.3 script with my hardware (Asus P5W DH Deluxe w/ Intel Core2Duo E6600).

1. For my networking to function on initial boot, I had to remove your AppleYukon2.pkg from the script. This only just began recently and I didn't have to do that before. I guess you have this tailored for your hardware. This is just a note for anyone using this script with my hardware instead.
2. I had a problem adding a long list of packages to my install with 10.2, and after reading your post I thought it would be fixed in 10.3 but it's not. I have about 10 custom packages I want to add, but after about 6 it stops asking me to add new ones. I remedied that by creating the table myself in your script. I just wanted to check and see if you or anyone has experienced this as well.

Thanks for the script. I think overall it works very well!
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Aug 3, 2008, 2:11pm

Yes, I also am maxed out after adding around 5 or 6 packages too, but the good news is that as Ritalin says, the user packages work much better now and I can finally boot with QE & CI enabled as I can add my GFX strings package - thanks Ritalin.

If you try to install to 2 drives set up with Apple software Raid they are seen correctly as a single drive but with the red exclamation mark. Anyone know why?

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by nikonnut on Aug 3, 2008, 5:31pm

Rit,
I've got v10-3 is running and everything seems flawless! Keep up the great work!

Nik
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Aug 3, 2008, 8:51pm


Aug 3, 2008, 2:11pm, admin wrote:
Yes, I also am maxed out after adding around 5 or 6 packages too, but the good news is that as Ritalin says, the user packages work much better now and I can finally boot with QE & CI enabled as I can add my GFX strings package - thanks Ritalin.

If you try to install to 2 drives set up with Apple software Raid they are seen correctly as a single drive but with the red exclamation mark. Anyone know why?


I will look into the pkg quantity limit. I use the command
Quote:
ls "${basedir}"/Apple_Update_PKGs | fgrep .pkg
to find pkgs placed in the /Apple_Update_PKGs folder (where ${basedir} is just the path to the folder). It should find anything with the pkg extension.

As for the red exclamation mark, there is usually some accompanying text telling you why you can't select the drive. Such as:

"You cannot install Mac OS x86 on this volume. The contents of this volume cannot be changed." (usually because of an unsupported format such as NTFS)

"You cannot install Mac OS x86 on this volume. There is not enough free space on this volume."

"You cannot install Mac OS x86 on this volume. You cannot upgrade this version of Mac OS X because a newer version is installed."

"You cannot install Mac OS x86 on this volume. Mac OS X is already installed."

etc...


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Aug 3, 2008, 10:42pm


Aug 3, 2008, 4:56am, ritalin wrote:


Thanks for pointing that out stlvnub, I could do with a few more people like you. Taking your suggestion further you can reduce the code to this:

Quote:
#!/bin/sh

echo "\tPlease select from one of the available language packs:"
echo; printf '\a'
PS3='Enter your choice as a numeric value: '
select a in "Dutch" "Danish" "Finnish" "Polish" "Russian" "Swedish" "Brazilian Portuguese" "Portuguese" "Simplified Chinese" "Spanish" "Traditional Chinese" "French" "German" "Italian" "Japanese" "Korean" "Norwegian" "English"
do
case "$a" in
"") echo "You must select one of the above!";echo "Hit Enter to see menu again!" ;;
*) break ;;
esac
done

languageChoice="$a"
echo "Your language choice is : ${languageChoice}"
exit 0




Might need to get rid of the spaces in the 'select a' line as it MAY break the pkg selection further on.Otherwise great stuff.

Would still like to see the option of just making a VIRGIN SL disk though, as each time you bring out a new version I have to hack it a bit to get it o work, but then again that is half the fun.

Bye..


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by rals2007 on Aug 4, 2008, 4:11am

Hi Ritalin...

Nice work!

For my own personal use, i like to incorporate AMD. is the Extensions.mkext need to modified for the AMD or it will boot the DVD?
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by alvinsclee on Aug 6, 2008, 5:55am

Hey Ritalin,
I have tested v10-3 OSx86_Patcher on 10.5.1 Retail Disc.
It works... only if I connect a secondary monitor (else, laptop LCD goes into a plain blue screen).
Great work, thanks!
Alvin
:)
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by zuz on Aug 12, 2008, 8:13pm

hey ritalin
am new here, and this is my first post ever!
ur thread is the reason i joined this fabulous forum
anyhow,
i tested v.10-2 and 10-3
in 10-2 i was getting soo may errors
mainly a broken pipe error when creating a base installer and when updating the packages from the macosxupdate

i also got errors in creating the iso.. it just wouldnt create

to be honest i dunno what version of leopard i have, and i think that is why i am having those errors! can u walk me thru on perhaps fixing those errors!

on a side note .. guys for the su command to work u should specify the root password
try this in terminal:
sudo passwd root
enter new password and verify
then when executing the su u type
su root
and then enter the password..

thanx ritalin for the gr8 patch and am waiting maybe perhaps we can iron out the errors:)
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by amantheboy08 on Aug 14, 2008, 7:09pm

Ok can anyone give me a step by step guide on how to make the osinstall.mpkg in leopard with packagemacker 3.0.1 thank you. that would be really nice
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by rals2007 on Aug 15, 2008, 3:31am

Ritalin:

i noticed that the AppleThermal.kext & AppleACPIThermal.kext has an option to be remove. whats the purpose of this?
Is it applicable to all hack?

And also, do we also have to delete the AppleHWSensor.kext?

Thanks :)

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Aug 17, 2008, 2:26pm


Aug 3, 2008, 1:34pm, tek wrote:
Hi ritalin,

I just wanted to post my results of using your 10.3 script with my hardware (Asus P5W DH Deluxe w/ Intel Core2Duo E6600).

1. For my networking to function on initial boot, I had to remove your AppleYukon2.pkg from the script. This only just began recently and I didn't have to do that before. I guess you have this tailored for your hardware. This is just a note for anyone using this script with my hardware instead.
2. I had a problem adding a long list of packages to my install with 10.2, and after reading your post I thought it would be fixed in 10.3 but it's not. I have about 10 custom packages I want to add, but after about 6 it stops asking me to add new ones. I remedied that by creating the table myself in your script. I just wanted to check and see if you or anyone has experienced this as well.

Thanks for the script. I think overall it works very well!

1. The script will now ask you which modification pkgs to apply, so you can now skip the AppleYukon2.pkg without editing the patcher.
2. Any one adding a long list of pkgs would encounter this bug. Fingers crossed this problem is now fixed in OSx86_patcher_v10.4

Aug 4, 2008, 4:11am, rals2007 wrote:
Hi Ritalin...

Nice work!

For my own personal use, i like to incorporate AMD. is the Extensions.mkext need to modified for the AMD or it will boot the DVD?

No AMD yet! I would like to iron out all the bugs in the Intel only version first (plus I don't own any AMD hardware to test on. Please feel free to donate an AMD base unit and I will get right on it.)


Aug 15, 2008, 3:31am, rals2007 wrote:
Ritalin:

i noticed that the AppleThermal.kext & AppleACPIThermal.kext has an option to be remove. whats the purpose of this?
Is it applicable to all hack?

And also, do we also have to delete the AppleHWSensor.kext?

Thanks :)

Removes the AppleThermal extension and the AppleACPIThermal plugin (if installed) from the AppleACPIPlatform extention. OSX uses these extensions to control the system cooling fans but they appear to be very buggy when used on a hackintosh (the fan can stop, causing over heating). The BIOS can handle the fan on its own and doesn't need OSX or these kexts to function, hence removing these kexts can keep your system running cooler.


Aug 3, 2008, 10:42pm, stlvnub wrote:

Would still like to see the option of just making a VIRGIN SL disk though, as each time you bring out a new version I have to hack it a bit to get it o work, but then again that is half the fun.

Bye..



Working on this and OSx86_patcher_v10.4 is one step closer in that respect.


Aug 6, 2008, 5:55am, alvinsclee wrote:
Hey Ritalin,
I have tested v10-3 OSx86_Patcher on 10.5.1 Retail Disc.
It works... only if I connect a secondary monitor (else, laptop LCD goes into a plain blue screen).
Great work, thanks!
Alvin
:)

Search for the paper clip solution to the blue screen problem.


Aug 14, 2008, 7:09pm, amantheboy08 wrote:
Ok can anyone give me a step by step guide on how to make the osinstall.mpkg in leopard with packagemacker 3.0.1 thank you. that would be really nice

I think I posted a guide somewhere on this board, or maybe in this thread. here
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Aug 18, 2008, 1:07am

Trying out the new package.
You WILL have problems with language selection if you select one with a space in it.
e.g Brazilian Portuguese
as it is named BrazilianPortuguese.pkg

Minor error, did tell you.
Still excellent work...
see ya

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Aug 18, 2008, 2:31am

Don't know if it was the new installer
but somehow my system got knackered.

My vanilla 9.4 kernel got replaced by a 9.1
version and I ended up having to do a TM restore.

Could have problems, be wary.
Appeared to overwrite my system with the installer!!!

edit:
PROBABLY GOT SOMETHING TO DO WITH ME STOPPING AND STARTING THE SCRIPT TO CHECK DIFFERENT THINGS.


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Aug 19, 2008, 6:10pm


Aug 18, 2008, 1:07am, stlvnub wrote:
Trying out the new package.
You WILL have problems with language selection if you select one with a space in it.
e.g Brazilian Portuguese
as it is named BrazilianPortuguese.pkg

Minor error, did tell you.
Still excellent work...
see ya


Sorry, you did pointed this out earlier and I forgot to fix it. :-[

Simply change line 468:

Quote:
languageChoice="$a"

so that it reads

Quote:
languageChoice=`echo "$a" | sed 's/ //g'`


You probably already did this, yes.

I will include this fix in the next release.

Please feel free to point out any more errors you find.

thx



Re: How to make a 10.5.4 Install DVD/USB Stick
Post by alvinsclee on Aug 19, 2008, 8:44pm

"Search for the paper clip solution to the blue screen problem." - ritalin

I have already tried that before I posted my comments... it did not work. Tried both 1-wire and 2-wire methods.

But I found that this work: http://forum.insanelymac.com/index.php?s....rt=#entry821899

For the benefit of those who may need this solution. :)
Alvin

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 20, 2008, 6:26pm

I tried this on my Quicksilver they way the 10_4 instructions say to do it, and i am having some issues.

When is says "cd ~Desktop/OSx86_patcher_v#" i do that with the original 10_4 at the end in terminal. It just says no such file or dir.

Then i just drag the folder into terminal, then it comes up. When i type SU and hit enter, it asks for my passcode, ok, not a problem. I enter my passcode and it just says "sorry"

Ok, what gives?
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by tek on Aug 20, 2008, 10:32pm


Aug 20, 2008, 6:26pm, reddrag0n wrote:
I tried this on my Quicksilver they way the 10_4 instructions say to do it, and i am having some issues.

When is says "cd ~Desktop/OSx86_patcher_v#" i do that with the original 10_4 at the end in terminal. It just says no such file or dir.

Then i just drag the folder into terminal, then it comes up. When i type SU and hit enter, it asks for my passcode, ok, not a problem. I enter my passcode and it just says "sorry"

Ok, what gives?


http://aquamac.proboards106.com/index.cg....96&page=15#3601
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 21, 2008, 3:36am


Aug 20, 2008, 10:32pm, tek wrote:

Aug 20, 2008, 6:26pm, reddrag0n wrote:
I tried this on my Quicksilver they way the 10_4 instructions say to do it, and i am having some issues.

When is says "cd ~Desktop/OSx86_patcher_v#" i do that with the original 10_4 at the end in terminal. It just says no such file or dir.

Then i just drag the folder into terminal, then it comes up. When i type SU and hit enter, it asks for my passcode, ok, not a problem. I enter my passcode and it just says "sorry"

Ok, what gives?


http://aquamac.proboards106.com/index.cg....96&page=15#3601

Thanks tek, now it accepted my passcode and now i'm waiting for it to compile. Hopefully this works. Thanks for all the info guys. Will post later once this is finished to see how it all works.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 21, 2008, 1:35pm

Well, got the image burned this morning, booted the pc with it, and formatted the external 80 gig i have with the GUID partition table. Now am installing OS X on it now as we speak. So far everything is going smoothly. Hopefully it stays that way (running smoothly that is).

I'll get pics up later when all is said and done.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 21, 2008, 3:23pm

Well, i will admit, this is the fastest i have seen a mac travel yet!!!
And i'm loving it!!!

I have some quables, but i'm sure they can be fixed...

-The Ethernet works right off the hop, so does the sound (though the sound does not show up properly in system profiler)
-Airport is not showing up (maybe no drivers for DWL-AG530 DLink wireless)
-Video card is really weird (full CI & QE but on an unknown card and some minor glitches being seen when i do anything)
-Also with the video card, stuck on 1024 x 768 max

The biggest problem i have is when i try to click "About This Mac" the system glitches, and it acts like it reboots, but doesn't. It refreshes the screen, and brings back the dock and sends me to the users home folder.
Is there a way around this?

Also, what about updates? IE the security update for 10.5.4 and the iLife updates?
I already manually downloaded the iTunes and Quicktime programs so they are fine.


Oh, and as for the pics, here are some pics i took during the install and some from system profiler.
ASRock OSX86
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Aug 21, 2008, 4:49pm


Aug 21, 2008, 3:23pm, reddrag0n wrote:
Well, i will admit, this is the fastest i have seen a mac travel yet!!!
And i'm loving it!!!

I have some quables, but i'm sure they can be fixed...

-The Ethernet works right off the hop, so does the sound (though the sound does not show up properly in system profiler)
-Airport is not showing up (maybe no drivers for DWL-AG530 DLink wireless)
-Video card is really weird (full CI & QE but on an unknown card and some minor glitches being seen when i do anything)
-Also with the video card, stuck on 1024 x 768 max

The biggest problem i have is when i try to click "About This Mac" the system glitches, and it acts like it reboots, but doesn't. It refreshes the screen, and brings back the dock and sends me to the users home folder.
Is there a way around this?

Also, what about updates? IE the security update for 10.5.4 and the iLife updates?
I already manually downloaded the iTunes and Quicktime programs so they are fine.


Oh, and as for the pics, here are some pics i took during the install and some from system profiler.
ASRock OSX86

Cool, Thanks for trying this and a real big thanks for the excellent feed back and pics ;D. I will have a closer look later but I think a different version of AppleSMBIOS may help with the "About This Mac" issue. As for the video issues: are you using AGP? Support for AGP on x86 hardware sucks AFAIK :(. I think the AGP driver is PPC only, or something like that.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 21, 2008, 5:01pm


Aug 21, 2008, 4:49pm, ritalin wrote:
Cool, Thanks for trying this and a real big thanks for the excellent feed back and pics ;D. I will have a closer look later but I think a different version of AppleSMBIOS may help with the "About This Mac" issue. As for the video issues: are you using AGP? Support for AGP on x86 hardware sucks AFAIK :(. I think the AGP driver is PPC only, or something like that.

Yes, the card is an AGP card. if you notice, on this picture, the blue square above the mouse, well, that's the tearing i see when i move the mouse too abruptly. Or if i scroll too fast with the mouse on the webpage then there is a line about the size of the mouse that looks like hell.
As to back to the card, yes, it's an AGP card, and everyone was telling me to use the onboard Intel Graphics for the Mac OS. Honestly, i would choose the ATI X1300 Pro vs the Integrated Intel Extreme Graphics 2
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 4:19pm

YES!!!!!

I got it working, i hunted google for "AppleSMBios older P4" and i got a link to an older kext. I took out the old one, zipped it up, installed the newer (older) one and repaired the permissions. Now this is what i see when i click ATM.

[image]

Oh, any idea, or even a link on how to edit this? or is it in the forums somewhere?
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Aug 22, 2008, 5:18pm

JJ, Tell me what you want it to say and I will edit it for you, then you can have a look and know how to do it for yourself in the future.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 6:03pm

Where it says Unknown, just have it say Celeron, since that's what the CPU is.

Also, for others, i found out how to stop the mouse tearing on the screen. Try to install the Natit kexts and watch the CI & QE not turn on, not being able to change resolutions and no DVD Player ability. But the screen is the smoothest i have seen yet.

I guess, i have to hunt for a decent Nvidia card that will work under Leopard and AGP based for x86.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 6:10pm

Red, Send me a link I can post file to, I think I know why you don't have QE & CI.
Also, What nvidia card are you using? So I can get the correct files.

Is this the system you're using?>
Case:
Imitation G5 black case

Motherboard:
ASRock P4I65G

CPU:
Celeron 2.4 GHz

Power Supply:
430 W

Memory
2x 512 MB DDR

CD/DVD:
DVD Reader

Hard Drive:
80 GB IDE

Video:
Nvidia Geforce 7600GT 512MB AGP

Audio:
Harmon Kardon Champagne Speakers
Gaming Headset

USB:
8 USB 2.0

Keyboard:
Logitech Elite

Mouse:
Logitech MX-1000

Operating System:
Windows XP SP3

Monitor:
17” Dell M782

Camera:
Creative Vista IM

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Aug 22, 2008, 6:21pm

Here is your "About this Mac" file. Download and unpack it. Then navigate to System/Library/CoreServices and right click "loginwindow". Click "Show Package contents" then Contents/Resources/English.lproj and replace the "AboutThisMac.strings" with the one I have provided, then repair permissions in disk utility, your done!

Let me know if it is OK.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 6:32pm


Aug 22, 2008, 6:10pm, originalmacnut wrote:
Red, Send me a link I can post file to, I think I know why you don't have QE & CI.
Also, What nvidia card are you using? So I can get the correct files.

Is this the system you're using?>
Case:
Imitation G5 black case

Motherboard:
ASRock P4I65G

CPU:
Celeron 2.4 GHz

Power Supply:
430 W

Memory
2x 512 MB DDR

CD/DVD:
DVD Reader

Hard Drive:
80 GB IDE

Video:
Nvidia Geforce 7600GT 512MB AGP

Audio:
Harmon Kardon Champagne Speakers
Gaming Headset

USB:
8 USB 2.0

Keyboard:
Logitech Elite

Mouse:
Logitech MX-1000

Operating System:
Windows XP SP3

Monitor:
17” Dell M782

Camera:
Creative Vista IM

Right system, wrong card. The Nvidia 7600 GT 512 MB overheated and died.
It has been replaced with an actual ATI X1300 Pro 256 MB AGP card.
[image]


Aug 22, 2008, 6:21pm, admin wrote:
Here is your "About this Mac" file. Download and unpack it. Then navigate to System/Library/CoreServices and right click "loginwindow". Click "Show Package contents" then Contents/Resources/English.lproj and replace the "AboutThisMac.strings" with the one I have provided, then repair permissions in disk utility, your done!

Let me know if it is OK.

It's perfect aqua, thank you.
[image]
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Aug 22, 2008, 6:38pm

Glad it worked. Shame you did not have a NV card, I know lots more about those. I take it you tried Natit. I will have a dig around and see what I can find out too about your card.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 6:39pm

i tried both the Natit and the Natitx1300 kexts found on insanelymac. Both got rejected after repairing permissions and rebooting.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 6:45pm

I've included some .kext for you. Though with ATI, I might not be much help. Though this might get you Dlink working, as these older driver got my d-link FA311 Rev. A2 lan card working as well. All .kext are 100% safe for leo.
Hope they work out for you. Unsure about the AGPgart, I never used it ( Have, but been about a year ago ).
Click here to download file
http://rapidshare.com/files/139318046/RedDragon.zip.html
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 6:48pm

right on, thanks.
then that just leaves a few glitches to work out on this board.
1. audio is not seen in system profiler.
2. audio actually works but is funny when i have itunes running and i mute the audio altogether. itunes is still playing full blast while main audio is muted.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 6:52pm

I'll Have to dig around. I know there is a way for sound to work correct. As I had that board a long time ago with 10.4.4 installed on it. You might dig around for an older AC97.kext. I'll see what I can come up with. Try those drives first, that might fix the sound problem ( Maybe ). But anyways, I'll have to try and remember how I did it now,

:D We might want to move this to it's on thread for Red. Maybe call it, ASRock P4I65G install guide?
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Aug 22, 2008, 6:52pm

I found Diabolics ATI X1300 Installer here. Make sure you only install the natit kext as the ATI kexts are from Tiger. There is an option in the installer to uncheck the ATI kexts, make sure you do that otherwise you may trash your system. Don't know if this will work.

Download and repair permissions with this. Disk utility is no good for this (that is why your kexts were rejected). Let this run it takes about 5 mins. When it is finished, delete "Extensions.mkext" from your System/Library folder.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 7:16pm

I could if i would, but i can't.
After installing the IOPCI kexts, something happened...
i installed, i repaired, i rebooted, i kernel panicked.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 7:18pm

What the kernel panic say? Try booting with -v -f
I've gotten KP before, then it boot fine after a -F command
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 7:20pm

um, oops, i didn't catch the 3 that happened.......

1 while in normal mode
1 while in verbose mode
1 while in safe mode

Am i hooped?????? :(


EDIT
alright, let me log out of windows and back into X
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 7:22pm

Not just yet. It could be a number of things. Do you only have 1 install? or do you have 2 partitions with 2 installs?
I don't think it was because of the IOPCI. Could be the AGPgart or even the Natit, though I've saw stranger stuff before. Could even be the 1300 is trying to load and is KP

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 7:39pm

well, thank god for the QS. anyways, loaded up with -v -f and it's up and running.
before natit.kext was installed it KP'ed. am installing Natitx1300 now as we speak and it's doing the command line repair.
70% right now.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 7:40pm

Oh, as for the partitions, none, just 3 drives, 1 dedicated xp, 1 dedicated X, 1 dedicated for xp's music


EDIT
she's loaded now, no KP's
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 7:42pm

Well, glad to see the -v -f didn't fail me. I don't know why it does that, but have noticed in leopard alot more than tiger did. Keep us posted. I'm home from work and will stay logged, until you get tired of messing with it.


Is the drivers loaded? Do you have QE & CI now?
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 7:43pm

i'm almost tempted to say ichat or something like that
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 7:45pm

OK, we have an actual video card now, and no CI or QE

but for some odd reason, she has no network and no bluetooth

EDIT
ok, forgot to del extensions.mkext
will see what that does now
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 8:00pm

Okay. If you don't get it going after that. Let add back the IOPCI and the IONETWORK .kext and see if that solve it.

Ichat is fine :) But it is saying I have the wrong password. I just set it up, so that could be why.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 8:01pm

ok, well, i have a video card that see's itself as a PCI, but ok. As for bluetooth and network (both wifi and wired) nothing.
Also, memory shows up screwy now too. it only shows dimm 4, not 1 - 4
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 8:08pm

Okay, let me grab the Original IOPCI and IONET


Edit*
Leopard IO*
Click here to download file
http://rapidshare.com/files/139335113/Archive.zip.html
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 8:09pm

well, i put the 2 you gave me in and am repairing permissions now.
also am on the phone with the phone company now too. my comp KP'ed, so did my phone at the same time
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 8:14pm

Oh, So you didn't or did have the IO in I gave you that resulted in no Bluetooth & network? Which IO's are you using? the Leopard or the The ones I sent?
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 8:17pm

i got the ones you put into the RedDagon.zip
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 8:19pm

Okay, If there not working now, use the others I just uploaded and repair. If it still don't work, I'll try and find the others that is known to work also, Really odd they don't work. They could just play nice in my machine though.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 8:23pm

ok, which link are they in?

http://rapidshare.com/files/139318046/RedDragon.zip.html
or
http://rapidshare.com/files/139335113/Archive.zip.html

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 8:30pm

http://rapidshare.com/files/139335113/Archive.zip.html
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 8:57pm

well, me thinks those extensions are a little old for Leopard.
Link to a very large pic of the KP

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 8:58pm

why do i hear off in the distance.... "install Uphuck you f***!!!!!!!
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 9:11pm

Can't be, those came from the Leopard Disc. Did you boot with -v -f again?
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 9:13pm

will -v -f again

oh, and the last post was supposed to make everyone laugh. since this is the most that anyone has been troubleshooting this board and Leopard. :)
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 9:16pm

:D, np. I can't log into iChat, say wrong password. I know it's right, it lets me log into my account Via web interface?

Though, Like I said, we ( Mod ) might need to move this into its own thread now, lol, way off topic now :D
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 9:19pm

That's it, i think my computer is having an issue with dual personalities.
"Am i a Mac, or am i a PC? I can't make up my mind!!"

EDIT
and she hung on a light blue screen after -v -f
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 9:25pm

Well, she's trying to load then. Boot with -v -x -f
Try removing the agpgart. then restart with -v -f

Maybe you will get lucky, and have QE & CI but will show as a PCI bus. Even at best this is better than nothing :D
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 9:28pm

well, i tried loading with -v -f -s (hopefully safe mode) but so far she's not wanting to boot period
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 9:30pm

Did you repair & delete the .kext cache? Try -v -x -f, I'm not surprised -s didn't work if it's not booting to begin with.

Wait, that board has the 865 chip set correct? you might be ale to get the 900gm Driver to work. I have the Drivers if you need them. I got it working on a HP compaq nx6110 that is the 865 chipset. Though I was lucky I think, might get lucky as well though. Not sure if I had to change out the frameworks though, ( Don't think I did ). The driver is in the uphuck disc. or I can upload them to you.

But we need to get you booting again first :D

EDIT*
No, nvm, it has the 900gma. That why I got it working. sorry about that.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Aug 22, 2008, 9:32pm

You could try this to remove Natit if the above does not work:

Boot with -s option,
then mount -uw /
then rm -fr /System/Library/Extensions/Natit.kext
then rm /System/Library/Extensions.kextcache /System/Library/Extensions.mkext
then reboot

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 9:34pm

well, tried the -v -x -f and now i get a blue screen with a mouse, that's it
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Aug 22, 2008, 9:35pm

Did you try the above, this will remove natit and should let you boot.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 9:39pm

Boot with -s option, done
then mount -uw / done
then rm -fr /System/Library/Extensions/Natit.kext done
then rm /System/Library/Extensions.kextcache /System/Library/Extensions.mkext No such file or directory
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 9:40pm

Okay, Logout.

Then boot with the -v -f command, cross finger and hope it boots.

Should be
then rm /System/Library/Extensions.kextcache
then rm /System/Library/Extensions.mkext
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Aug 22, 2008, 9:42pm

My Mistake, try this:

Boot with -s option,
then mount -uw /
then rm -fr /System/Library/Extensions/Natit.kext
then rm /System/Library/Extensions.mkext
then reboot

(Forgot I wasn't in Tiger)

Actually Natit should now be gone so if you do what OMN says you should boot.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 9:44pm

LOL, gee thanks aqua, make my poor comp have a panic attack!! :D
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 9:45pm

LOL, I didn't catch that part, hehe oh well. ( tiger )
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Aug 22, 2008, 9:46pm

So did you manage to boot?
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 9:48pm

Boot with -s option, done
then mount -uw / done
then rm -fr /System/Library/Extensions/Natit.kext no such file or directory
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 9:49pm

You had already removed it the time before, you should be ready to boot now. Just make sure you boot with -f
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 9:50pm

ok
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 9:51pm

OMG, I HAVE AN APPLE LOGO!!!!!!
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 9:52pm

So did it boot?
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 9:52pm

i still have that same apple logo
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Aug 22, 2008, 9:53pm

If you do get back into it, I suggest cloning to another HDD or Partition as the road to a successful setup is a long one and with Hardware that has not yet been proven, it is likely you will trash your install more than once. If you clone your current HD (providing you can get it to boot), you can install the boot sector after using OSX86 Tools from PCWizz.

http://pcwizcomputer.com/osx86tools/?page_id=4

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 9:54pm

how about this, wait until i get more compatible hardware and if i want to run anything on a mac, i just use my upgraded QS?

Oh, by the way, it's still on that same apple logo, halted.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 9:56pm

I suspect it is agpgart as before.

Boot with -s option,
then mount -uw /
then rm -fr /System/Library/Extensions/AGPGart.kext
then rm /System/Library/Extensions.mkext
then reboot with -v -f

Edit*
If it boots after that, add back the natit.kext from the installer, it may work after that, but we'll trouble shoot after we get there.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Aug 22, 2008, 9:58pm

Yup, that might work, give it a go!
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 10:04pm

well, del Extensions.mkext = no such file or dir, rebooted anyways using -v -f and she KP'ed half way through
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 10:07pm

well, rebooted with -v -f again and now it got past the KP and now stuck on light blue screen, no mouse
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Aug 22, 2008, 10:12pm

Try -x again
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 10:15pm

blue screen, this time with mouse
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 10:17pm

I hate to say this, but you will need to remove the x1300 driver kext.

Is it x1300.kext? Then we can start fresh after that is removed.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Aug 22, 2008, 10:17pm

Red,

Did you remove AGPGart with these commands,

Boot with -s option,
then mount -uw /
then rm -fr /System/Library/Extensions/AGPGart.kext
then rm /System/Library/Extensions.mkext
then reboot with -v -f

Do you have an NV card to try to boot?
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 10:18pm

how about do a fresh install? since there was nothing of value on that drive
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 10:19pm


Aug 22, 2008, 10:17pm, admin wrote:
Red,

Did you remove AGPGart with these commands,

Boot with -s option,
then mount -uw /
then rm -fr /System/Library/Extensions/AGPGart.kext
then rm /System/Library/Extensions.mkext
then reboot with -v -f

Do you have an NV card to try to boot?

rm /System/Library/Extensions.mkext gives me a no such file or dir
as for an NV card, all i have is the PCI 5200 and the AGP 6200 from PPC macs.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 10:24pm

i think we need to relocate this to it's own thread called "Mac OSx86 help"
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Aug 22, 2008, 10:28pm

As a kind of last resort before installing, you could boot up XP, If you can see your Mac HD, (Probably not) and go into your mac hard drives extensions folder and manually remove the ATIRadeonX1000.kext & AGPGart.kext. If that does not work, it sounds like something got duffed on your system. I guess I could make a package to reinstall all the original ATI kexts.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 10:29pm

already tried that earlier this morning, but xp can't see the 80 gig drive formatted to OS X

EDIT
OS 9 came in handy for that, boot from the CD, and sift through the hard drive for the problems.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by reddrag0n on Aug 22, 2008, 10:34pm

Well anyways guys, i thank you for all your help, but i think i am going to call it there, i have been at this all morning, and it's already noon for me. What i will do over this weekend is reinstall OS X and see what happens from there.

EDIT
my mistake, d**n time on the QS, it's after 4:30 in the afternoon here!
Holy crap!!!!
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Aug 22, 2008, 10:55pm

Cheers Red,

Sorry we did not get this going yet, graphics is the big thing on OSX86. I find ATI are trouble. Let us know when you are back to square 1!
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by originalmacnut on Aug 22, 2008, 11:06pm

Install this on your XP system. It's called transmac 8.1 It's the Demo version though, you have 30 day if I remember right ( maybe 15 ), has saved me many of times, and it will see you OSX Drive with no problems. You can also add files to and from your XP drive to the OSX drive.

Aqua, I think the error was from The leopard IOPCI, He was using the older IOPCI that I sent him, after he installed everything, I had him switch them out due to no QE & CI. That maybe why he was able to boot to start with, though I'd be tempted to see if we could get the 865gma going with the 900gma driver. anyways, here is Transmac for you Transmac 8.1


EDIT*
From the wiki, looks like this boards should work fine. Try a new install with out the ATI x1300
WiKi
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Aug 29, 2008, 10:00pm

Probably a bit off track here BUT.
Anyone tried the System Image Utility from the Server update?.
Reason being is you can make a new 10.5.4 based Install Disc using it.

If you use a 'Fresh 10.5.4 Install" as the base
in SIU you can make a Net Install Image.
You can use this Image as a base for future installs.

In the System/Installation/Packages directory you have.
ASRInstall.pkg and System.dmg

You can leave it as such OR
trash the Installation directory and copy Installation from other Install to it.
This is the preferred method.

As this will be a virgin Install it will need to have DFE-132 Chameleon loader.
Will also need highly modified ritalin script to bring it all together.
----

Just playing around with this at the moment.
Thought some people would like the IDEA of a
10.5.4 based 10.5.4 Installer instead of
10.5.0 based 10.5.4 Installer.

Any thoughts.





Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Aug 29, 2008, 10:54pm


Aug 29, 2008, 10:00pm, stlvnub wrote:

Just playing around with this at the moment.
Thought some people would like the IDEA of a
10.5.4 based 10.5.4 Installer instead of
10.5.0 based 10.5.4 Installer.

Any thoughts.


This would be very useful. I would much rather boot the same system kext and kernel in both the base (USB/DVD) and the resulting installed system. Also, my latest GFX hardware needs 10.5.2 or later for acceleration, so I'm stuck with VESA modes in the base system at the mo.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Aug 30, 2008, 12:30am

Just trying it using Retail 10.5.0 DVD as source.
Will need to copy Installation folder to 10.5.4 based I've already done
and then use that as base system for future work.

Customized packages and added extra stuff.
One step closer to 10.5.4 based 10.5.4 Install DVD with ALL the latest updates.
And with DFE-132 Chameleon loader to boot.

Will keep you informed.


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Aug 30, 2008, 8:50am

Burning a 10.5.4 based ASR restore disk with DFE-132 loader as I type.
Will give it good test.

This is starting to look VERY PROMISING!!!.

Not much involved in making it into an Install disc.
SIU is a great peice of kit.

Will keep you posted.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Aug 31, 2008, 2:04am

Well that worked VERY WELL.

Now trying with a normal installer dvd.
Tools used so far.

InstaDMG:
to make the ASR Image with ALL updates bar latest security update.
(Been capped...nutsty bigpond)

System Imaging Utlity:
to make the NetInstall.dmg using the above ASR image

Ritalin patcherv10.4 (heavily modified):
to throw it all together and make the dvd iso.

ASR Restore DVD using DFE-132 loader works.
Installer DVD using DFE-132 loader - Testing (should work)

will keep you posted.


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Aug 31, 2008, 4:23am

Installer DVD worked fine as expected.
bye.

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Sept 4, 2008, 9:59pm


Aug 29, 2008, 10:54pm, ritalin wrote:

Aug 29, 2008, 10:00pm, stlvnub wrote:

Just playing around with this at the moment.
Thought some people would like the IDEA of a
10.5.4 based 10.5.4 Installer instead of
10.5.0 based 10.5.4 Installer.

Any thoughts.


This would be very useful. I would much rather boot the same system kext and kernel in both the base (USB/DVD) and the resulting installed system. Also, my latest GFX hardware needs 10.5.2 or later for acceleration, so I'm stuck with VESA modes in the base system at the mo.


Patcher v10.5 will/should be released this weekend. It will include feature outlined by stlvnub above. Will also support AMD based systems.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by tek on Sept 5, 2008, 12:45pm


Sept 4, 2008, 9:59pm, ritalin wrote:

Aug 29, 2008, 10:54pm, ritalin wrote:


This would be very useful. I would much rather boot the same system kext and kernel in both the base (USB/DVD) and the resulting installed system. Also, my latest GFX hardware needs 10.5.2 or later for acceleration, so I'm stuck with VESA modes in the base system at the mo.


Patcher v10.5 will/should be released this weekend. It will include feature outlined by stlvnub above. Will also support AMD based systems.


Very nice! Can't wait to try it. Thanks ritalin.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Sept 5, 2008, 9:16pm

Good one Ritalin.
Can't wait to give it a shot.

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Sept 7, 2008, 7:25pm

Sorry, it's been a busy day. Just finished writing the v10.5 script now. Will give it one test run now, If it works I will post it within the hour. If there are problems with the script, then will leave it till next weekend.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Sept 7, 2008, 8:09pm

Excellent, my trigger finger is starting to itch.

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Sept 7, 2008, 8:31pm


Sept 7, 2008, 8:09pm, stlvnub wrote:
Excellent, my trigger finger is starting to itch.

Test worked, uploading the v10.5 Beta now.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Sept 7, 2008, 8:47pm

Make that VERY ITCHY!!!

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Sept 7, 2008, 9:03pm

Okay here is a link to v10.5, this should very much be considered a Beta version! It has only been tested by me once on a USB stick to confirm it boots and produces an installer screen. I haven't installed onto hard disk from the installer, and the DVD option is completely untested.
To enable AMD support launch the script with the AMD command switch.
e.g.
~/OSx86_patcher_v10_5/OSx86_Patcher_v10_5.sh AMD

At the moment the script is a complete mess and is not very readable, I need to spend some time tidying it up. :P
PS. Because of the way the script handles CPUIDs, the only Apple Update you should apply is the 10.5.4 Combo update. This should only apply if you use the AMD switch.

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Sept 10, 2008, 8:45pm


Sept 7, 2008, 9:03pm, ritalin wrote:
Okay here is a link to v10.5, this should very much be considered a Beta version! It has only been tested by me once on a USB stick to confirm it boots and produces an installer screen. I haven't installed onto hard disk from the installer, and the DVD option is completely untested.
To enable AMD support launch the script with the AMD command switch.
e.g.
~/OSx86_patcher_v10_5/OSx86_Patcher_v10_5.sh AMD

At the moment the script is a complete mess and is not very readable, I need to spend some time tidying it up. :P
PS. Because of the way the script handles CPUIDs, the only Apple Update you should apply is the 10.5.4 Combo update. This should only apply if you use the AMD switch.


Just ran a test to see if the installer can install a working system, it failed. The hard drive failed to boot because the installer hadn't made the disk bootable. A quick debug shows the fault is a missing command "/usr/bin/hexdump" on the installer. When the installer is made, the script SeparateWheatFromChaff.sh was deleting the command in error. The command "/usr/sbin/installer" is also being deleted in error. Remove the two rm lines in SeparateWheatFromChaff that delete those two commands, then rebuild the installer and it should work. I will test it myself tomorrow maybe. :-[
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by tek on Sept 10, 2008, 9:12pm


Sept 10, 2008, 8:45pm, ritalin wrote:

Sept 7, 2008, 9:03pm, ritalin wrote:
Okay here is a link to v10.5, this should very much be considered a Beta version! It has only been tested by me once on a USB stick to confirm it boots and produces an installer screen. I haven't installed onto hard disk from the installer, and the DVD option is completely untested.
To enable AMD support launch the script with the AMD command switch.
e.g.
~/OSx86_patcher_v10_5/OSx86_Patcher_v10_5.sh AMD

At the moment the script is a complete mess and is not very readable, I need to spend some time tidying it up. :P
PS. Because of the way the script handles CPUIDs, the only Apple Update you should apply is the 10.5.4 Combo update. This should only apply if you use the AMD switch.


Just ran a test to see if the installer can install a working system, it failed. The hard drive failed to boot because the installer hadn't made the disk bootable. A quick debug shows the fault is a missing command "/usr/bin/hexdump" on the installer. When the installer is made, the script SeparateWheatFromChaff.sh was deleting the command in error. The command "/usr/sbin/installer" is also being deleted in error. Remove the two rm lines in SeparateWheatFromChaff that delete those two commands, then rebuild the installer and it should work. I will test it myself tomorrow maybe. :-[


I tested this script last night on an Asus P5K Premium WiFi and noticed the same thing. The system installed fine but just failed to boot.

I will try editing the script tonight as per your suggestions and let you know what the results are. Thanks.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Sept 11, 2008, 7:11am

Also bug in making iso, missing path to dmg.

How did you make the SeparateWheatFromChaff.sh file??

Looking good as per usual, good job.

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Sept 11, 2008, 4:44pm


Sept 11, 2008, 7:11am, stlvnub wrote:
Also bug in making iso, missing path to dmg.

How did you make the SeparateWheatFromChaff.sh file??

Looking good as per usual, good job.


Thanks for the feedback. I haven't tested the make iso function in any version of my script for ages, so I'm not too surprised it's now broken (USB memory sticks are the way to go). I will look into the problem this weekend if I have time.

The SeparateWheatFromChaff.sh is basically just a diff from a virgin 10.5.0 install and the 10.5.0 DVD. As we have seen it still needs a little tweaking.

If you spot any more bugs please bring them to my attention.

I've noticed that the CPUIDs aren't patched in the NVDAResman kext. No problem for me as my AMD machine uses ATI, but I guess this may be an issue for AMD users with nVidia?
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Sept 11, 2008, 7:04pm

Nobody spotted the lack of icons in the installer?

It's caused by deliberate mistake number 2 in the SeparateWheatFromChaff.sh

cp -Rfp "${source}"/System/Library/CoreServices/CoreTypes.bundle "${target}"/Library/CoreServices/

it should read

cp -Rfp "${source}"/System/Library/CoreServices/CoreTypes.bundle "${target}"/System/Library/CoreServices/

Whoops




Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Sept 13, 2008, 9:04am

Here is a link to v10.5.1. This version addresses all faults previously mentioned with regard v10.5 (with the exception CPUIDs not being patched in the NVDAResman kext).

You no longer need to use the AMD command switch to enable AMD support. It is now one of the configuration questions.
Some other small changes have also been made.

Apparently injects no longer work in OSX 10.5.5, only graphic strings? So the easy inclusion of strings in the plist is probably going to be the next update to the patcher.


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by wilcok on Sept 13, 2008, 1:45pm

Thank you very much.
I am very interested in the DFE solution.
Any possibility we can get a DFE version of 10.5.1?
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by alvinsclee on Sept 13, 2008, 3:04pm

Ritalin,
Thank you for all the great effort... I've tried your installer v10.3 using retail Leopard 10.5.1 disc... almost flawless installation (only problem is that blue screen which needed the 3 patched kexts, as mentioned in my previous post). Will try the new installer tomorrow and report the results. Waiting eagerly for the next installer release!
Alvin


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by admin on Sept 13, 2008, 5:00pm

Great effort Ritalin, though I am away at the moment, I will be trying this out when I return!
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by wilcok on Sept 13, 2008, 7:17pm

I am very interested in the DFE solution.
C'mon STLVNUB, share your modified 10.5.1 with us ;)
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Sept 14, 2008, 3:34am


Sept 13, 2008, 7:17pm, wilcok wrote:
I am very interested in the DFE solution.
C'mon STLVNUB, share your modified 10.5.1 with us ;)


Playing around with 10.5.1 at the moment, as soon as I get it working 100%
I will post the modified script.
For DFE you will need to make a package suited to your setup.


To Ritalin.
Very good job on this version.
Looks a lot easier to work with.

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Sept 14, 2008, 10:19am


Sept 14, 2008, 3:34am, stlvnub wrote:

Playing around with 10.5.1 at the moment, as soon as I get it working 100%
I will post the modified script.
For DFE you will need to make a package suited to your setup.


To Ritalin.
Very good job on this version.
Looks a lot easier to work with.


I look forward to seeing you work, but why wait until you get it working 100%? If I was to do the same you still wouldn't have access to my script, probably never would.

I will release v10.5.2 later, uploading now. Adds support for the onboard ethernet on my AMD machine and fixes a couple of mistakes in the "AMD" and "Boot Safe" com.apple.Boot.plist pkgs.

Edit:

Here is v10.5.2
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by alvinsclee on Sept 14, 2008, 2:14pm

OK, here is the report... I tried installer v10.5.1 using retail Leopard 10.5.1 and ComboUpdate 10.5.4 on eeePC 8G (Celeron M, GMA900 with ICH6 chipset) and Samsung NP-Q35 laptop (Core2Duo, GMA950 with ICH7 chipset).

Installer worked flawlessly on eeePC until it detected that my cpu is running at less than minimum required speed (I'll try to see if I can get a hacked BIOS to speed it up). Installer automatically rebooted Samsung laptop when it tried to detect the GMA950... thus unable to install the OS at all.

Also tried v10.4 with both systems, no problem installing (edit: on Samsung laptop) except for that blue screen needing the 3 patched kexts as mentioned in my previous posts on v10.3 (edit: ... of course, eeePC still refuse to go further upon detection of low cpu speed).

Now downloading installer v10.5.2, will try it next weekend :)
(edit: Installer v10.5.2 initially downloaded as zero byte file... tried again but MediaFire reported that the file is no longer available!)
Alvin
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Sept 14, 2008, 2:48pm


Sept 14, 2008, 2:14pm, alvinsclee wrote:
OK, here is the report... I tried installer v10.5.1 using retail Leopard 10.5.1 and ComboUpdate 10.5.4 on eeePC 8G (Celeron M, GMA900 with ICH6 chipset) and Samsung NP-Q35 laptop (Core2Duo, GMA950 with ICH7 chipset).

Installer worked flawlessly on eeePC until it detected that my cpu is running at less than minimum required speed (I'll try to see if I can get a hacked BIOS to speed it up). Installer automatically rebooted Samsung laptop when it tried to detect the GMA950... thus unable to install the OS at all.

Also tried v10.4 with both systems, no problem installing except for that blue screen needing the 3 patched kexts as mentioned in my previous posts on v10.3

Now downloading installer v10.5.2, will try it next weekend :)
Alvin


To get round the minimum required speed problem, open the following file in a text editor:
/OSx86_patcher_v10_5_2/Resources/mpkg/OSInstall.mpkg/Contents/distribution.dist
Now edit the 12th line:
var minMHz = 866000000;
Change 866000000 to a figure less than the speed of your CPU in Hz. You will then have to contend with the GMA900.
You could try selecting
Quote:
Intel GMA900 # AppleIntelIntegratedFramebuffer kext from OSX 10.4.4 (May allow for the use for GMA900 graphics Don't select it unless you have a GMA900 system!)
let me know how that works out.

As for the Samsung, make a pkg with the three patched kexts you mentioned and place it in the User_Update_PKGs folder. If you don't know how to make a pkg, let me know.

For GFX selecting:
Quote:
None # Usually results in VESA graphics mode (No acceleration)
and booting in safe mode is the best option until you figure out what works.


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by mitchde on Sept 14, 2008, 8:36pm

Hi, installer v10.5.2 DL link didnt work (anymore) - delteted. Uupdate soon or some trouble with apple ?
Can someone upload it to other shareplace ?
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by stlvnub on Sept 15, 2008, 8:34am

Ritalin:
I'm actually using 3 different scripts at the moment.

Instadmg
to make what I call 'Base' system, thats 10.5.4 with ALL current updates.
Using this because its easier to work with.

Modified Ritalin script
which uses the 'Base' system to build the hackintosh.pkg and the Install DVD.
Just trouble making HD bootable as using own OSInstall.mpkg.

InstaNBI.
This SHOULD allow me to make the Install DVD from a working system OR 'Base' system.Just ironing out the bugs on this one.

How about I send you my DFE package.
It just installs to the base of the Install DVD
and uses DFE cdboot (68kb) to run the Virgin Install.

You can include it in your next release if you like
and give people a choice of Hack or Virgin in making dvd and installing.

-----
Link for 10.5.2 appears to be broken.

See ya.



Re: How to make a 10.5.4 Install DVD/USB Stick
Post by mitchde on Sept 15, 2008, 5:05pm

Has anyone downloaded the 10.5.2 and can share /upload it again ?


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Sept 15, 2008, 5:33pm

I will re-upload v10.5.2 later and post a new link.

Stlvnub,
I will take a look at whatever you decide to publish, just send me a link. It all sounds interesting.

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Sept 15, 2008, 9:04pm

Fixed link to v10.5.2
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by tek on Sept 16, 2008, 5:00am

I just tested out your 10.5.2 script with the 10.5.5 combo update released today and it works fine on my hardware, minus the Yukon2 package.

P5W DH Deluxe
Core2Duo
PNY GeForce 8600GT 512MB
Installed to 4GB USB thumb drive

10.5.5 Combo Update
http://www.apple.com/support/downloads/macosx1055comboupdate.html

Thanks ritalin.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by mitchde on Sept 16, 2008, 3:16pm


Sept 16, 2008, 5:00am, tek wrote:
I just tested out your 10.5.2 script with the 10.5.5 combo update released today and it works fine on my hardware, minus the Yukon2 package.

10.5.5 Combo Update
http://www.apple.com/support/downloads/macosx1055comboupdate.html

Thanks ritalin.


Thanks ritalin. Must be much work (a lot of shell code lines! )

good to hear that someone tried it with sucess on new 10.5.5 Como .pkg!
I will try that also with my GA-Ep35 - has someone also Gigabyte (E)P35 Board and already made the own users .pkg for this board type ?


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by mitchde on Sept 17, 2008, 7:38am

Hi , a new user of your great script question:
I have an .dmg of orig. 10.5, which is sized 7.01 GB. I burned it also on DL DVD.
But when i start the work, i should create an compressed .dmg (with Diskutiliy, new image, compressed).
Both, using disktuility convert function (for the existing .dmg) , compressed and new image (for the DL-DVD) compressed gives an 7 GB .dmg.
Not smaller.
i leaved the dvd in the drive (7 gb "compressed" dmg in right place) and started the script.
Seems that script accesses real DVD not the .dmg because dvd is running some minutes.

Is this an problem (i could burn dvd-dl , i dont need really an 4,4 gb smiled DVD) ?
I think the script only takes that whats need (noting of the dev, which is > 2 GB ) so it doenst matter using an compressed .dmg or real DL-DVD.dmg for the reading /converting into an 4.3 GB hackinthosh.iso.

Thanks


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Sept 17, 2008, 7:30pm

mitchde,

Sorry, I now realize my instruction aren't that clear. I will rewrite then in the next release.

Before you run the patcher script you should unmount all disk images and remove the "Mac OS X Install DVD" from your DVD drive. Having any kind of disk (hard drive, DVD or image) named "Mac OS X Install DVD" mounted will also cause problems. You must also turn off iDisk Syncing before running the patcher script.

The disk image of the original Leopard 10.5.0 install DVD must be saved as "MacOSX105.dmg" and saved in the "Disk_Images" directory, and the "Disk_Images" directory must be in the same directory as the patch script. The pater script will mount the "MacOSX105.dmg" image in the correct manner.

You should also place the "MacOSXUpdCombo10.5.4.pkg" update package in the "Apple_Update_PKGs" directory, and the "Apple_Update_PKGs" directory must be in the same directory as the patch script. At present I am not supporting "MacOSXUpdCombo10.5.5.pkg", although it may work on non AMD hardware. I haven't tested it yet.

To build a suitable "MacOSX105.dmg" follow these instructions:

1) Place a Leopard 10.5 install DVD into your drive
2) Wait until it is mounted
3) Open up Disk Utility
4) Select “Mac OS X Install DVD”
5) Click the New Image button, leave the settings as they are:
5.1) Image Format - Compressed
5.2) Encryption - None
6) Save this disc image as: MacOSX105.dmg

Remember: unmount all disk images and remove the "Mac OS X Install DVD" from your DVD drive before running the patcher script.

Other images may not work. If you don't own a legal copy of the Leopard 10.5 install DVD go buy one now! ;)

With all this in mind, re-read the instructions included with the patcher and you should be good to go. :)
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by mitchde on Sept 17, 2008, 9:30pm


Sept 17, 2008, 7:30pm, ritalin wrote:
mitchde,


To build a suitable "MacOSX105.dmg" follow these instructions:

1) Place a Leopard 10.5 install DVD into your drive
2) Wait until it is mounted
3) Open up Disk Utility
4) Select “Mac OS X Install DVD”
5) Click the New Image button, leave the settings as they are:
5.1) Image Format - Compressed
5.2) Encryption - None
6) Save this disc image as: MacOSX105.dmg


Remember: unmount all disk images and remove the "Mac OS X Install DVD" from your DVD drive before running the patcher script.



Thanks very much. First part (removing DVD and unmount .dmg) wasnt clear for me.

But the step to get the MacOSX105.dmg gives me ???.
I got this (at least 3 times) but the size was always near 7 GB - Image Format - Compressed was set (i tried komressed (ACL), kompressed (bzip2). That was my main ??? - size is not small.
But that should not be a problem, because the sctipt takes only things out of the 7 GB DMG whats it needs , or ?


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by alvinsclee on Sept 18, 2008, 1:13am

> mitchde - I've been successful using the installer... that nearly 7GB image is correct! Just put it in the Disk_Images folder. Also download the latest Combo Update, then click to open the dmg, copy the pkg file and place it in the Apple_Update_PKGs folder. Next, open a terminal window, log in as root and run the OSx86_Installer script.

> ritalin - 2nd Report: After modifying the minHz line, eeePC install well (very slow install). Ran too slow to be useful, so I re-install Tiger back on that machine. Perhaps the later model of eeePC with Intel Atom processor may be more suitable for Leopard. Samsung laptop still does not install (auto reboot before it goes into graphic mode). v10.4 seems to be better suited for Samsung as I had been successful to install a full system through that version. Some major code changes from 10.4 to 10.5.x must be a cause.

Will try again after I study the code when I have more time.
Re: How to make a 10.5.4 Install DVD/USB Stick
Post by mitchde on Sept 18, 2008, 5:20am

Hi ritalin.
It worked with your new hints. The 7 GB Mac105.dmg doenst matter - result was 3.8 GB .iso !!
I used the newer 10.5.5 Combo with your script.

Question:
Perhaps in an later version it would be nice to add an Option "efi strings".
It can be easy made by an folder EFIGFXSTR, if it is not empty is used for adding gfxstring to the boot.plist.
The file in folder EFIGFXSTR can be named efigfx.txt and content only the usable string (in hex).
some gpus work much better or at least only by adding an correct gfxstr. NATIT & Co are not alway the way, like some ATI3850/70.


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by phoenixjim on Sept 18, 2008, 7:38pm

I just signed up to reply to this topic - a lot of good information on these boards :)

My question is, how would i go about creating a "slipstreamed" vanilla install disk? This info seems to include enough to do just that, but I'm a bit lost as to the process involved. I could use an updated install disk (without the "modifications"), so would that be possible?

IOW, no special boot loader, no modified OSInstall package, just updated files as needed... made for a real mac ;)

Thanks for the info here, and thanks to any who respond as well :)

Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Sept 18, 2008, 8:42pm


Sept 18, 2008, 5:20am, mitchde wrote:
Hi ritalin.
It worked with your new hints. The 7 GB Mac105.dmg doenst matter - result was 3.8 GB .iso !!
I used the newer 10.5.5 Combo with your script.

Question:
Perhaps in an later version it would be nice to add an Option "efi strings".
It can be easy made by an folder EFIGFXSTR, if it is not empty is used for adding gfxstring to the boot.plist.
The file in folder EFIGFXSTR can be named efigfx.txt and content only the usable string (in hex).
some gpus work much better or at least only by adding an correct gfxstr. NATIT & Co are not alway the way, like some ATI3850/70.

At the moment I can't get my ATI HD 3650 to work using graphic strings in the boot plist. I currently use NATIT, I've made several attempts at writing my own string based on the info NATIT injects, but so far with no success. Until I can create a working string for my card, I shall not include a graphic string option in the patch script as I would be unable to fully test its function. Any advice on writing graphic strings would be most welcome.


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by ritalin on Sept 18, 2008, 8:51pm


Sept 18, 2008, 7:38pm, phoenixjim wrote:
I just signed up to reply to this topic - a lot of good information on these boards :)

My question is, how would i go about creating a "slipstreamed" vanilla install disk? This info seems to include enough to do just that, but I'm a bit lost as to the process involved. I could use an updated install disk (without the "modifications"), so would that be possible?

IOW, no special boot loader, no modified OSInstall package, just updated files as needed... made for a real mac ;)

Thanks for the info here, and thanks to any who respond as well :)
Yes, this is possible. You could use a modified/simplified version of my script. Another option is to use the InstaDMG script that STLVNUB mentioned earlier.
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by ritalin on Sept 18, 2008, 9:43pm

Okay here is v10.5.3 (Updated with new instructions @ 19 Sep 2008, posted old version last night :-[)

This version is for use with the MacOSXUpdCombo10.5.5.pkg and can be used for AMD and Intel machines. (Maybe I should release a couple of quick updates so to get some naming parity.)

Still uses 10.5.4 XNU for AMD. We must wait for Apple to release the 10.5.5 source before we can build a new XNU for AMD and none-SSSE3 64bit CPUs.

Tested and working on my HP Pavilion a6557.uk


Re: How to make a 10.5.4 Install DVD/USB Stick
Post by phoenixjim on Sept 18, 2008, 9:54pm

Ritalin, Thank you kindly :) Sorry for the rambling reply...

Instadmg looks very interesting, but seems not to be available atm. Now your method shows the internals of one way to make it happen - and I've proven it works on my #2 system :)

Sound, video and network out of the box (nvkush selected during install, added dsmos and removed apple thermal) using the stagexnu efi kernel (second kernel option). USB working. Booting from a grub command line, no -v no -f no -legacy :) Reboots fine as well. Only "issue" I have is that I used the 10.5.4 combo update, but the install reports itself as 10.5.1 (the version of the base disk I used).

QE/CI reported as working by system profiler - haven't put a game on it yet to really test it though. Have to modify partition lineup and make a backup... and find a different way to make it boot (probably using XP boot loader, as now Linux is redundant).

So, if your method works this well on that system, I'm sure it can be made to work well for a standard install. I just need to figure out what to keep and what to strip out for the vanilla version :)

Thanks again Ritalin - and everyone :) Nice work!

Re: How to make a 10.5.5 Install DVD/USB Stick
Post by ritalin on Sept 20, 2008, 9:45pm

Patched 10.5.5 XNU boots on my AMD Phenom
:)

[image] [image]
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by mitchde on Sept 22, 2008, 6:41pm


Sept 20, 2008, 9:45pm, ritalin wrote:
Patched 10.5.5 XNU boots on my AMD Phenom
:)

[image] [image]


gratulation. I hope you get the new kernel 9.5 (now Alpha9) also working on your AMD system.


Re: How to make a 10.5.5 Install DVD/USB Stick
Post by rickygtl on Sept 23, 2008, 6:56am

ritalin£¬great job,dude
I have now a leopard retail dvd,the Leopard 9a581,and comboupdate 10.5.5
can i install some pkg. files like GMA950 drivers, which i extract from iakto4.i and works perfectly well.
one more question, i'm wondering is it possible to add some good applications into the final install iso image, if so, how? I prefer an install dvd image like kalyway's, i'd like to install iphoto, iwork, pacifist blah blah blah,the files I'd like to add is about 100MB in total. so is it gonna affect the final size of the iso image, or affect my installation after i burn it into a 4.7gb dvd?
thx a lot for you guys' help first!
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by ritalin on Sept 23, 2008, 5:21pm


Sept 23, 2008, 6:56am, rickygtl wrote:
ritalin£¬great job,dude
I have now a leopard retail dvd,the Leopard 9a581,and comboupdate 10.5.5
can i install some pkg. files like GMA950 drivers, which i extract from iakto4.i and works perfectly well.
one more question, i'm wondering is it possible to add some good applications into the final install iso image, if so, how? I prefer an install dvd image like kalyway's, i'd like to install iphoto, iwork, pacifist blah blah blah,the files I'd like to add is about 100MB in total. so is it gonna affect the final size of the iso image, or affect my installation after i burn it into a 4.7gb dvd?
thx a lot for you guys' help first!


For a standard run (no user updates) the patcher uses about 3.7Gb of the DVD, so you have room about a gigs worth installed apps. You can add anything you like as long as it is in the correct pkg format. The apps you mention all come as pkgs, so just add the pkg into the user updates folder.
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by originalmacnut on Sept 23, 2008, 9:06pm

Hi ritalin,
I was wondering if you could tell me what I'm doing wrong?
I've attached a .txt file I copied from terminal.
10.5.3 error
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by rickygtl on Sept 24, 2008, 1:47am

ah,sorry to bother u again,ritalin.
Thanks for your quick answer first,great buddy!

my laptop is HP DV6205US,
interl 945 chipset family
SATA: samsung 120GB
CPU: interl core duo T2250
RAM:1G+512MB
Graphics: GMA950(got blue screen after the apple log showed up while installing jas 10.5.4,

cos no supporting drivers for this graphic in this version of jas.tried to press F8 before installing and type in -s,didnt work cos computer restarts automatically for no reason; installed iaktos 4i now,perfect solution,gonna use its driver in my later own dvd)
wifi: broadcome
network:intel prove100
intel high deifinition audio
double layer dvd

Now have iaktos10.5.4 and vista running in laptop, kalyway 10.5.2 in my portable hard drive

just had a quick look of all the others' Q&A,already figured out some problems myself

the following should ask for you guys' help
I have a copy of leopard10.5.0 and comboupdate 10.5.5

Questions:
1.Does the combo update 10.5.5 already include the updates to itunes 8 and quicktime 10.5.5?
if not,i should place these updates into Apple_Update_PKGs. And select the MacOSXUpdCombo

update first,

2.I am gonna drag my applications pkg. files into User_Update_PKGs,

pacifist,perian,stuffexpander and so on,alll downloaded from their official websites,

suppose they are in correct pkg format and wont mess up my insatllation.
a. i didnt see INTEL GMA950 but only GMA X3100.PKG in your OSinstall.pkg,so if I put my
own GMAP50.PKG in the User_Update_PKGs folder,everything will be fine,right? and I
wont come across blue screen like what I met in JAS 10.5.4?
b. no matter it's driver pkgs to support my hardware configs, or just system

applications like stuffexpander,I should all place the pkgs files to the

User_Update_PKGs folder,right? The Apple_Update_PKGs folders are for comboupdate and
updates for itunes, frontrow and ilife, am i right?
c. My own pkgs will appear in the options list when I run the script. So during the
installatin process, my application pkgs will be included in the options list,right?

3. about clean up the system's languages to save more room for my applications.
I am a rookie with those commands and scripts in mac,I went through your scripts,but

still have no idea what things in the system will be deleted after running the

OSx86_Patcher_v10_5_3 scripts.Printers drivers?Xcode?Additional fonts?Language support?

I figured out from your OSx86_Patcher_v10_5_3.sh that some languages will be deleted.
Here is part of the scripts

echo "\tPlease select from one of the available language packs:"
echo; printf '\a'
PS3='
Enter your choice as a numeric value: '
select a in "English" "Dutch" "Danish" "Finnish" "Polish" "Russian" "Swedish" "Brazilian Portuguese" "Portuguese" "Simplified Chinese" "Spanish" "Traditional Chinese" "French" "German" "Italian" "Japanese" "Korean" "Norwegian"
do
case "$a" in
"") echo "You must select one of the above!";echo "Hit Enter to see menu again!" ;;
*) break ;;
esac
done
languageChoice=`echo "$a" | sed 's/ //g'`

so after I see this in the terminal, I shall type in "French",right?
I prefer to use French and English only.
Will the printers drivers be deleted by your scripts?


4.the most important of all, thanks a lot for all the great work you are doing here,thumbs up!Fingers crossed for great solutions for building my own install dvd. ;D


Re: How to make a 10.5.5 Install DVD/USB Stick
Post by rickygtl on Sept 24, 2008, 3:34am

one more word,I'd like to install chemelon only,great breakthrough in os86.

Re: How to make a 10.5.5 Install DVD/USB Stick
Post by rickygtl on Sept 24, 2008, 8:48am

<choice id="choice24" title="Intel Onboard Video" start_selected="false" start_enabled="false" start_visible="true"></choice>
<choice id="choice25" title="Intel GMA 900" start_selected="false" start_enabled="true" start_visible="true">
<pkg-ref id="com.ritalin.pkg.AppleIntelIntegratedFramebuffer 10.4.4"></pkg-ref>
</choice>
<choice id="choice26" title="Intel GMA 950 and X3100" start_selected="false" start_enabled="true" start_visible="true">
<pkg-ref id="com.ritalin.pkg.Intel GMA X3100"></pkg-ref>


Do i need to change some thing in the OSinstall.mpkg
I just found out your distribution dist scripts like above,
which set every choices to destination file and will appear in options list during the install process.

The question is, if u add my applications pkg. files in the user updates pkgs folder, do i need to add some scripts to the orignal one to make the application options list appear in the options list?
if not,that will be cool,i prefer to let all my applications installed by default. If i have to add scripts, what and how?

That's all the questions i have so far, thanks,pal
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by ritalin on Sept 24, 2008, 7:38pm


Sept 23, 2008, 9:06pm, originalmacnut wrote:
Hi ritalin,
I was wondering if you could tell me what I'm doing wrong?
I've attached a .txt file I copied from terminal.
10.5.3 error

Before you run the script have a look in the Disk_Images directory of the patcher, is there a file named pkgRoot? Also look in the /Volumes directory of your hard disk, is there a directory named pkgRoot? If either of those are present then delete them.

Re: How to make a 10.5.5 Install DVD/USB Stick
Post by ritalin on Sept 24, 2008, 8:01pm


Sept 24, 2008, 1:47am, rickygtl wrote:
ah,sorry to
Questions:
1.Does the combo update 10.5.5 already include the updates to itunes 8 and quicktime 10.5.5? Answer: No
if not,i should place these updates into Apple_Update_PKGs. And select the MacOSXUpdCombo

update first, Answer: Yes

2.I am gonna drag my applications pkg. files into User_Update_PKGs,

pacifist,perian,stuffexpander and so on,alll downloaded from their official websites,

suppose they are in correct pkg format and wont mess up my insatllation.
a. i didnt see INTEL GMA950 but only GMA X3100.PKG in your OSinstall.pkg,so if I put my
own GMAP50.PKG in the User_Update_PKGs folder,everything will be fine,right? and I
wont come across blue screen like what I met in JAS 10.5.4? Answer: Maybe
b. no matter it's driver pkgs to support my hardware configs, or just system

applications like stuffexpander,I should all place the pkgs files to the

User_Update_PKGs folder,right? The Apple_Update_PKGs folders are for comboupdate and
updates for itunes, frontrow and ilife, am i right? Answer: Yes
c. My own pkgs will appear in the options list when I run the script. So during the
installatin process, my application pkgs will be included in the options list,right? Answer: They will appear in the option list during the script. During the installation they are installed by default and don't appear in the option screen.

3. about clean up the system's languages to save more room for my applications.
I am a rookie with those commands and scripts in mac,I went through your scripts,but

still have no idea what things in the system will be deleted after running the

OSx86_Patcher_v10_5_3 scripts.Printers drivers?Xcode?Additional fonts?Language support?

Answer: Nothing is deleted from the system you run the script from. Things like: Printers drivers, Xcode, Additional fonts, Language support etc... are not included in the installer to save space. They can all be installed later from the original instal DVD if required.
I figured out from your OSx86_Patcher_v10_5_3.sh that some languages will be deleted.
Here is part of the scripts

echo "\tPlease select from one of the available language packs:"
echo; printf '\a'
PS3='
Enter your choice as a numeric value: '
select a in "English" "Dutch" "Danish" "Finnish" "Polish" "Russian" "Swedish" "Brazilian Portuguese" "Portuguese" "Simplified Chinese" "Spanish" "Traditional Chinese" "French" "German" "Italian" "Japanese" "Korean" "Norwegian"
do
case "$a" in
"") echo "You must select one of the above!";echo "Hit Enter to see menu again!" ;;
*) break ;;
esac
done
languageChoice=`echo "$a" | sed 's/ //g'`

so after I see this in the terminal, I shall type in "French",right? Answer: No, each language is given a numeric value, you select the corresponding number.
I prefer to use French and English only.
Will the printers drivers be deleted by your scripts? Answer: They are not included, you can install them later from the original DVD.


4.the most important of all, thanks a lot for all the great work you are doing here,thumbs up!Fingers crossed for great solutions for building my own install dvd. ;D


Re: How to make a 10.5.5 Install DVD/USB Stick
Post by originalmacnut on Sept 24, 2008, 8:03pm


Sept 24, 2008, 7:38pm, ritalin wrote:

Sept 23, 2008, 9:06pm, originalmacnut wrote:
Hi ritalin,
I was wondering if you could tell me what I'm doing wrong?
I've attached a .txt file I copied from terminal.
10.5.3 error

Before you run the script have a look in the Disk_Images directory of the patcher, is there a file named pkgRoot? Also look in the /Volumes directory of your hard disk, is there a directory named pkgRoot? If either of those are present then delete them.


I got it, for some reason I have to enable to view hidden files, Other than that it's working perfect. Though I do think it's my settings and not your package.
Thanks again.
-Omn
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by ritalin on Sept 24, 2008, 8:05pm


Sept 24, 2008, 8:48am, rickygtl wrote:
<choice id="choice24" title="Intel Onboard Video" start_selected="false" start_enabled="false" start_visible="true"></choice>
<choice id="choice25" title="Intel GMA 900" start_selected="false" start_enabled="true" start_visible="true">
<pkg-ref id="com.ritalin.pkg.AppleIntelIntegratedFramebuffer 10.4.4"></pkg-ref>
</choice>
<choice id="choice26" title="Intel GMA 950 and X3100" start_selected="false" start_enabled="true" start_visible="true">
<pkg-ref id="com.ritalin.pkg.Intel GMA X3100"></pkg-ref>


Do i need to change some thing in the OSinstall.mpkg Answer: No
I just found out your distribution dist scripts like above,
which set every choices to destination file and will appear in options list during the install process. Answer: No, they are installed by default.

The question is, if u add my applications pkg. files in the user updates pkgs folder, do i need to add some scripts to the orignal one to make the application options list appear in the options list? Answer: See above.
if not,that will be cool,i prefer to let all my applications installed by default. If i have to add scripts, what and how? Answer: You don't need to do this. See above

That's all the questions i have so far, thanks,pal

Re: How to make a 10.5.5 Install DVD/USB Stick
Post by ritalin on Sept 24, 2008, 8:09pm


Sept 24, 2008, 8:03pm, originalmacnut wrote:

Sept 24, 2008, 7:38pm, ritalin wrote:

Before you run the script have a look in the Disk_Images directory of the patcher, is there a file named pkgRoot? Also look in the /Volumes directory of your hard disk, is there a directory named pkgRoot? If either of those are present then delete them.


I got it, for some reason I have to enable to view hidden files, Other than that it's working perfect. Though I do think it's my settings and not your package.
Thanks again.
-Omn

Do let me know how thing go. Was there something to be deleted? The script is meant to tidy up for its self, so there shouldn't have been.
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by rickygtl on Sept 25, 2008, 2:27am

everything becomes so easy when I tried to use the patch in terminal, genius work to make it so easy for rookies like me,ritalin!
Just type in the numeric value,and there you go,wow
Didnt know that cos I was checking the patch scripts in windows environment!

So i put the comboupdate and quicktime 10.5.5 in the apple update pkgs,the comboupdate worked,quicktime didnt succeed,guess next time I should not add this update.

For the user update pkgs,I found a "bug"
i draged GMB950.pkg into this folder,then when i ran the patch script in the terminal, it showed the options like this 3)GMA 4)950,no matter what I typed,3 or 4,it wouldnt work.So i restart everything all over again, and changed GMA950.PKG to GMA.PKG,done!

The scripts will delete ppc code and unnecessary languages, i like it ;D so i get a ISO image and gonna burn it into dvd today and see if it works or not, thanks a lot!

I'll post my result as soon as i finish my instal. :)




Re: How to make a 10.5.5 Install DVD/USB Stick
Post by rickygtl on Sept 26, 2008, 1:31am

???I add pacifist,iphoto,onyx,adobe reader,ppfmatic and stuff in the user update pkgs,
and comboupdate10.5.5 and Java for Mac OS X 10.5 Update 2, terminal shows they all succeeded.
during the process terminal,I choose everything step by step correctly,i'm sure about that,cos after all was done,I check the scripts again, it said everything was successful in the lines.
then I burn it into dvd using disk utility,it failed...
so i log in windows vista environment and burn it again using alcohol one time and nero another time, succeed in buring and the checksum is right, too.

Then i restart laptop and boot from the dvd, i typed -v and both 2 dvds get stucked in the same YELLOW lines saying something about FAILED TO LOAD EXTENSION, AND ACHI and something, have no idea where I screwed it up... ???

Later,i did everything all over again,select 2 when asked about AMD compatiblity, then video card I chose 12 GMA950&GMA X3100, INTERL PROVE 100 for network,language English, for apple updates I chose comboupdate10.5.5 only, and then my application pkgs all selected.
Terminal said everything was successful and I burn it in windows visat using alcohol again,then boot from dvd again, stucked in the same place...

is it possible because i chose the 2rd option when asked about whether I need AMD compatibility? I need only to build my own instal dvd for my laptop and some common applications i use very often.

Re: How to make a 10.5.5 Install DVD/USB Stick
Post by rickygtl on Sept 26, 2008, 7:32am

Failed again,
after boot from dvd,it says fail to load extension org.tgvbd.driver.acp1ps2mub
from path "uuld"
waiting for boot volume with uuid 9514RCDR-BD9C-35.........
waiting on <dict id="0"><key>
ot-uuid-nedia</string></dict>
appleinelpidpata:secondary pci ide channel is disabled

I took a photo,not clear enough,the above is all i got.

Re: How to make a 10.5.5 Install DVD/USB Stick
Post by stlvnub on Sept 27, 2008, 10:43am

Will 'hopefully' be releasing INSTAHackintosh V0.1 very soon.
Here is the readme.

----------------------------------------------------------------------------
INSTAHackintosh V.01
-------------------------
Disclaimer:
--------------
This is not entirely my own work.
I found some scripts that I thought could be of use with some modifications.
As far as I know they are in Public domain.
CONSIDER IT IN THE BETA STAGE.

Based MAINLY On These Scripts

InstaDMG,InstaNBI and parts of Ritalin's Great Patcher.
********************************************
Credits really go to all concerned with the above scripts.
*********************************************
Still here?? OK lets move on.

What is it??
-------------
A Retail Leopard DVD Patcher/Updater.
Consisting of two scripts:-

INSTAHackintosh.sh handles the INSTALLED side.
DVDMaker.sh handles the INSTALLER side.

INSTALLED = System that gets 'Installed'
INSTALLER = System for MacOSXInstall.iso
Get it?? Good.

What does it do??
--------------------
Allows a Retail Leopard Install DVD to be
'Upgraded' to the Latest Version with whatever
Apple Updates and Custom Packages
you need.
e.g
10.5.0 Retail to 10.5.5 Retail for Installer AND Installed.

What Hardware does it support??
-------------------------------------
C2D Using DFE-132 CDBootloader for Virgin Installs.
No disks swapping or Toast Disk Image Merge involved.

AMD and P4 MAY work with appropriate Kernel/Kexts.

Folder Structure
------------------
DVDFiles - Files needed for Installer.(Do Not Touch These)
DVDImageOutput - MacOSXInstall.iso from DVDMaker.sh
DVDMaker.includes - includes file for DVDMaker.sh
DVDMaker.sh - Script file that builds Installer MacOSXInstall.iso and Base.pkg
DVDPackages - Packages to be included in Installer System.
DVDScratch - Scratch Folder for DVDMaker.sh.
InstallerBaseCaches - BaseImageCache Folder for generated cache.dmg
InstallerBaseFiles - Folder structure for All Base Files (BaseOS,BaseUpdates,CustomPKG)
InstallerBaseImage - System.dmg built from INSTAHackintosh.sh
INSTAHackintosh.sh - Script file that builds System.dmg
Logs - Contains log files from builds.
README.rtf - DOH!!
ToDo.rtf - ToDo List

How to use??
---------------
Place INSTAHackintosh Folder on Desktop.
Make sure you have at least 20+ gig free.(Needs plenty of free HD space).

Place 'Mac OS X Install DVD.dmg' image in InstallerBaseFiles/BaseOS Folder
MUST BE NAMED AS ABOVE!!!
This is for the INSTALLED System.
There is also InstallerChoices.xml for auto package selection.
DO NOT DELETE THIS OTHERWISE IT WILL DO COMPLETE SELECTION.


Place any updates in InstallerBaseFiles/BaseUpdates/01-??
Each update in its own Folder in order of updates.
e.g. MacOSXUpdCombo10.5.5.pkg will go into 01
QuikTime755_Leopard.pkg will go into 02
FrontRowUpdate2.1.6.pkg will go into 03 etc.
CAUTION:Make sure updates are in CORRECT order.
01 is installed first the 02 then 03 etc.

Place any Custom Packages you want for the INSTALLED SYSTEM in
InstallerBaseFiles/CustomPKG Folder
same criteria as per above.
e.g. ALC889A.pkg in 01
BootDelay.pkg in 02
JMicron.pkg in 03 etc.
These DON'T have to go in correct order.

Place any packages you need for the INSTALLER System into
DVDPackages Folder.
These should be kernel pkgs or kext pkgs needed to get DVD to boot.
Probably but not necessarily the same packages as in CustomPKG

To Get It to work.
--------------------
Open terminal.
type 'su'.
(Need 'su' as script can take 1 hour or more to run)
enter PW.
Use Finder to open up INSTAHackintosh Folder.
Drag and drop INSTAHackintosh.sh onto terminal.
Press Enter.
Script will run and generate the cache.dmg and System.dmg.
Installer iso and Base.pkg will be made from these.

How Long??
--------------
INSTAHackintosh.sh will take about 40 minutes on a E8200.
(Subsequent runs will take about 28 minutes as it uses the cache.dmg)

Then DVDMaker.sh is run to generate the MacOSXInstall.iso in the
DVDImageOutput Folder.
This will take about 24 minutes as it generates the Base.pkg
for OsInstall.mpkg to use AND the System for the INSTALLER DVD.

You can run DVDMaker.sh again to generate a new MacOSXInstall.iso
if you need to change any packages for Installer OR Installed.
Just put appropriate packages into
InstallerBaseFiles/CustomPKG Folder
and
DVDPackages Folder.

Burn the iso to DVD or restore it to HD/USB
DVD takes a while to load.

Enjoy..
-----------------------------------------------

Keep you posted.
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by originalmacnut on Sept 27, 2008, 4:40pm

STLVNUB,
Would it be Possible to also have DFE-132 installed, along with the Retail installed?
If so, would building a script that could delete offending .kext in the extensions be hard.
I guess what I'm trying to ask, Is there anyway to build this, so it installs DFE with the Retail install & remove the Files from the Extensions that is already in the DFE extra folder. More less making it a full vanilla install, or Mod install depending the .kext or kernel you include as a user.
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by stlvnub on Sept 27, 2008, 7:21pm


Sept 27, 2008, 4:40pm, originalmacnut wrote:
STLVNUB,
Would it be Possible to also have DFE-132 installed, along with the Retail installed?
If so, would building a script that could delete offending .kext in the extensions be hard.
I guess what I'm trying to ask, Is there anyway to build this, so it installs DFE with the Retail install & remove the Files from the Extensions that is already in the DFE extra folder. More less making it a full vanilla install, or Mod install depending the .kext or kernel you include as a user.


I don't think there should be any reason to do that.
Kexts in the Extra/Extensions folder are always loaded first.

But it could probably be done just never worried about it myself.

Re: How to make a 10.5.5 Install DVD/USB Stick
Post by originalmacnut on Sept 27, 2008, 7:32pm


Sept 27, 2008, 7:21pm, stlvnub wrote:


I don't think there should be any reason to do that.
Kexts in the Extra/Extensions folder are always loaded first.

But it could probably be done just never worried about it myself.


On my system, If I don't delete them, I can't use my PS2 Keyboard. ( I know, PS2, but I like it )
*edit* 9/27/08
AppleACPIPS2Nub Fixed my problem with PS2 loading, so everything works great.


Sept 24, 2008, 8:09pm, ritalin wrote:

Sept 24, 2008, 8:03pm, originalmacnut wrote:


I got it, for some reason I have to enable to view hidden files, Other than that it's working perfect. Though I do think it's my settings and not your package.
Thanks again.
-Omn

Do let me know how thing go. Was there something to be deleted? The script is meant to tidy up for its self, so there shouldn't have been.


It was user error :) I got it working, works good. I've since Moved to DFE-132 though for mostly vanilla install though.

Re: How to make a 10.5.5 Install DVD/USB Stick
Post by stlvnub on Sept 27, 2008, 9:05pm


Sept 27, 2008, 7:32pm, originalmacnut wrote:

It was user error :) I got it working, works good. I've since Moved to DFE-132 though for mostly vanilla install though.


And this is what INSTAHackintosh is FOR.


Re: How to make a 10.5.5 Install DVD/USB Stick
Post by stlvnub on Sept 27, 2008, 9:29pm

Just Released.
GUID only install, at the moment.

Important Note:
One of the Packages that gets installed is named Instauser_10.5.pkg
This will create a user named 'instadmg' with password 'password' automatically.
If you DON'T want this feature, just delete the package.
Its in InstallerBaseFiles/CustomPKG Folder

Important Note2:
Please try this out on a 'cloned' OR 'spare' system as being
BETA there is the possibility of bugs.
Running as Root so take precautions.

Important Note3:
If your setup is CLOSE to my setup you will only need to
setup the appropriate files.
BaseOS image and updates and run INSTAHackintosh.sh.

Otherwise get the appropriate dfe-132 kexts for your setup
and re-make the DFE-Installer package that you should
also have downloaded.

Enjoy.
Link to INSTAHackintosh
http://www.mediafire.com/?myhnogzwm50

Anybody wishing to make their own DFE-Installer.pkg pertaining to their own setup
need to grab this as well. Contains my packagemaker project files.
http://www.mediafire.com/?jqwuggynrno

Re: How to make a 10.5.5 Install DVD/USB Stick
Post by originalmacnut on Sept 27, 2008, 10:31pm

Thanks STLVNUB,
I've downloaded it and Poked around, Looks like it's nicely done.
This is going to save me alot of time installing in the Future.
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by admin on Sept 27, 2008, 10:52pm

This looks v interesting. I have downloaded and added my packages, but at the end, the macosx.iso is only 40 megs in size?? Surely it should be a number of gigs? Wonder what I messed up, will try again tomorrow.
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by stlvnub on Sept 28, 2008, 12:33am


Sept 27, 2008, 10:52pm, admin wrote:
This looks v interesting. I have downloaded and added my packages, but at the end, the macosx.iso is only 40 megs in size?? Surely it should be a number of gigs? Wonder what I messed up, will try again tomorrow.


Man, thats gota be the worlds smallest Leopard Install DVD!!!
Does it install??(ha ha)

Check the logs, may give you clue.
Of course there is always the possiblilty I GOOFED somewhere in zipping the files.
Will try downloaded one myself and see how it goes.
edit:
You may have run DVDMaker.sh first.
You need to run INSTAHackintosh.sh first.
Just make sure it is setup properly first.
Now I'm firsty...

edit:
Just finished a run with the downloaded pack.
Working as expected on MY system.
What did your packages consist of??
Of course being beta there are bound to be bugs.
You may have discovered the first one.

Re: How to make a 10.5.5 Install DVD/USB Stick
Post by alvinsclee on Sept 28, 2008, 7:47am


Sept 14, 2008, 2:48pm, ritalin wrote:

As for the Samsung, make a pkg with the three patched kexts you mentioned and place it in the User_Update_PKGs folder. If you don't know how to make a pkg, let me know.

For GFX selecting:
Quote:
None # Usually results in VESA graphics mode (No acceleration)
and booting in safe mode is the best option until you figure out what works.



Ritalin > Report #3: Tried again on my Samsung NP-Q35... this time I noted that I do not have to replace that 3 files mentioned in my earlier posts! All I need to do is to replace 1 file (AppleIntelIntegratedFrameBuffer.kext) with an older version and the GMA950 video works again. I have been using v10.4 of your installer, as this is the best version (v10.5.x keep rebooting the laptop halfway, despite me trying all kinds of BIOS settings and kernel flags).

That laptop is now running Leopard 10.5.5, with apparently no problems receiving automatic updates.

Alvin
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by ritalin on Sept 28, 2008, 10:38am


Sept 28, 2008, 7:47am, alvinsclee wrote:

Sept 14, 2008, 2:48pm, ritalin wrote:

As for the Samsung, make a pkg with the three patched kexts you mentioned and place it in the User_Update_PKGs folder. If you don't know how to make a pkg, let me know.

For GFX selecting:and booting in safe mode is the best option until you figure out what works.



Ritalin > Report #3: Tried again on my Samsung NP-Q35... this time I noted that I do not have to replace that 3 files mentioned in my earlier posts! All I need to do is to replace 1 file (AppleIntelIntegratedFrameBuffer.kext) with an older version and the GMA950 video works again. I have been using v10.4 of your installer, as this is the best version (v10.5.x keep rebooting the laptop halfway, despite me trying all kinds of BIOS settings and kernel flags).

That laptop is now running Leopard 10.5.5, with apparently no problems receiving automatic updates.

Alvin


Thanks for the feedback Alvin, glad to here you got it working. I'm taking some time out from developing this script, I may or may not return to it. However there is in development a much better script that builds install discs. The script isn't publicly available yet, but take my word for it, it blows anything that is currently available out of the water. Hopefully it will be released soon.

TTFN
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by ritalin on Sept 28, 2008, 10:53am


Sept 27, 2008, 7:32pm, originalmacnut wrote:


Sept 24, 2008, 8:09pm, ritalin wrote:

Do let me know how thing go. Was there something to be deleted? The script is meant to tidy up for its self, so there shouldn't have been.


It was user error :) I got it working, works good. I've since Moved to DFE-132 though for mostly vanilla install though.


Thanks for getting back to me. I found problems in the latest script with kext permissions, resulting in me being unable to access my iDisk, also with Mail not remembering password. To be fair plenty of real mac suffered the same issues, so maybe it wasn't my scripts fault.
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by ritalin on Sept 28, 2008, 11:09am


Sept 26, 2008, 7:32am, rickygtl wrote:
Failed again,
after boot from dvd,it says fail to load extension org.tgvbd.driver.acp1ps2mub
from path "uuld"
waiting for boot volume with uuid 9514RCDR-BD9C-35.........
waiting on <dict id="0"><key>
ot-uuid-nedia</string></dict>
appleinelpidpata:secondary pci ide channel is disabled

I took a photo,not clear enough,the above is all i got.


It looks like my script has failed to produce a DVD that supports you hardware. You should try one of the numerous pre made install DVDs that are available (they are all much the same, I can't recommend one over another).
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by ritalin on Sept 28, 2008, 11:26am

@stlvnub

INSTAHackintosh V0.1 sound like an interesting idea. Although currently of limited use to my AMD hardware (this will hopefully change with the new Voodoo XNU with on the fly CPUID patching). My C2D is currently out of action so I can't test out your script, sorry. Hope you enjoyed creating it and learn some new stuff along the way.
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by stlvnub on Sept 28, 2008, 12:19pm


Sept 28, 2008, 11:26am, ritalin wrote:
@stlvnub

INSTAHackintosh V0.1 sound like an interesting idea. Although currently of limited use to my AMD hardware (this will hopefully change with the new Voodoo XNU with on the fly CPUID patching). My C2D is currently out of action so I can't test out your script, sorry. Hope you enjoyed creating it and learn some new stuff along the way.


I have a suspicion that dfe-132 WILL work on AMD.
Just install DFE-Installer package to a 'Cloned' system to try it out.
Boot with -v -f
Need to do this once or twice to rebuild kext caches.

May need to place your needed kexts in Extra/Extensions folder.
Need to edit any kexts info.plist to include
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
</dict>
as the last entry to get them to load.
Check out the info at InsanelyMac for that.

After all DFE-132 is mainly the kext loader for the kernel so I'm
assuming any kernel SHOULD work,well it does with p4 sse2 etc.

Worth a try if you have the time.
I'd be surprised if it DIDN'T work.
I'd try it myself if i could.

It should also work on Genuine Macs, (anyone out there???)
Just don't install any hackintosh packages and adjust script to do the blessing etc.

See ya.



Re: How to make a 10.5.5 Install DVD/USB Stick
Post by ritalin on Sept 28, 2008, 2:25pm


Sept 28, 2008, 12:19pm, stlvnub wrote:

Sept 28, 2008, 11:26am, ritalin wrote:
@stlvnub

INSTAHackintosh V0.1 sound like an interesting idea. Although currently of limited use to my AMD hardware (this will hopefully change with the new Voodoo XNU with on the fly CPUID patching). My C2D is currently out of action so I can't test out your script, sorry. Hope you enjoyed creating it and learn some new stuff along the way.


I have a suspicion that dfe-132 WILL work on AMD.
Just install DFE-Installer package to a 'Cloned' system to try it out.
Boot with -v -f
Need to do this once or twice to rebuild kext caches.

May need to place your needed kexts in Extra/Extensions folder.
Need to edit any kexts info.plist to include
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
</dict>
as the last entry to get them to load.
Check out the info at InsanelyMac for that.

After all DFE-132 is mainly the kext loader for the kernel so I'm
assuming any kernel SHOULD work,well it does with p4 sse2 etc.

Worth a try if you have the time.
I'd be surprised if it DIDN'T work.
I'd try it myself if i could.

It should also work on Genuine Macs, (anyone out there???)
Just don't install any hackintosh packages and adjust script to do the blessing etc.

See ya.




The problem with AMD and dfe-132 isn't dfe-132 per se. You can use dfe-132 with AMD, it will work, but the point of using dfe-132, as you say, is to leave the partition containing the OSX install as standard ("vanilla") and load the kext and (possibly the XNU) from a "different" location. This is good because if it works you can update the OSX install without breaking you system. Only the partition containing the "vanilla" OSX install will be affected by the Apple update, the patches in the "different" location will be unaffected. In this case people often incorrectly state that they are running a "vanilla" install, they aren't (that's impossible without true mac or cloned hardware). What they are actually doing is running a patched OSX install made up from the "vanilla" OSX install from one partition and patches from the "different" location. So why won't this work with an AMD processor? Well the OSX system is littered with binaries which check for a CPUID of GenuineIntel, when the AMD unit returns AuthenticAMD the binary won't run. To get round this at the moment we patch all of the binaries with CPUID checks. So the "vanilla" OSX install is no longer "vanilla", more of a raspberry with a chocolate flake in it, and any Apple update can brick the system. So if we are going to patch the CPUIDs we may as well add the patches that would reside in the "different" location as well. So on AMD this means using dfe-132 instead of chameleon is a bit of a broken pencil...
That is until the new Voodoo XNU is released with CPUID on the fly patching.

Well that is the way I see it.

Re: How to make a 10.5.5 Install DVD/USB Stick
Post by stlvnub on Sept 28, 2008, 8:03pm

OK understand now,so will come in handy soon then.
Good.

Re: How to make a 10.5.5 Install DVD/USB Stick
Post by adderall on Oct 6, 2008, 7:49pm

I have a quick suggestion for ritalin's project. The StripPPC script can safely be applied to /System/Library/CoreServices for a moderate savings of about 20+ MB. I have used tools such as Xslimmer or Monolingual to strip those apps on every Intel Mac I own and I've never once encountered a problem.

I've also pointed it at a few other folders:
/System/Library/Automator | 8mb savings
/System/Library/QuickTime | 22mb


P.S. Maybe this is already removed, but the Alex voice takes 670mb.
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by hackz on Oct 21, 2008, 3:31pm

Hi there i've fellowed all the instruction but tring to boot from an USB key it's hang on for a looong time.
My Laptop is a Acer Aspire 9300,AMD Turion 64 with a GeForce 7300 Graphc card,Anyone has installed a Leopard distro on it?
If yes Could you point to me the exact way?I prefer to stay on patching my retailed Leopard DVD
Thanks in advance for answering me
Re: How to make a 10.5.5 Install DVD/USB Stick
Post by ritalin on Oct 29, 2008, 8:11pm

After taking a break from development of this script I have re-written it and started a new but similar project here.