Search:  
Gentoo Wiki

HOWTO_Install_MacOSX_after_Gentoo


This article is part of the HOWTO series.
Installation Kernel & Hardware Networks Portage Software System X Server Gaming Non-x86 Emulators Misc

This brief howto wants to help whoever wants to install MacOSX after having installed Gentoo. As you may have noticed, it is not as simple as inserting a MacOSX install disc and rebooting. The MacOSX Disk Utility will refuse to create just a new partition and leave other ones alone. All it wants to do is wipe the inetire disk. Since we went through so much to get Gentoo installed and working like a charm (well at least I did!) we don't really want this. So what can we do? Here is the solution.

Contents

Prerequisistes

You need fully working hfs+ support, some free, unpartitioned space on your disk (you may need to resize your existing partitions)

Creating the OSX partition

To create the OSX partition you will need to boot into Gentoo and use mac-fdisk:

mac-fdisk
<insert code here>

After creating your phisycal partition you will need to use mkfs.hfsplus to create the filesystem. If you don't have it you will have to emerge it:

mkfs.hfsplus <device>

Now make a note of the partition number you have created and boot into the MacOSX installer.

MacOSX's Disk Utility

After the usual greeting + license, fire up Disk Utility from the menu bar. You will see that it can see the new partition but it will not allow you to mount it. Here is the trick: click on the partition and select Erase in the right part of the window. Erase the partition with "MacOS Extended" (Journaled or not doesn't make difference. After a few seconds erasing the partition the installer will see it and will happily agree to install MacOSX on it.


Restoring YaBoot

This part is still missing.

Retrieved from "http://www.gentoo-wiki.info/HOWTO_Install_MacOSX_after_Gentoo"

Last modified: Fri, 05 Sep 2008 10:57:00 +0000 Hits: 436