Jump to content
1 post in this topic

Recommended Posts

***THIS POST WILL BE EDITED/UPDATED IN A FEW DAYS***

***I FELT THAT IT WAS GOOD ENOUGH TO GET PEOPLE STARTED***

 

Gigabyte G33M-DS2R: 4 hard drives, Vista on MBR, Leopard (Vanilla & EFI V8+) on GUID: Install & dual boot guide. Floppy drive needed for safety.

 

 

How is this guide different from others? I read through countless number of guides, but none of them suited my configuration. I wanted to keep Vista and OS X on separate hard disks and be able to dual boot without fiddling with the BIOS every time I wanted to switch OS's. Why bother to keep Vista? Games. Period. (DiRT, CoD4, Devil May Cry 4, GRAW 2, GR Vegas 2, NFS ProStreet, Madden '08, Far Cry 2, …etc) At least until they start producing more quality games after CoD4 for Mac.

 

If you follow this guide, you can boot Vista by default. If you want to boot from OS X, you just pop in the floppy drive and select the disk with OS X on it! If you want to reboot to Vista, just boot up your computer without the floppy! The boot loader is very fast and it will be least of your worries. You can actually load the Smart Boot Manager from Hiren's Boot CD to the MBR of your spare hard drive, if you don't intend to use your spare drive to load OS's. That way you won't even need the floppy, but I won't cover the steps to do that, because one mistake can cost you hours. Screen shots for the Smart Boot Manager can be found on the internet. If you don't mind the clunky interface, follow these steps!

 

 

My System configuration:

 

Motherboard: Gigabyte GA-G33M-DS2R

CPU: Q6600 @ 3.0 Ghz

RAM: 4 x 1 GB DDR2

Hard drives: 4 SATA drives (1 for OS X, 1 for Vista, 2 others for data)

Graphics card: eVGA 8800GT SSC

