macos.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:46:36 +0200
changeset 1905 fba288d59662
parent 1804 513a1117ccec
child 1912 8b81a8f0f692
permissions -rw-r--r--
Include only local subsections into TOC. This prevent duplication of TOC when build single page HTML document. Also this make unnecessary CSS hack to hide document title as top level section.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

=========
 Mac OS.
=========
.. contents::
   :local:

Free open source repositories for Msc OS X.
===========================================

Fink.
-----

Binary distribution for quick and easy installation, as well as a source
distribution for users preferring more flexibility.

Usually it installed in '/sw' hierarchy.

It uses Defian 'dpkg' and 'apt-get'.

  http://www.finkproject.org/
    Home page,
  http://en.wikipedia.org/wiki/Fink
    Wikipedia.

MacPorts.
---------

Simplify task of compiling and installing open-source software on your Mac.

  http://www.macports.org/
    Home page,
  http://en.wikipedia.org/wiki/MacPorts
    Wikipedia.

Installing Mac OS X in emulator.
================================

Mac OS X in VirtualBox.
-----------------------

Requirements:

 * Processor: Any Intel Processor with VT-x (Virtualization Technology) or AMD-V.
 * RAM: Anything above 1 GB, Recommended 2GB or higher.
 * Disk space: 20GB (minimum)
 * Snow Leopard Retail Disc (or ISO).
 * Virtualbox 3.2.8 (official support for MAC OS X target added since 3.2.6)

Create a new Virtual Machine:

 * System Type: MAC OS X, MAC OS X Server
 * Create Disk (20 GB will suffice)
 * System > Motherboard > Enable IO APIC
 * Acceleration > Enable VT-x/AMD-V
 * Storage > IDE Controller – ICH6
 * Attach New CD drive > select image (OSx86 Leopard)

Under Windows 7 edit file
``С:\User\%UserName%\.VirtualBox\%VMNAME%\%VMNAME%.xml``. Search for block
``ExtraData`` and replace/add nested data::

  <ExtraDataItem name="VBoxInternal2/Devices/e1000f/0/Trusted" value="integer:1"/>
  <ExtraDataItem name="VBoxInternal2/EfiBootArgs" value=" "/>
  <!-- 0 - 640x480, 1 - 800x600, 2 - 1024x768, 3 - 1280x1024, 4 - 1440x900 -->
  <ExtraDataItem name="VBoxInternal2/EfiGopMode" value="3"/>
  <ExtraDataItem name="VBoxInternal2/SmcDeviceKey" value="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"/>
  <ExtraDataItem name="VBoxInternal2/SupportExtHwProfile" value="on"/>

  <ExtraDataItem name="CustomVideoMode1" value="1280x800x32"/>
  <ExtraDataItem name="GUI/LastCloseAction" value="powerOff"/>

 * http://wiki.osx86project.org/wiki/index.php/Vmware
 * http://wiki.osx86project.org/wiki/index.php/Installation_Guides
 * http://wiki.osx86project.org/wiki/index.php/Tips_And_Tricks
 * http://admin.dp.ua/other-any/36.html

Installing Hackintosh.
======================

There are tonymacx86_ project that collect hardware list (called CustoMac_) to
build Hackintosh on own hardware with success.

.. _tonymacx86: http://www.tonymacx86.com/
.. _CustoMac: http://www.tonymacx86.com/building-customac-buyers-guide-november-2015.html

MultiBeast_ pack provide instruments to make instalable media and to provide
collection of required drivers.

.. _MultiBeast:  http://www.tonymacx86.com/downloads

hosts file.
===========
::

  $ sudo nano /private/etc/hosts
  $ dscacheutil -flushcache