Posted by: observingthedos | June 2, 2007

Installation of Mac OS X 10.4.9 on PC with Windows XP already installed.

First of all the whole process is illegal and you are not supposed to install OS X. The only way to do something like that is if you are an Apple Developer. So I am not responsible for your actions and I do not encourage you to follow this guide. (I don’t know why I am writing all these things, I think I am supposed..)


I installed on my PC which looks like this: Intel Core 2 Duo, EVGA 680i, 2 GB ram, Maxtor 160GB ATA drive (where I will put OS X), 2x SATA drives (Seagate and Western Digital), Seagate FreeAgent USB drive, Gainward 7900GS 512MB, NEC 7173, Plextor DVD-ROM, Logitech MX Revolution mouse and Logitech S510 keyboard mouse set.
I had also succeeded to install OS X (10.4.6 Goatsecx version)on my Laptop which is a Fujitsu-Siemens Amilo M7405 (SSE2) with some minor changes in the hole process.

Things that I used:

a) A prepatched OSX 10.4.8 install image (JaS) with the update for 10.4.9 included. (Don’t ask me where you can download OSX86, not in a comment)
b) A program to partition my drive. I suggest Partition Magic.
c) You need a processor that supports at least SSE2 to make this work.
You can check this with a program called CPU-Z http://www.cpuid.com

And so what I did was:

  1. Burn the image in an empty DVD. (I recommend Nero).
  2. Creation of at least 6GB unallocated space on your hard disk,
    I used 70GB.
    In Partition Magic do the following:

    Choose a Hard Disk
    Click on ‘Resize/Move Partition
    Move the slider to make the partition smaller and hit OK
    Click on ‘Apply’
    Close Partition Magic

  3. Click ‘START > Run…’ and type ‘diskpart’ (without quotes)
  4. Type the following in the command window that will open
    (press enter after you typed in a line):

    list disk
    select disk X
    [Where X the number of your disk] (in my case was 0)
    create partition primary id=af
    list partition
    select partition Χ
    [Where X the number of the partition that just been created, it says type unknown]
    active (if this doesn’t work, try ’set active’ without quotes)

  5. Inserting the OSX install disk and reboot. Boot from DVD and when the Darwin boot loader comes up press F8 and then write “–v”. Moreover if you have a 2xcpu processor write “–legacy” (I am not so sure about that. Many say that you have to use this, but for me it work without adding this flag in my boot. But if you have kernel panic or you cannot boot you have to use it every time unless you add it in ‘com.apple.boot.plist’ :scroll down for more info how to edit ‘com.apple.boot.plist’).
  6. After a while you will come up with the install manager choose language and continue on the next screen. An introduction screen will pop up, click continue
  7. On the top of the screen says ‘Utilities’; click it and then click the ‘Disk Utility’.
  8. After it starts select hard disk and then the partition (mine was disk0s1). Press the ‘erase’ button. Set the format to ‘’Mac OS extended (journaled)” (if is not chosen) and name it whatever you want then hit ‘Erase’. When finished close the Disk Utility.
  9. Back to the installation screen, only this time it will have the picture of a hard drive in it or you have to choose the drive that you have already named. Click on this Hard Drive and don’t forget to click on ‘customize’ to move on.
  10. In this screen there are various extras you may or may not need to install OS X. It has an AMD processor option, an Intel option; choose which one is applying to you (and choose only one of the two). It will have various language supports; choose only the languages that you need the rest uncheck them. Then some printer support; again choose only what you want. X11 (I have never installed this, but it looks like a development kit for Apple developers), NVIDIA Titan/ATI drivers for graphics cards (Install only one if you need to) Moreover, as it was in my case, I install TiTan for NVIDIA and after the reboot I end up with a restart message. If somewhere in the options there is a choice between SSE2 or SSE3, pick only one, otherwise it will mess something up. But if there is only one choice (SSE2/SSE3), that makes it easier. Also there are some additional fonts again choose only what you need. For the rest choose only what you need and read the comments of each choice at the bottom of the screen, this step is crucial. This one screen can make or break your install, so choose wisely. If you screw something up its easy to start over so don’t worry.
  11. After you’ve decided what to install click the button. OSX will install after a thorough disk check. Unless time is an enormous factor, don’t skip the disk check! It checks the DVD for errors, so if is corrupted it will save you a lot of time.
  12. Now it will take a while to finish, the length of time depends on your hardware configuration. For me it took a little more than a half an hour (in my laptop took little bit more than an hour). Then OSX will need to restart (Mine stopped in a black screen so I needed to press reset). Remove the installation DVD and go through the setting up your Mac steps.
  13. From now on the installation has finished cross your finger that everything went well (in my case they didn’t)
  14. Now you need to configure the bootloader for duaol boot. If you can boot Windows then things are much easier; You have to copy “CHAIN0” from the Mac OS X installation DVD to your windows root (C:\) and then open the boot.ini file in a Notepad (it is also in root C:\). In case that you can find it you have to “Tools” then “Folder Options”, “View” tab and to check the “show hidden files and folders” and to uncheck the “hide protected operating system files (Recommended)”. Add this to your boot.ini file “C:\chain0=”Mac OS x86″.
  15. If you can’t boot windows or you don’t want to use Darwin bootloader you can use WinGrub; it’s an open source boot loader which is really handy.
    You can find it here: Grub
    Here is the process to install WinGrub:

    If your Windows installation is on the first hard drive (or only hard drive), it has an identifier of (hd0). If Windows is on the first partition of the first hard drive, its identifier is (hd0,0)
    If OSX is on the second partition of the first hard drive, its identifier is (hd0,1)
    (hdx,y) where “x” is the hard drive (starting with 0) and “y” is the partition (starting with 0)
    If your situation does not match the above, adjust the (hdx,y) identifiers below

    i) Open WINGRUB, use the “Base Setup” menu item, click the “Copy stage files” checkbox, then “OK”.
    ii) Use “Install Grub”, install GRLDR using the BOOT.INI method
    iii) Verify that things have gone well so far. Open the “menu.lst” file (might be in C:\grub) and look for something like this:

    title Boot Windows NT/2K/XP
    root (hd0,0)
    chainloader +1


    iv) Reboot, and verify that you can get into Windows.
    v) Reboot again and when it gets to the grub console, press ‘c’ to enter command mode
    vi) Type the following command (replace (hd0,0) and (hd0) with correct identifiers if necessary)

    root (hd0,0)
    setup (hd0)


    vii) If all goes well, GRUB will be installed to MBR (the GNU way), reboot
    viii) Using GRUB to boot your Windows NT/2K/XP
    ix) Edit “menu.lst” as follows (remember to use correct identifiers if different from what is written)

    timeout 10
    title Windows XP at (hd0,0)
    root (hd0,0)
    chainloader +1

    title OSx86 at (hd0,1)
    root (hd0,1)
    makeactive
    chainloader – -force +1


    x) Use “Install Grub”, “Remove” grub from BOOT.INI “

  16. Now if you can boot OS X, unzip the JAS combo update follow the instructions and apply the update.

Extra things:
Up until now many things don’t work like SATA drives, 256MB ram instead of 512MB for my video card, NVIDIA network cards. In general Nvidia 680i is not the best choice but still is fun to try it. These are some extra things that I did to make things work; I will add more things if I make any progress.

  • Always make backup of everything that you change or delete. So as you can restore them. To restore something you have to boot in single user mode (“-s” flag during boot) or to boot from the installation DVD open Terminal (Utilities tab at the top). In single user mode you have to mount your OS X partition giving “/sbin/mount –uw /”. From the DVD is already mounted. For delete is “rm” and “cp” for copy.
    For example if you messed up with your kernel and you can boot your OS X boot the DVD open Terminal and write the following:

    cd /Volumes/(your partition name) in my case was ‘mac’
    rm mach_kernel
    cd /
    cp mach_kernel /Volumes/
    (your partition name)/
    cd /Volumes/(your partition name)
    chown root:wheel mach_kernel
    chmod 644 mach_kernel
    diskutil repairPermissions /

  • If you end up with a black screen or a restart message or you can boot the first thing that you have to do is to press F8 when the Darwin boot loader comes up (you have to be really fast otherwise it will boot) and then write –v, so as to see where is the problem.
  • If the problem caused by an unrecognized video card or has something do with your video card (it stops responding after the video card messages in verbose mode) try to boot giving “-s” argument so as to enter in single user mode. Then write “/sbin/mount –uw /” after write “cd /System/Library/Extensions/” (I think the command line is case sensitive) and then write “rm –R NVDA* ATI* GeForce*” to delete those files. Now you have to find an appropriate driver for your graphic card. The choices are Titan, Natit or MacVidia. They are in the following addresses:
    Titan
    Natit
    MacVidia
    Also try this one: Aquamac
    (I used the driver form this site) this guy also has some hacked ROMs for nvidia cards, especially if you have a card with 512mb ram you need to hack your card. I haven’t tried yet but it seems to be the only way so as your graphic card to run properly.
  • In case that your keyboard doesn’t work try a USB keyboard or another keyboard
  • I found in some forums that you need “PatchBurn” if you want to write CD or DVD with a non apple recorder. Which is here: PatchBurn

  • Replace “appleSMBIOS” from /System/Library/Extensions/ with a patched version of appleSMBIOS.
  • If your screen resolution is not ok then do the following:
    Press F8 when you boot OS X and then write “?video” this will show you all the possible resolutions. For example that you want 1280x1024x32 then again in the boot write “Graphics Mode”=”1280x1024x32” and if everything goes well and your computer boots with the right resolution, you have to add it to “com.apple.boot.plist” to make it permanent. Now how you edit com.apple.boot.plist; First of all you need to back it up; you can find it in ‘/Library/Preferences/SystemConfiguration’. From there copy it in a backup location. Open terminal and type:

    sudo -s
    cd /Library/Preferences/SystemConfiguration
    pico com.apple.boot.plist

    There you add this after the other options:
    <key>Graphics Mode</key>
    <string>1280x1024x32</string>

    Then CTRL+O to save it CTRL+X to exit.
    Another way to edit it is to copy it in your desktop open it with ‘textedit’ and there you add this:

    <key>Graphics Mode</key>
    <string>1280x1024x32</string>

    Save it and then copy paste it in ‘/Library/Preferences/SystemConfiguration’ so as to replace it (it will ask for administrator password).