Sound card: X-Fi XtremeAudio (not using in Leopard, since I couldn't find drivers. Integrated ACL889a is being used instead.)

 

 

BIOS configuration before installing Leopard:

 

AHCI/RAID : Disabled

SATA 0-1 MODE: Disabled

 

 

OS config before Leopard:

 

Vista x64 on Disk 0 running SATA as IDE and AHCI controller not installed (disabled in BIOS)

 

 

Software & Hardware needed to install:

 

Hiren's Boot CD 9.5 image

 

OS X 10.5 retail image on NTFS drive (like your Vista drive) It's over 6 GB in size, so FAT32 or Leopard file system can't handle it.

 

Kalyway's 10.5.2 or similar install DVD

 

1 extra hard drive

 

1 Floppy Drive (3.5") *You definitely need this if you don't want to experiment and cause headaches. If you don't have it, stop here.

 

 

Background info: I tried to install Tiger last year, but gave up because it was too much of a hassle to get the installers to recognize my system configuration. This year, I tried Kalyway's 10.5.2 with better-than-expected results. Then I got greedy and wanted to take the next step and make it 'Mac Pro' as much as possible by installing from the retail image. That caused a tremendous headache. I lost partitions left and right by using different boot managers, MBR software, partition software… etc. Luckily, I was patient enough and spent 3 days to recover all the 'lost' data with a partition recovery program (which took forever and I don't plan on going through it again!). So, to help others who have similar configurations as I do, I am making this guide.

 

 

I'll repeat some of the things to reinforce it. I, myself, tend to skim through instructions and sometimes miss an important point.

 

 

Preparation (Part I): Make Windows Vista run with AHCI support

 

Warning: If you just enable AHCI (in BIOS) and try to run Windows Vista, it will crash with BSOD.

 

1. Exit all Windows-based programs.

 

2. Click Start, type regedit in the Start Search box, and then press ENTER.

 

3. If you receive the User Account Control dialog box, click Continue.

 

4. Locate and then click the following registry subkey:

 

 

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci

 

5. In the right pane, right-click Start in the Name column, and then click Modify.

 

6. In the Value data box, type 0, and then click OK.

 

7. On the File menu, click Exit to close Registry Editor.

 

8. Restart your computer. Vista will recognize the AHCI controller and install its default driver. You can either leave it or update it with the drivers from the Gigabyte website. I personally updated the drivers. To update the drivers, follow these steps.

Vista will redetect your hard drives and you'll need to reboot again

 

Burn Hiren's Boot CD now if not done so already!

 

 

Okay, so you have your vista running with AHCI. Now you won't have to mess with the BIOS setting every time you want to switch from Vista to OS X.

 

 

AS ALWAYS, YOU SHOULD BACK UP ALL YOUR PERSONAL FILES. YOU MAY END UP DESTROYING PARTITIONS AND OVERWRITING THEM BY ACCIDENT.

 

 

Installation (Parts I, II, III, IV, and V)

 

 

Part I: Installing Kalyway 10.5.2 on a spare HD

 

*Important: you need to make GUID partition for two hard drives at this point. One for Kalyway and another for Retail Leopard.

  • Boot from the Kalyway DVD
  • Choose English and click the arrow
  • When the 'Welcome' window shows up, go into Utilities -> Disk Utilities
  • At this point, make two GUID partition drives. 1 For Kalyway and 1 for Retail Leopard. Default formats should be "Mac OS Extended (Journaled)" and the Options should be set at "GUID Partition Table."
  • Click "Apply"
  • Continue to install (it should be intuitive)

 

*Additionally, you can download and use "Kalyway resetter" after installation to change OS X setting back to default, if you intend to keep the Kalyway install. But if you want to reformat the spare hard drive for other applications, don't bother to install the resetter. I'm not going to explain in depth how to install Kalyway, because it's really simple. Just follow the instructions and it will be fine.

 

 

Part II: Installing OS X Leopard Retail

 

*You should have OS X Leopard Retail (Mine was 10.5) image on one of your NTFS (Windows x64) drives. Kalyway 10.5.2 should have made the NTFS drives automount at start-up, so you can search through them.

 

1. Installing EFI and making the retail drive active (bootable)

 

a. Extract and place the EFI folder on the desktop of the Kalyway desktop.

 

http://www.mediafire.com/?u20krmkhdbk

 

*Change the folder name to EFI

 

(the EFI folders should have two folders: KEXT and PC_EFI_V80)

 

b. Get your disk volume information my going to Finder -> Applications -> Utilities -> Disk Utilities. You can right click and select 'Info'

 

c. Right click and eject the Volumes where you will install the retail Leopard.

 

d. Open terminal (from Utilities) and type the following commands:

 

>> sudo –s

 

(Enter)

 

(type your password)

 

(Enter)

 

(Don't forget to change KalywayMac & KalywayUser according to your install)

 

>> cd /Volumes/KalywayMac/Users/KalywayUser/Desktop/EFI/pc_efi_v80

 

(Enter)

 

(the commands below are an example. Change it to refect your rdiskXsY and rdisk X. You can verify it by using Disk Utilities. ***Be extremely careful! It can ruin your partition information if you select the wrong disk. It can be recovered though, but it takes a long time!***)

 

>> ./startupfiletool /dev/rdisk0s2 ./boot_v8

 

(Enter)

 

>> dd if=./guid/boot1h of=/dev/rdisk0s2 bs=512 count=1

 

(Enter)

 

>> dd if=./guid/boot0 of=/dev/disk0 bs=400 count=1

 

(Enter)

 

 

***********************************************

 

***If you did it right, it should look something like this***

 

bash-3.2# ls

 

.CFUserTextEncoding Desktop Music

 

.DS_Store Documents Pictures

 

.Trash Downloads Public

 

.bash_history Library Send Registration

 

.fontconfig Movies Sites

 

bash-3.2# cd desktop

 

bash-3.2# cd EFI

 

bash-3.2# ls

 

.DS_Store EFI.sh leopatch pc_efi_v80 postpatch.sh

 

bash-3.2# cd pc_efi_v80

 

bash-3.2# ./startupfiletool /dev/rdisk0s2 ./boot_v8

 

HFS+ filesystem detected

 

Looking for 1 words free

 

reading 4096,4096

 

Marking word 499

 

writing back 4096,4096

 

allocated blocks 32 at start 15968

 

bash-3.2# dd if=./guid/boot1h of=/dev/rdisk0s2 bs=512 count=1

 

1+0 records in

 

1+0 records out

 

512 bytes transferred in 0.017674 secs (28969 bytes/sec)

 

bash-3.2# dd if=./guid/boot0 of=/dev/disk0 bs=400 count=1

 

1+0 records in

 

1+0 records out

 

400 bytes transferred in 0.022213 secs (18007 bytes/sec)

 

bash-3.2#

 

(if this is what you saw, then 99% sure you were successful)

 

***********************************************

 

 

2. Installing Retail Leopard

 

a. Mount the retail image of Leopard by doubt clicking the image file

 

b. Open terminal if it's not open already from the previous step

 

c. Type these commands:

 

>> cd /Volumes/Mac\ OS\ X\ Install\ DVD/System/Installation/Packages

 

(Enter)

 

>> open OSInstall.mpkg

 

(Enter)

 

d. Follow the intuitive instruction and complete the install

 

e. Go back to your open terminal and type the following:

 

>> /usr/sbin/vsdbutil -a /Volumes/Macintosh

 

(Enter)

 

 

3. Saving, then replacing vanilla kexts with modified kexts

 

a. Open terminal if it's not open already from the previous step

 

b. Type the following commands:

 

>> sudo mkdir /Volumes/RetailMac/vanilla

 

(Enter)

 

>> cd /

 

(Enter)

 

>> cd /Volumes/KalywayMac/Users/KalywayUser/Desktop/EFI/

 

(Enter)

 

>> sudo cp -r /Volumes/RetailMac/System/Library/Extensions/AppleACPIPlatform.kext /Volumes/RetailMac/vanilla/

 

(Enter)

 

>> sudo cp -r /Volumes/RetailMac/System/Library/Extensions/AppleAHCIPort.kext /Volumes/RetailMac/vanilla/

 

(Enter)

 

>> sudo cp -r /Volumes/RetailMac/System/Library/Extensions/AppleEFIRuntime.kext /Volumes/RetailMac/vanilla/

 

(Enter)

 

>> sudo cp -r /Volumes/RetailMac/System/Library/Extensions/AppleHDA.kext /Volumes/RetailMac/vanilla/

 

(Enter)

 

>> sudo cp -r /Volumes/RetailMac/System/Library/Extensions/AppleIntelCPUPowerManagement.kext /Volumes/RetailMac/vanilla/

 

(Enter)

 

>> sudo cp -r /Volumes/RetailMac/System/Library/Extensions/AppleSMBIOS.kext /Volumes/RetailMac/vanilla/

 

(Enter)

 

>> sudo cp -r /Volumes/RetailMac/System/Library/Extensions/IOAHCIFamily.kext /Volumes/RetailMac/vanilla/

 

(Enter)

 

>> sudo cp -r /Volumes/RetailMac/System/Library/Extensions/IOATAFamily.kext /Volumes/RetailMac/vanilla/

 

(Enter)

 

>> sudo cp -r /Volumes/RetailMac/System/Library/Extensions/IONetworkingFamily.kext /Volumes/RetailMac/vanilla/

 

(Enter)

 

>> sudo rm -r /Volumes/RetailMac/System/Library/Extensions/AppleEFIRuntime.kext

 

(Enter)

 

>> sudo rm -r /Volumes/RetailMac/System/Library/Extensions/AppleHDA.kext

 

(Enter)

 

>> sudo rm -r /Volumes/RetailMac/System/Library/Extensions/AppleSMBIOS.kext

 

(Enter)

 

>> sudo rm -r /Volumes/RetailMac/System/Library/Extensions/AppleIntelCPUPowerManagement.kext

 

(Enter)

 

>> sudo cp -r kext/ALCinject.kext /Volumes/RetailMac/System/Library/Extensions/

 

(Enter)

 

>> sudo cp -r kext/AppleHDA.kext /Volumes/RetailMac/System/Library/Extensions/

 

(Enter)

 

>> sudo cp -r kext/dsmos.kext /Volumes/RetailMac/System/Library/Extensions/

 

(Enter)

 

>> sudo cp -r pc_efi_v80/AppleSMBIOS.kext /Volumes/RetailMac/System/Library/Extensions/

 

(Enter)

 

>> sudo cp -r kext/AppleAHCIPort.kext /Volumes/RetailMac/System/Library/Extensions/

 

(Enter)

 

>> sudo cp -r kext/IOAHCIFamily.kext /Volumes/RetailMac/System/Library/Extensions/

 

(Enter)

 

>> sudo cp -r kext/IOATAFamily.kext /Volumes/RetailMac/System/Library/Extensions/

 

(Enter)

 

>> sudo cp kext/IONetworkingFamily /Volumes/RetailMac/System/Library/Extensions/IONetworkingFamily.kext/Contents/MacOS/

 

(Enter)

 

>> sudo cp kext/AppleACPIPlatform /Volumes/RetailMac/System/Library/Extensions/AppleACPIPlatform.kext/Contents/MacOS/

 

(Enter)

 

>> sudo rm -r /Volumes/RetailMac/System/Library/Extensions.mkext

 

(Enter)

 

 

Part III: Updating Leopard to 10.5.2 from 10.5.0/10.5.1

 

a. Restart your computer

 

b. Enter BIOS settings

 

c. Change Hard Drive Boot priority to make the OS X retail drive boot first

 

d. Your OS X retail with Vanilla kernel and EFI V8+ should boot and start

 

e. Download the 10.5.2 combo update: http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=17357&cat=1&platform=osx&method=sa/MacOSXUpdCombo10.5.2.dmg

 

f. Open Terminal (from Utilities) and type the following:

 

>> sudo –s

 

(Type your password)

 

(Enter)

 

>> while sleep 1; do rm -rf /System/Library/Extensions/AppleIntelCPUPowerManagement.kext; done

 

(Enter)

 

(Leave the terminal window open)

 

g. Run the installer by mounting the downloaded Combo image

 

h. DO NOT REBOOT ONCE THE INSTALLATION IS FINISHED!

 

i. In the terminal window type:

 

>> sudo nano /System/InstallAtStartup/scripts/1

 

j. Use your keyboard to navigate and find the following line:

 

>> /System/Library/Extensions/Dont Steal Mac OS X.kext

 

k. Erase the line above and replace it with the following line:

 

>> /System/Library/Extensions/dsmos.kext

 

l. Hold Control and press 'O'

 

m. Hold Control and press 'X'

 

n. Type the following

 

>> exit

 

(Enter)

 

o. Close Terminal

 

p. Download the following file:

 

http://rapidshare.com/files/97132769/Filesv3.zip.html

 

q. Unzip it to the desktop and rename the main folder to 'EFI'

 

(Same as Part 2, step 1-a. BUT FILES ARE UPDATED FOR 10.5.2!)

 

r. Type the following commands:

 

>> cd /

 

(Enter)

 

>> cd /Volumes/RetailMac/Users/RetailUser/Desktop/EFI/

 

(Enter)

 

>> sudo rm -r /Volumes/RetailMac/System/Library/Extensions/AppleEFIRuntime.kext

 

(Enter)

 

>> sudo rm -r /Volumes/RetailMac/System/Library/Extensions/AppleHDA.kext

 

(Enter)

 

>> sudo rm -r /Volumes/RetailMac/System/Library/Extensions/AppleSMBIOS.kext

 

(Enter)

 

>> sudo rm -r /Volumes/RetailMac/System/Library/Extensions/AppleIntelCPUPowerManagement.kext

 

(Enter)

 

>> sudo cp -r kext/ALCinject.kext /Volumes/RetailMac/System/Library/Extensions/

 

(Enter)

 

>> sudo cp -r kext/AppleHDA.kext /Volumes/RetailMac/System/Library/Extensions/

 

(Enter)

 

>> sudo cp -r pc_efi_v80/AppleSMBIOS.kext /Volumes/RetailMac/System/Library/Extensions/

 

(Enter)

 

>> sudo cp -r kext/AppleAHCIPort.kext /Volumes/RetailMac/System/Library/Extensions/

 

(Enter)

 

>> sudo cp -r kext/IOAHCIFamily.kext /Volumes/RetailMac/System/Library/Extensions/

 

(Enter)

 

>> sudo cp -r kext/IOATAFamily.kext /Volumes/RetailMac/System/Library/Extensions/

 

(Enter)

 

>> sudo cp kext/IONetworkingFamily /Volumes/RetailMac/System/Library/Extensions/IONetworkingFamily.kext/Contents/MacOS/

 

(Enter)

 

>> sudo cp kext/AppleACPIPlatform /Volumes/RetailMac/System/Library/Extensions/AppleACPIPlatform.kext/Contents/MacOS/

 

(Enter)

 

>> sudo rm -r /Volumes/RetailMac/System/Library/Extensions.mkext

 

(Enter)

 

s. REBOOT and now you have Leopard 10.5.2!!!

 

 

Part IV: BIOS setting for Hard Drive Boot Prioriy

 

a. Set the Floppy drive to boot first.

 

b. Set the CD drive to boot second

 

c. Set the Hard Disk to boot third

 

d. Set Hard Disk Boot Priorities

 

1.
Set the Vista disk to boot first.

 

2.
Set the Retail OS X disk to boot second.

 

*It can be swapped, but this is how I set mine.

 

 

Part V: Installing boot loader onto A:\ drive

 

*If you don't have a floppy drive, I recommend that you get it.

 

a. Boot with Hiren's Boot CD

 

b. Follow menu to select Smart Boot Manager

 

c. When it starts to load drivers for the 50MB Ram drive, pay attention, because some drivers will hang the process. In that case, just select "no" when it asks you if you want to install the driver.

 

d. If you follow the instructions, you can load the Smart Boot Manager onto the floppy drive.

 

e. I'll go in more detail if people ask for it.

 

 

Other Fixes:

 

com.apple.Boot.plist can be modified for your Graphics Card and you can also add "-v" flag to see what may be slowing down your boot time (mine takes approx 15 seconds to load with AHCI and SATA Native Mode enabled).

 

Minor Fixes that I need to work on still:

 

 

With dual booting, you'll notice that Time will be different between Windows and OS X. It's because one uses GMT and the other doesn't. Change either one to GMT time zone. Another Fix: Appletime.exe for Windows.

×
×
  • Create New...