|
Post by STLVNUB on Jul 21, 2008 18:13:57 GMT
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.
|
|
|
Post by ritalin on Jul 21, 2008 21:23:38 GMT
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.
|
|
tek
New Member
Posts: 23
|
Post by tek on Jul 22, 2008 14:22:34 GMT
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.
|
|
|
Post by ritalin on Jul 22, 2008 19:56:15 GMT
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.
|
|
|
Post by aquamac on Jul 22, 2008 21:41:58 GMT
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.
|
|
tek
New Member
Posts: 23
|
Post by tek on Jul 23, 2008 3:49:04 GMT
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.
|
|
|
Post by ritalin on Jul 23, 2008 6:14:09 GMT
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.
|
|
|
Post by ritalin on Jul 23, 2008 6:20:35 GMT
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.
|
|
|
Post by STLVNUB on Jul 23, 2008 20:26:29 GMT
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.
|
|
|
Post by STLVNUB on Jul 24, 2008 7:27:04 GMT
Woot!!! It worked. boy THAT was EASY!!
|
|
tek
New Member
Posts: 23
|
Post by tek on Jul 24, 2008 17:30:23 GMT
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?
|
|
|
Post by ritalin on Jul 27, 2008 8:19:38 GMT
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.
|
|
|
Post by ritalin on Jul 28, 2008 18:49:00 GMT
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:to this:[/li][li]} ] do echo; printf '\a' PS3='Select update to install: ' select selectedUpdate in ${tempPackArray[/li][li]} 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[/quote]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:to this:[/li][li]} 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[/li][li]} } 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."[/quote]Again I have used two arrays instead of writing two files to the hard drive.
|
|
|
Post by ritalin on Jul 28, 2008 21:03:36 GMT
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.
|
|
|
Post by ritalin on Jul 28, 2008 21:05:41 GMT
Woot!!! It worked. boy THAT was EASY!! Do share the info. So what did you do?
|
|