Well I finally got around to figuring this out and here is how to do it.
The following will enable you to use all 6 SATA ports on the Mac Pro Early 2008
It might enable AHCI on other Mac platforms, however I have none to test with.
There was mention of a MacBook Pro user enabling AHCI for faster drive access in Windows on the OnMac forum.
This will let you add your Blu Ray or DVD SATA drives to your Windows install without losing one of your hard drive bay Sata ports.
This will increase your data transfer speeds in Windows from the 100mb speed of the legacy mode to the native 1.5gbps or 3.0gbps of your SATA drive.
I give credit to pipomolo42 for figuring out that it can be done.
And for the Modified Stage1 file for the GRUB boot loader.
It was done on the
OnMac Forums in the middle of 2007 in an attempt to enable RAID 5 in Windows.
However it wasn't easy for the casual user or power user to get done with out having major headaches.
Here are the links to the required files that will be needed.
Download and install rEFIt from inside OS X
Windows XP/Vista x86/x64 Intel Matrix Storage Manager Drivers - Direct from Intel Website
Ubuntu Live 8.04.1 AMD64/EM64T Desktop Version - Download from your nearest location, make sure to choose the desktop version for the 64 bit based systems, this is a CD based version and will therefore fit on a CD-R.
boot.zip
The attachment "boot.zip" contains the Modified Stage1, Stage2 and Menu.lst that are needed for the GRUB installation to work properly on the Mac Pro.
----------------------------------------------------------------------
There are several methods that you can use to setup your system.
I will go through Vista and XP for those that are already installed.
It is possible to install fresh versions of the OS by loading the install disc
through grub and providing the drivers for the AHCI controller via USB
for Vista or slipstreamed in XP or Vista.
1. Load Live CD
- Run Partition Editor
- Create a small FAT32 Partition at the
beginning of the drive
- I chose to make a 100mb partition and formatted it to FAT32
- This re-sized and moved my XP partition down the drive by 100mb - this took about 45 mins
2a. Reboot into XP (if using Vista skip this step and use step 2b)
- Force the installation of the AHCI mode driver over the Legacy driver
- Open device manager
- Under IDE / ATA section open properties for the "Intel® 631xESB/6321ESB Ultra ATA Storage Controller - 2680"
- Update the driver for 2680 with one labeled 2681 (ESB2 SATA AHCI Controller)
- You will need to uncheck the box that limits you to only known supported drivers for your hardware
- Once installed it will require a restart
- Attempting to restart into XP after this will leave you with a BSOD and instant reboot, this is caused because XP is loading the AHCI driver and it is failing to load because the hardware is still in legacy mode.
2b. Vista only
- Run Regedit
- Navigate to "HKLM\System\CurrentControlSet\Services\msahci"
- edit the "Start" key and change the value from what it is to "0"
- this will tell Vista to check for AHCI on next boot and install the AHCI driver if it is in AHCI mode
3. Load the Live CD again
- Copy the provided stage1, stage2, menu.lst to the following location on the 100mb partition
/boot/grub/
- Time to install GRUB bootloader
4. Open Terminal - enter following commands
sudo grub --device-map=/dev/null
- This will tell GRUB to ignore the built in device map of grub and that you will define a new one.
device (hd0) /dev/sda
- This maps your first hard drive as the device "hd0" in grub - keep in mind that GRUB counts up from 0
- grub will echo the command to confirm it was accepted.
find /boot/grub/stage1
- This will echo the location of the stage1 file - ex: (hd0,2)
-This would translate to hard disk 1 partition 3 for normal people
- You will use the (hdX,Y) for the next step
root (hd0,2)
- This tells grub where to obtain the stage1, stage2, menu.lst files from
setup (hd0)
- installs grub bootloader to MBR of first hard drive in system
- it will echo if the installation has succeeded or had errors
quit
- to quit grub
exit
- to close terminal
5. Restart and remove Live CD
6. From rEFIt Menu choose boot Linux from HD (the Penguin icon)
7. It will load Grub then show a boot menu for
- Windows XP in AHCI Mode
and
- Windows Vista in AHCI Mode
8. Take it from there and enjoy having 6 Sata ports that have the proper performance with NCQ enabled
--------------------------------------------------------
You may need to edit the "menu.lst" file for the appropriate locations of the operating systems on your machine.
On my system I am using an IDE drive for my XP install and that is also where grub is installed to.
I have 4 hard drives installed 1 IDE, 3 SATA.
I have 1 OS installed on each of their own physical drive.
On your system you might not be using /dev/sda because that is most likely going to be your Mac OSX drive
Chances are you will use /dev/sdb for the second sata bay in your case.
AHCI_wor...in_vista.JPG
AHCI_working_in_XP.JPG
Edit reason:
Swapped this post to beginning with the 4th post to have the HOWTO be the beginning for the topic.
For some reason this topic will not notify me via email about replies so if I don't respond to questions right away that is most likely the reason.
I do however check back often.