iHackintosh

Jailbreak your iPhone

Dummies guide to Add OSX into XP,LINUX,VISTA Bootloader’s

Advertisements

quad-boot

This guide will show you how to make a dual or triple boot system by adding OSX into XP, VISTA and LINUX bootloader’s.You can use this guide for making a dual boot with OSX & XP or OSX & VISTA or OSX & LINUX or Triple boot sytem with OSX & XP/VISTA & LINUX and finally you can also configure a Quad boot system with OSX & VISTA & XP & LINUX. 

___________________________________________________________________
Guide 1 : Adding OSx86 to the Windows XP bootloader.
___________________________________________________________________

Adding OSX86 to XP bootloader is the easiest hack. The instuctions below may seem long but the process is basically adding chain0 to boot.ini and that’s it. Whilst grub is more powerful, the extra features are not needed so XP’s boot loader will do just fine.

1)Boot Windows XP

2)After Login, Insert the Mac OS X86 DVD and Copy chain0 to the root of the C: drive. You should then have the file C:\chain0. (Chain0 is found on the Mac CD in /user/standalone/i386 but Windows can’t read Mac formatted Discs. It seems that this folder is formatted differently so you might find chain0 in the root of the DVD. Copy/user/standalone/i386/chain0 from this.

3)In the explorer window, go to the “tools” menu and select folder options. Under the “View” tab, check “Show hidden files and folders” and deselect “Hide protected operating system files”.

4)In the root of the C:\ drive, you should now be able to see boot.ini. Right click this file and click “Properties”. In the window that appears, uncheck “Read Only”.

5)Double click boot.ini so it opens in notepad (or some other text editor) 6)On the last line of boot.ini, add C:\chain0=”OSx86

___________________________________________________________________
Guide 2 : Adding OSX86 to Vista Boot-loader.
___________________________________________________________________
1)Boot into Vista. Copy the chain0 file from the Leopard DVD to C:

2)Open the “Command prompt” with “Elevated Admin” privileges from the Start Menu.

3)Type the following into the prompt

bcdedit /copy {current} /d “Mac OS X”
bcdedit /enum active
bcdedit /set {GUID} PATH \chain0

4)In the first command type {current} as it is, literally..nothing else..just {current} with the brackets. In the 3rd command however, replace the {GUID} with the alphanumeric GUID you see in the enumerated list under MAC OS X. You can see this list on your terminal as soon as you type the 2nd command above.

5)Close the Command Prompt and Restart Vista.

6)You Should now be looking at a screen with two options to boot into Mac OSX or Vista.

Select Mac OSX to see if you can boot into it. You should see the familiar Darwin boot Loading screen with the timer going down. If you dont do anything, then it counts to zero and again shows the menu screen with Vista and MAC OSX options. Dont panic!

Again select MAC OS X, and now as the timer counts down, Press F8. You would see a list of partitions on your disk with their names. Select the partition with MAC OSX installed by using up/down arrows and press ENTER.

___________________________________________________________________
Guide 3 : Adding OSx86 to the GRUB Bootloader.
___________________________________________________________________

To add OSx86 to the GRUB menu do this:

The format looks difficult but it is not, In Unix it begins its numbering with 0 (zero). The first number indicates the harddrive number. So, hda is 0, hdb is 1, hdc is 2, and so on. So, more than likely your boot partition is located on hda and in which case 0 is the number you want there. Just remember it’s N – 1.

The second number is the partition number. Again, hda1 is 0, hda2 is 1, and so on. So, say your /boot partition is located at sda5 you’d want to put a 4 there. So, your root entry might look like so on:
root (hd0,4) { Means 5th partition of first harddrive. }

————————————————————————————————-
Ubuntu People Follow this guide.
————————————————————————————————-
1)Copy the folder “i386″ from the OSx cd (which is located at /usr/standalone/i386)and put it in /boot/grub/ The i386 folder is hidden normally so ensure you can see all hidden files in whatever operating system you are currently in.

2)Open Terminal and run this command.
sudo gedit /boot/grub/menu.lst
it will allow to configure your boot order.

3)Edit your OSX in Editor Window.

title OSX86

root (hd0,0)” Replace with your Partition of OSX “

chainloader +1

4)Save & Exit Restart your system and feel the difference.

————————————————————————————————-

Fedora Suse Lover follow this guide.

————————————————————————————————-

To add OSx86 to the GRUB menu do this:

1)Copy the folder “i386″ from the OSx cd (which is located at /usr/standalone/i386)and put it in /boot/grub/ The i386 folder is hidden normally so ensure you can see all hidden files in whatever operating system you are currently in. What I did is copied the files over inwindows to a flash drive and then copied them from the flash drive to my home space and then used the following command in the terminal: cp -r /home/i386 /boot/grub/i386

2)Go To Applications > System > YaST

3)Go To “System” and select “Boot Loader”

