Jump to content

PCEFI v9 Installer Raid Edition !


  • Please log in to reply
29 replies to this topic

#21
Embio

Embio

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 976 posts
no problem! it's the least I could do. I'm just glad I didn't waste money on a new drive.

#22
JD Apolo

JD Apolo

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Hi trauma! Thanks for the help. Btw, I pm'd u regarding my problem with my RAID bootup. Thanks!

#23
Trauma!

Trauma!

    Took too much...

  • Members
  • PipPipPipPipPipPipPip
  • 964 posts
  • Gender:Male
  • Location:France
I have answered your PM JD Apolo.

Maybe you could explain it to other users, and see if they are experiencing the same problem !
Here i don't have any problems with boot flags (-v, -f, -x)

Bye.

#24
Trauma!

Trauma!

    Took too much...

  • Members
  • PipPipPipPipPipPipPip
  • 964 posts
  • Gender:Male
  • Location:France
New donwload link added to the first post ! :lol:

#25
3vj3

3vj3

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts
  • Gender:Male
Thank you.

I finally got my RAID array working. I couldn't get it to work for a long time since it seemed that I had some bad file somewhere that prevented my from booting. So I restored from a test disk image, which was basically just a clean install, got it bootable, then used Migration Assistant instead of CCC and it works now.

I still don't know what the file was or where it was. I'm pretty sure it was in the system folder somewhere though, because Migration Assistant doesn't copy that. I don't think it was an extension since I went through an exhaustive search in there and even replaced the entire folder with a clean one.

Once bad file I know of was from Sun's Virtual Box (VBox FltSDrv).

#26
ZION333

ZION333

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts
Hi Trauma
Is anyway can you intergrate the new Chameleon 2.0RC1 boot loader into your raid installer?
Thanks so much for your contribution.

#27
VenimK

VenimK

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts
Made a Clone with superduper, and applied your scripts.
Seem to be working.
Xbench starts @ 198, but end @ 89 for the raid set.

IN my message los there a continues message "AppleRAIDMember::synchronizeCacheCallout: failed with e00002ca on 472DC1D2-0B0A-4FAF-AFB5-C23BC57C9876"

Shouild I be worried about this ??

And my system only boots, when i set HDD in BIOs on IDE Enhanced....

bg
VenimK

#28
Arbor

Arbor

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
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.

[codebox]#!/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"
[/codebox]

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.

#29
Trauma!

Trauma!

    Took too much...

  • Members
  • PipPipPipPipPipPipPip
  • 964 posts
  • Gender:Male
  • Location:France
Hi Arbor,

My answer is definitely yes ! Since Chameleon RC2 apple raid is REALLY supported. No more need to update anything since chameleon is able to load boot.plist and mkext from native boot OSX file system. It's also support reading the "Boot UUID" key inside the Boot OSX boot.plist and even look for your raid volume name !!!

So go ahead that's working automatically and very very well :unsure:, thanks Zef for this !!!

So consider this installer and Startup items totally depreciated.

To moderators : this topic can be closed if you like so.

#30
Arbor

Arbor

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
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!
:thumbsup_anim:





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy