Jump to content

Arbor

Just Joined
  • Content count

    3
  • Joined

  • Last visited

About Arbor

  • Rank
    InsanelyMac Protégé
  1. PCEFI v9 Installer Raid Edition !

    Wow! That was way easy compared to before! And cleaner, too...no more excessive shell scripts! Now successfully running 10.6.1 booted off a soft raid with Chameleon 2.0 RC3. Thanks Zef & Trauma!
  2. PCEFI v9 Installer Raid Edition !

    Thanks for the awesome work Trauma! I should have posted this response way long ago, like when I first got this going at the beginning of the year - sorry for the delayed feedback! I started with AquaMac's RAID guide (thanks AquaMac!) and then polished it off with your guide and BootMkextUpdater... I have been successfully booting off a 2 disk Raid 0 striped since the beginning of the year, currently on vanilla Leopard 10.5.8, Chameleon 1.0.12 + PC EFI v9. I did make some modifications to the BookMkextUpdater as shown below. Someone with better know how and patience could probably make this code more modular with further subroutines and variables to shorten the script. Imagine if I were to add a few more disks to the Raid array, this script would get way loooong, albeit with quick cut/paste/edit. Really the only major edit I've made is to edit the Boot.plist file on all of the Boot OSX partitions for each raid slice to account for how disks seem to get randomly assigned everytime you reboot, especially if after adding/removing drives etc. #!/bin/bash . /etc/rc.common # The stop subroutine StopService() { # Insert your stop command(s) below. #1st raid "Boot OSX" partition diskutil mount 24DD1868-72CD-3094-BCF1-2013305456CA sudo rm /Volumes/Boot\ OSX/Backup/Extensions.mkext.previous sudo mv /Volumes/Boot\ OSX/System/Library/Extensions.mkext /Volumes/Boot\ OSX/Backup/Extensions.mkext.previous sudo cp -R /System/Library/Extensions.mkext /Volumes/Boot\ OSX/System/Library/Extensions.mkext sudo rm /Volumes/Boot\ OSX/Backup/mach_kernel.previous sudo mv /Volumes/Boot\ OSX/mach_kernel /Volumes/Boot\ OSX/Backup/mach_kernel.previous sudo cp -R /mach_kernel /Volumes/Boot\ OSX/mach_kernel ##update com.apple.Boot.plist at where it'll actually get read from, during random single BootOSX bootstrap to Raid sudo cp -p /Library/Preferences/SystemConfiguration/com.apple.Boot.plist /Volumes/Boot\ OSX/Library/Preferences/SystemConfiguration/ echo "Fixing new Extensions.mkext Autorisations" sudo chmod 644 /Volumes/Boot\ OSX/System/Library/Extensions.mkext sudo chown root:wheel /Volumes/Boot\ OSX/System/Library/Extensions.mkext echo "Fixing new mach_kernel Autorisations" sudo chmod 644 /Volumes/Boot\ OSX/System/Library/Extensions.mkext sudo chown root:wheel /Volumes/Boot\ OSX/System/Library/Extensions.mkext echo "Unmounting Boot OSX Partition" diskutil unmount 24DD1868-72CD-3094-BCF1-2013305456CA #2nd raid "Boot OSX" Partition diskutil mount B7EBEA64-C23C-3036-90BE-28C9BC911D90 sudo rm /Volumes/Boot\ OSX/Backup/Extensions.mkext.previous sudo mv /Volumes/Boot\ OSX/System/Library/Extensions.mkext /Volumes/Boot\ OSX/Backup/Extensions.mkext.previous sudo cp -R /System/Library/Extensions.mkext /Volumes/Boot\ OSX/System/Library/Extensions.mkext sudo rm /Volumes/Boot\ OSX/Backup/mach_kernel.previous sudo mv /Volumes/Boot\ OSX/mach_kernel /Volumes/Boot\ OSX/Backup/mach_kernel.previous sudo cp -R /mach_kernel /Volumes/Boot\ OSX/mach_kernel ##update com.apple.Boot.plist at where it'll actually get read from, during random single BootOSX bootstrap to Raid sudo cp -p /Library/Preferences/SystemConfiguration/com.apple.Boot.plist /Volumes/Boot\ OSX/Library/Preferences/SystemConfiguration/ echo "Fixing new Extensions.mkext Autorisations" sudo chmod 644 /Volumes/Boot\ OSX/System/Library/Extensions.mkext sudo chown root:wheel /Volumes/Boot\ OSX/System/Library/Extensions.mkext echo "Fixing new mach_kernel Autorisations" sudo chmod 644 /Volumes/Boot\ OSX/System/Library/Extensions.mkext sudo chown root:wheel /Volumes/Boot\ OSX/System/Library/Extensions.mkext echo "Unmounting Boot OSX Partition" diskutil unmount B7EBEA64-C23C-3036-90BE-28C9BC911D90 # End stop command(s). } # The restart subroutine RestartService() { # Insert your start command(s) below. #1st raid "Boot OSX" partition diskutil mount 24DD1868-72CD-3094-BCF1-2013305456CA sudo rm /Volumes/Boot\ OSX/Backup/Extensions.mkext.previous sudo mv /Volumes/Boot\ OSX/System/Library/Extensions.mkext /Volumes/Boot\ OSX/Backup/Extensions.mkext.previous sudo cp -R /System/Library/Extensions.mkext /Volumes/Boot\ OSX/System/Library/Extensions.mkext sudo rm /Volumes/Boot\ OSX/Backup/mach_kernel.previous sudo mv /Volumes/Boot\ OSX/mach_kernel /Volumes/Boot\ OSX/Backup/mach_kernel.previous sudo cp -R /mach_kernel /Volumes/Boot\ OSX/mach_kernel ##update com.apple.Boot.plist at where it'll actually get read from, during random single BootOSX bootstrap to Raid sudo cp -p /Library/Preferences/SystemConfiguration/com.apple.Boot.plist /Volumes/Boot\ OSX/Library/Preferences/SystemConfiguration/ echo "Fixing new Extensions.mkext Autorisations" sudo chmod 644 /Volumes/Boot\ OSX/System/Library/Extensions.mkext sudo chown root:wheel /Volumes/Boot\ OSX/System/Library/Extensions.mkext echo "Fixing new mach_kernel Autorisations" sudo chmod 644 /Volumes/Boot\ OSX/System/Library/Extensions.mkext sudo chown root:wheel /Volumes/Boot\ OSX/System/Library/Extensions.mkext echo "Unmounting Boot OSX Partition" diskutil unmount 24DD1868-72CD-3094-BCF1-2013305456CA #2nd raid "Boot OSX" partition diskutil mount B7EBEA64-C23C-3036-90BE-28C9BC911D90 sudo rm /Volumes/Boot\ OSX/Backup/Extensions.mkext.previous sudo mv /Volumes/Boot\ OSX/System/Library/Extensions.mkext /Volumes/Boot\ OSX/Backup/Extensions.mkext.previous sudo cp -R /System/Library/Extensions.mkext /Volumes/Boot\ OSX/System/Library/Extensions.mkext sudo rm /Volumes/Boot\ OSX/Backup/mach_kernel.previous sudo mv /Volumes/Boot\ OSX/mach_kernel /Volumes/Boot\ OSX/Backup/mach_kernel.previous sudo cp -R /mach_kernel /Volumes/Boot\ OSX/mach_kernel ##update com.apple.Boot.plist at where it'll actually get read from, during random single BootOSX bootstrap to Raid sudo cp -p /Library/Preferences/SystemConfiguration/com.apple.Boot.plist /Volumes/Boot\ OSX/Library/Preferences/SystemConfiguration/ echo "Fixing new Extensions.mkext Autorisations" sudo chmod 644 /Volumes/Boot\ OSX/System/Library/Extensions.mkext sudo chown root:wheel /Volumes/Boot\ OSX/System/Library/Extensions.mkext echo "Fixing new mach_kernel Autorisations" sudo chmod 644 /Volumes/Boot\ OSX/System/Library/Extensions.mkext sudo chown root:wheel /Volumes/Boot\ OSX/System/Library/Extensions.mkext echo "Unmounting Boot OSX Partition" diskutil unmount B7EBEA64-C23C-3036-90BE-28C9BC911D90 # End start command(s). } RunService "$1" Like I said, it appears to have been working well for many months now. If anybody sees any flaws or a way to modularize this further, that would help keep things tidy for others. By the way, does anybody know if this method works with or is even 100% needed for Chameleon 2.0 RC3? There was mention that Chameleon 2 RC2/3 now has RAID support, but I'm not sure what that really entails? I've been tinkering with another single drive to run Snow Leopard 10.6.1 with Chameleon 2 RC3 (currently using Netkas' PC EFI 10.3 in addition), and would like to clone this over onto my existing RAID at some point.
  3. Hi Everyone, Kudos to Zef & Netkas for all their awesome work/posts that helped me get this far! Hope somebody out there can help with this: I've been running a stable 10.5.5 vanilla installation, without sleep mode, for months now (thanks to Kalyway 10.5.2 install and Chameleon EFI 1.0.11, then combo updates via netkas' method of rejecting AppleIntelCPUPowerManagement.kext). My OS boots/runs off of a 2-disk soft raid0 w/ Chameleon Bootloader EFI thanks to this walkthrough: http://aquamac.proboards106.com/index.cgi?...&thread=613 I have attempted to upgrade my bootloader to the one used with PC EFI V9 from http://netkas.org/?p=74. I mounted/unmounted the appropriate RAID slices to copy the new boot file from that netkas page. On a re-attempt (thank goodness for Time Machine Restores), I went ahead and used the same method of using fdlsk and dd to install boot0 & boot1h as with Chameleon 1.0.11 before copying the boot file into each RAID slice's "Apple_Boot Boot OSX" partition At boot, I see that Chameleon 1.0.12 now successfully gets displayed, but then Darwin crashes almost immediately as that semi-transparent curtain of death (guillotine) comes halfway down the screen. I'm guessing maybe the new bootloader wasn't getting the rest of what it was expecting from EFIv9 since I have yet to install it on the actual soft RAID0 drive. Thus, I proceeded to boot to my utility installation of Leopard on another drive and then ran the PC EFI V9 installer, targetting the destination RAID0 drive where I just I also made sure that the proper RAID boot-uuid was still correct in com.apple.boot.plist. The installer ran successfully, but now at boot, all I get is this: boot0: GPT boot0: HFS+ boot0: booting boot0: done I also no longer see the Chameleon 1.0.12 bootloader message after I ran the EFIv9 installer. I haven't even touched 10.5.6 yet...I wanted to see if I can get my existing 10.5.5 working with PC EFIv9 first. One thing that I was never sure about with Chameleon EFI on my RAID0 was that any boot options that I entered after the "press any key to enter boot options" message at boot never seemed to take effect. If I wanted to invoke any boot options, I'd have to edit com.apple.Boot.plist first. Something to do with the Raid setup? What steps did I miss or screw up? I still haven't figured out all the stuff about DSDT yet, though I'm not sure that's needed right now as 10.5.5 was working fine w/ ethernet, audio, video (NVInstaller/NVInject with a 8800GT). Sorry for the long winded message, just wanted to provide all the details I thought necessary (it's my first post!) Thanks for any guidance!
×