4)Click “Add”

5)Select “Other System (Chainloader)”

6)Type in OSx86 for your Section Name and for Device select browse.

7)Browse to where you saved your i386 folder and select the chain0 file. This means you should have /boot/grub/i386/chain0 in the field where it says device8) Click OK and you’re done.

NOTE:If you try editing the menu.list file straight, it will not show OSx as a choice. You must initially use Yast in order to get the option to show in GRUB then if you desire you can edit it manually. .

Pin It

Advertisements

Tags: Boot loaders, Linux, OSX86, Vista, XP

Comments ( 11 )

Have Something To Say ?

  1. DeX April 18, 2010 Reply

    hi
    i have windows xp installed on C drive and windows 7 installed on D drive of my compaq mini 700..i also have a free E drive of 20 GB on my SSD..all are primary partitions.
    plus i have an external HDD where i have spared a 10GB partition for OS X.
    i wanna know which guide to use to install OS X so that it wont disturb my previous two OS and also which drive to use to install the OS X? can it be the E drive on my SSD or should i use the partition on my external HDD?
    also how to configure the boot menu after wards?
    thanks in advance.

  2. Nader Elkhuzundar October 8, 2009 Reply

    @Elliott Morgan
    there are two easy methods to do that
    1. open Command Prompt using administrative privileges and type
    bcdedit /delete {enter the alphanumeric GUID of the Mac OS X that DOESN’T WORK}

    2. download and install EasyBCD from the web go to Add/Remove Entries and click on the Mac OS X that DOESN’T WORK and click on delete button.
    have fun

  3. Elliott Morgan October 2, 2009 Reply

    Hey this kind of worked for me, it some how created 2 ‘Mac OS X’ options in the bootloader one of which doesnt work and the other does…can someone tell me what happened or how to get rid of it.

  4. Sam Deans August 29, 2009 Reply

    THANK YOU SO MUCH THATS AMAZING!! YOU FIXED MAJOR ISSUES I HAD WITH DUAL BOOTING XP AND OSX!!! THANKS!!!!!!!!

  5. EduardoRG June 13, 2009 Reply

    I have in my laptop, installed on my first partition Mac OS 10.5.7, I want to install Vista Ultimate in the second partition. How do I do it without screwing the loading of the MAC OS ?????

    Thanks

  6. UNF February 12, 2009 Reply

    :errata:

    partition table should read as …

    part1. Logical NTFS = Win7
    part3. Logical ext4 = Ubuntu 9.04 /
    part4. Logical ext4 = Ubuntu 9.04 /home
    part2. Logical HFS+ = iPC OSx86 10.5.6

    thanks

  7. mech February 8, 2009 Reply

    hey, i tried this method for adding i386 to the /boot/grub/ folder and it gives me the following:

    Starting up …

    boot1: error

    any ideas how to proceed?

  8. Online poker February 2, 2009 Reply

    Oh, its great!

  9. LioNEXT January 27, 2009 Reply

    Vinay,

    I made a dual boot system a few days ago with OS X and XP. I tried the EasyBCD method (by adding the Vista boot folder in the root of XP) but wasn’t happy that for entering the Mac side, I would have to enter twice to choose the right partition for boot (since partition 1 i.e., XP is flagged, it is automatically chosen as default on darwin screen). So I went with the darwin bootloader where I made the OS X (partition 2) as active, and now at least, I can straightforward go to OS X or hit enter and choose Windows (and it start running directly).

    My question is I made this system for my relative. He is not familiar with this stuff and if something happened to the system eventually, I would be able to help and he may lose entry into both OSes. At least if XP is active, if anything happens to OS X on software update, he will still be able to run XP. That way, I can guide him to trouble shoot the problem. So what is your suggestion to run XP and OS X considering any future problems, ease of entering into either OS, and one which can provide some bells and whistles, like in case of Grub installer you can choose a custom picture. (If I am not mistaken, I cannot use Grub without installing linux on one of the partition or can I?)

    Thanks for the response.

  10. Vinay Prashar January 27, 2009 Reply

    @ jeffc for a multiboot system you have to mdify the guide according to your system for example XP + OSX or XP than Vista + OSX or XP than Vista + OSX than Linux or OSX + LInux.

  11. jeffc January 27, 2009 Reply

    Which guide is used for Triple Boot of OSx86, XP, and Vista? Is the Vista Boot-loader just used for all these?

    I currently have XP installed into 2 bootable partitions. And then want to add Vista and OSx86. I believe that your current guide would limit the number of bootable partitions on the single drive to only 4 OS’s – is that a correct assessment?

    Also should the OSx86 partition in a Triple boot like this be formatted in any specific way and I suppose the guide you have here is just using the MBR for all OS’s.

    What would be the best option if I wanted to run more than 4 instances of OS’s on a single drive? Is is possible to boot OS’s from a secondary (non-primary) drive?

Leave your comment here