Advertisements

Responses

  1. mporw na to exw sta ellinika please?

  2. How did you get your logitech s510 to work with osx? Did you download the driver from logitech for the s530? I’m thinking of purchasing the s510 but am looking for some input as to how well it works first. Thanks.

  3. i am posting this from osx and i did everything you said but i cant boot into windows to do grub

  4. You don’t know what X11 is, but you could figure out all this arcane shite? Classic..

  5. About the logitech s510 I connected it in the usb port and it worked. Sometimes if I had first boot to windows the keyboard did not work and I had to unplug the computer from the power and hold down the power button for couple of seconds until the power led flashes. I don’t remember exactly the reason about that (i found it in a Linux forum), but it could be that windows had reserved the port or the device…

    For booting back to windows you can download the Ultimate Boot CD or even use a copy of Ubuntu Live CD and make with Gparted to make your windows partition or disk Active. Another option but I am not so sure is to edit the “com.apple.boot.plist” and add there:
    Timeout
    8

    And about the X11 comment I don’t think that to know what it is has anything to do with the installation so piss-off and it is a windowing system.

  6. Α και για ελληνικά λίγο δύσκολο. sorry..

  7. Sorry for the question, but how you get your Gainward 7900GS 512MB working with Tiger? I have the same card but can’t make it running. I’ve tried Natit, Titan, NVinject and it always comes to the “black screen”. As I understand you made it without patching the ROM… Could you please explain this part a bit?

  8. I made it without hacking the Rom. If I remember correct I download the driver from the: Aquamac. I had apply the things, as I write above, until the “rm –R NVDA* ATI* GeForce*” so as to delete the existing drivers. And then I add the driver from the Aquamac. My graphic card worked as a 256MB, I think the only way to work as 512mb is to hack the Rom, which I never tried.

  9. I want to buy Logitech S510 too becouse I like black edition and not white (S530). I want to know if all keys work regular (for example command, apple key, ctrl, function keys, etc.) with OSX on a Hackintosh.

    Please let me know. If it’s all ok I will buy it otherwise I will buy mac edition (S530).

  10. I think it was working fine. The think is that i am not sure because my computer crashed, so I cant check it.

  11. eisai megalo hakeroni re johnny

  12. Kalispera,
    I’ve done exactly as you’ve said about grub… but if i select my osx entry to load up (hd0,1) i get windows … which is on (hd0,0) …
    the only way to load leopard up is if i boot from the installation cd … and then it recognises that osx is already installed in hd0,1 and loads normally…
    any ideas?

    thanks

  13. Poios diskos einai active? Nomizw oti to OS X gia na kanei boot prepei na einai auto active alliws den. Me ena programa san to partition magic kane to OS X active meta 3ana prospathhse.

  14. iv done all that installation does finish ok but does not not boot,
    aftes compleeting the installation just sit there witha black blank screen any ideas??
    single pata drive no windows p4 prescot 775

  15. Perhaps is something to do with your graphic card. Try to delete the drivers
    as I say above “try to boot giving “-s” argument so as to enter in single user mode. Then write
    /sbin/mount –uw /
    after write
    cd /System/Library/Extensions/ and then write
    rm –R NVDA* ATI* GeForce*
    Also is case sensitive and put the spaces in between.
    And then see if it boots.

  16. Thank you very much you are the best

  17. Hi there, just became alert to your blog through Google,
    and found that it’s truly informative. I’m going to watch out for brussels.
    I’ll appreciate if you continue this in future. Lots of people will be benefited from your writing. Cheers!

  18. Good article! We are linking to this particularly great content on our
    website. Keep up the good writing.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: