Jump to content

RAID 0 on 4 ssd's - Windows 7/ Mountain Lion?


  • Please log in to reply
16 replies to this topic

#1
faggus

faggus

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
i have 4 ssd's - 2 striped raid 0 arrays. one set is running mountain lion in apple's software raid config, and the other i want to run windows 7 in raid. i have an asus p6t, it has a jmicron sata raid setup. when i config bios to use the jmicron raid setup, it doesn't have native AHCI, so i can't boot into mountain lion without disabling the hardware RAID config for windows. anyone have any ideas on how to configure this to work?

#2
tot318

tot318

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
I have the same board like you and jmicron raid setup is not compatible with Mac OS X.

#3
eep357

eep357

    Triple Platinum

  • Retired
  • 2,527 posts
  • Gender:Male
  • Location:Dark Side of The Wall
  • Interests:things and stuff
I don't see how having windows hardware raid would prevent Apple software raid from booting other than both the win drives not being accessible in OSX. Wouldn't it be the same result if you completely disabled the jmicron controller in BIOS before booting apple soft raid?

btw: I'm booting ML on 2 SSD RAID-0, with one drive on Marvell sata 3 controller and another on ASMedia sata 3 PCIe card, this configuration proved to be the fastest possible because both drives weren't on the same bus at the same time. approx 800mb/s read vs 500mb/s read when both on same controller

#4
faggus

faggus

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
I can't just setup a hardware raid, because I have to under serial configuration in bios, I have to select IDE, ahci, or raid. So when I select raid, I get the "still waiting for root device" at startup.

#5
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,121 posts
  • Gender:Male
  • Location:Brazil
That happens because changing to RAID mode changes the device ID of the controller, as you can see here:
http://www.insanelym...howtopic=183644

You must make the same modification or use an injector/legacy kext.

Also I believe that Chameleon needs to be installed to a partition that's not part of the software RAID?
Use a USB flash drive or a third, non-raided drive.

#6
eep357

eep357

    Triple Platinum

  • Retired
  • 2,527 posts
  • Gender:Male
  • Location:Dark Side of The Wall
  • Interests:things and stuff
Edit: OK, I just went all out and did the whole write up, why do half right?

Ah yes, but let me clarify what I was mean, and if it doesn't work then my bad. I know the soft raid part does, but haven't tried with windows in hardware RAID. OP, I know you probably already know all this, but added extra details for others who may find it useful. No changes to the intel controller, since there are 2 separate SATA controllers available. First, Intel, which should stay in AHCI (Enhanced) mode as normal:
Attached File  e4283_P6T.pdf (page 82 of 188).png   311.31KB   31 downloads
Then separate Jmicron controller for Windows RAID:
Attached File  e4283_P6T.pdf (page 111 of 188)-1.png   280.2KB   33 downloads
Set to "Super Speed Mode" aka RAID-0 (ooh, sounds fast!)
Attached File  e4283_P6T.pdf (page 112 of 188).png   299.41KB   30 downloads
And get Jmicron drivers for Windows from ASUS:
Attached File  ASUS - Motherboards- ASUS P6T.png   312.14KB   34 downloads
It's possible Windows may not like booting from this RAID controller, but OSX shouldn't care as long as your soft raid is running on the Intel ICH10. Chameleon would be installed to each drives hidden "boot OSX" partition along with /Extra on each and kernel cache will be built on each. OSX cannot boot without kernel cache, i.e. -f, or will get error mach_kernel not found. In /Extra folder of each "boot OSX" partition, in org.chameleon.boot.plist, you must include additional kernel flag
rd=uuid boot-uuid="UUID of your RAID array here, use Disk Utility and select array the Get Info"
Get UUID here:
Attached File  Mikuru.jpg   127.28KB   44 downloadsAttached File  Information_ Mikuru.jpg   89.7KB   57 downloads
Most the boot process takes place from the cache, then once the soft raid kexts are loaded, system can then find the array to finish booting, without this you will get "still waiting on root device"

Here is my entire org.chameleon.Boot.plist so you can get an idea of how it should look:
Attached File  org.chameleon.Boot.plist.jpg   89.94KB   63 downloads

Chameleon along with your Extra folder and updated org.chameleon.Boot.plist all need to be installed onto the boot helper partitions, which are hidden by default and called "Boot OS X", or have seen them without space too like "Boot OSX". They are not striped and are not part of the RAID array, making them readable by the BIOS and by Chameleon. ML RAID array must be created in ML Disk Utility, not Lion. The ML installer also will throw an error if you try to do a clean install direct to RAID, so will need to boot into working ML and clone it to your array. To install Chameleon to the "Boot OS X" helper partitions, First find out the disk # for each one using Terminal and diskutil command and make note of the Disk #, the partition #'s will always follow the same layout where "Boot OS X" will be partition 3( s3 ):
diskutil list
Make note of the disk # for each drive that will make up your array ( rdiskX ) where X is the drive #
Rather than run the Chameleon installer, install the 3 needed Chameleon boot files manually. They are; boot, boot0 and boot1h. If you have Chameleon package installer, they can be extracted to the desktop with Pacifist, or if you grab the binary you can just copy them right over. Either way, put them on the desktop for now along with Extra folder and edited org.chameleon.Boot.plist inside of it along with usual contents like DSDT. The last bit will all be done in terminal. For demonstration purposes, I assume my first hard drive of the array is rdisk1 and the 2nd is rdisk2, substitute with your own BSD drive number obtained via diskutil above.

cd to desktop:
cd ~/Desktop
enter root
sudo -s
install boot0 to MBR, we don't need to worry about partition # here:
fdisk -f boot0 -u -y /dev/rdisk1
fdisk -f boot0 -u -y /dev/rdisk2
Then to install boot1h
dd if=boot1h of=/dev/rdisk1s3
dd if=boot1h of=/dev/rdisk2s3
then need to mount one of the helper partitions to copy our remaining files over, and once done, unmount it then repeat the process for the 2nd helper partition:
diskutil mount disk1s3
cp boot /Volumes/Boot\ OS\ X/
cp -R Extra /Volumes/Boot\ OS\ X/
diskutil unmount disk1s3
then repeat for other partition, will condense into short version cause this post is getting long:
diskutil mount disk2s3
cp boot /Volumes/Boot\ OS\ X/
cp -R Extra /Volumes/Boot\ OS\ X/
diskutil unmount disk2s3
Here's what mounted Boot OSX partition should look like:
Attached File  Boot OS X.png   885.71KB   51 downloads
Now you can have either drive listed as your boot device in BIOS, and pick either Boot OSX partition from Chameleon's boot menu, and your RAID will boot either way

#7
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,121 posts
  • Gender:Male
  • Location:Brazil
Nice work eep.

What's this I've heard about having Chameleon on a "helper partition" on Software RAID systems then?

#8
eep357

eep357

    Triple Platinum

  • Retired
  • 2,527 posts
  • Gender:Male
  • Location:Dark Side of The Wall
  • Interests:things and stuff
Mine is set up completely opposite, where none of my boot drivers are on Intel ICH10 controller, so should be able to hardware RAID it for windows and still boot OSX from non-Intel SATA controller
Attached File  Mac Pro.jpg   164.79KB   22 downloads

Nice work eep.

What's this I've heard about having Chameleon on a "helper partition" on Software RAID systems then?

I will add that part :)

Edit: There, all for you GV! :)

#9
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,121 posts
  • Gender:Male
  • Location:Brazil
That needs to be up in lights, framed and pinned. Or at least put in a FAQ. Excellent work.

Now...where are the moderators of this forum when you need them??

#10
eep357

eep357

    Triple Platinum

  • Retired
  • 2,527 posts
  • Gender:Male
  • Location:Dark Side of The Wall
  • Interests:things and stuff

That needs to be up in lights, framed and pinned. Or at least put in a FAQ. Excellent work. Now...where are the moderators of this forum when you need them??

Probably take out the ASUS/Windows HW RAID specific part at the beginning?

#11
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,121 posts
  • Gender:Male
  • Location:Brazil
Yeah maybe change it a little. But just leave this here the way it is.

Copy the guide to a new post here, it's your baby, it's better if you do it yourself so that you can change things later if you want:
http://www.insanelym...p?showforum=155
Then I'll pin it.

With a nice title like [How-to] Software RAID on JMicron/ICHx or something like that.

#12
TH3L4UGH1NGM4N

TH3L4UGH1NGM4N

    (~_~)

  • Retired
  • 1,156 posts
  • Gender:Male
  • Location:Wonderland
  • Interests:(~_^)
it's already framed in my house GV as eep was the one who helped me get my software raid0 up and running on ML. His guide couldn't be any straight forward unless he came to your house and did the install himself.



#13
eep357

eep357

    Triple Platinum

  • Retired
  • 2,527 posts
  • Gender:Male
  • Location:Dark Side of The Wall
  • Interests:things and stuff

it's already framed in my house GV as eep was the one who helped me get my software raid0 up and running on ML. His guide couldn't be any straight forward unless he came to your house and did the install himself.

Hmm, for a small fee...... :)

#14
faggus

faggus

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
Thx eep. I've gotten it to work on the intel Sata ports via apple software raid, but not the jmicron ports. For some reason only one of my jmicron ports are working. I'm no at my computer now, but I'll try different configurations. The biggest problem I'm having is that windows requires a hardware raid, so I can't dual boot as easily with chameleon.

Good write up,

#15
dmazar

dmazar

    InsanelyMac Sage

  • Coders
  • 274 posts
  • Gender:Male
Hm, it looks like you have to put JMicron controller to AHCI mode when booting OSX?

Some of us Asus users have JMicron in legacy IDE mode, we need AHCI, but that can not be changed in BIOS. Fortunately, that can be fixed from DSDT. See here for links for more info, maybe it will be of some help. You can even try the kext for the start to see if it will work.
http://www.insanelym...howtopic=259327

#16
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,121 posts
  • Gender:Male
  • Location:Brazil
Full guide by eep357 now up here: http://www.insanelym...p?showforum=155

Thanks for sharing dmazar, I pinned your JMicron AHCI topic over there as well.

#17
eep357

eep357

    Triple Platinum

  • Retired
  • 2,527 posts
  • Gender:Male
  • Location:Dark Side of The Wall
  • Interests:things and stuff
Attached File  e4283_P6T.pdf (page 97 of 188).png   305.96KB   10 downloads
Also set this to AHCI, I know it says eSATA and PATA, but you never know, could be something spooky going on there. Default is IDE and don't see how it could hurt to change it to AHCI either way





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