dd if=osx-mavericks.dmg of=/dev/sdc bs=16k
2 | cd<path/to/dmg/> |
once the command finishes and gives an output with no errors, you’re sure that the usb installer is ready.
before we begin installing, we need to take care of certain things.
any external usb connected device that is unnecessary during installation is better removed than plugged. so its best to unplug your wireless adapters, dongles, phones, webcams and the like.
after that, we need to configure the bios settings, because osx only works with certain motherboard settings that closely resemble the settings on macs. power down the workstation and power it on again. while its booting up, press f10 to enter the bios settings.
navigate using the keyboard to storage > storage options. enable removable media boot and change sata mode to ahci.
then go to security > secure boot and disable secure boot.
then go back one step and then to system security and disable virtualization technology (vt-x).
save the bios settings and exit.
plug the freshly created osx installer usb drive into a usb port on the workstation. power on the workstation. while its booting up, press f9 to open up the boot menu and choose to boot from the usb drive.
you will get a screen like the one below.
type -v in the boot prompt and hit enter. if everything is okay, the osx installation wizard will appear. click the next button to continue.
after that, we need to create a partition on the new hard drive to install osx to. for that, we click utilities on the top bar and then click disk utility. the disk utility window comes to the forefront.
as you can see, using the disk utility, i’ve split my new 4tb hdd into two partitions, the first 2tb is a hfs+ partition for installing osx and the last 2tb is an ntfs partition to store files and documents so that they can be read by other oses.
for the mac osx partition, you need to choose mac osx (journaled) as the partition type while creating a new partition. after that close the window to get back to the installer.
if you don’t like disk utility, you can use parted magic or gparted live to partition your disks prior to launching the osx installer. make sure to use guid partition table (gpt) if you have a drive of size greater than 2tb. also remember that osx needs a hfs+ volume to install to.
accept the terms and conditions and any other instructions that show up. at the point where you get to choose the disk to install osx to, click the customize button.
a customization window will open up.
under fakesmc and plugins, checkmark fakesmc and fakesmc plugins.
under chipset drivers, checkmark evoreboot and nullcpupowermanagement.
keep other settings unchanged and click ok to exit the customization menu and then choose your disk and click install to begin installing. the installation will take as long as 40 minutes so in the meanwhile its better to go out for a walk or get occupied with some other activity.
once the installer has finished installing, reboot the workstation. if the workstation is set to boot from the first hdd by default, press f9 and choose to boot from the drive that the osx has been installed to. you’ll need to do this every time you boot osx unless you set the computer to boot from the osx drive. soon enough, we’ll get to the hackintosh bootloader screen where you’ll see an icon for the drive you’ve installed. use the down arrow key to scroll down the boot options and choose to boot in verbose mode.
if everything goes fine, head to the next step. if your computer does not boot due to a kernel panic, force shutdown using the power button, boot up to the bootloader and choose to boot in single user mode. you will be dropped into a recovery command line prompt. after that type the following in order in the prompt:
2 | cd<path/to/dmg/> |
Once the command finishes and gives an output with no errors, you’re sure that the USB installer is ready.
Before we begin installing, we need to take care of certain things.
Any external USB connected device that is unnecessary during installation is better removed than plugged. So its best to unplug your wireless adapters, dongles, phones, webcams and the like.
After that, we need to configure the BIOS settings, because OSX only works with certain motherboard settings that closely resemble the settings on Macs. Power down the workstation and power it on again. While its booting up, press F10 to enter the BIOS settings.
Navigate using the keyboard to Storage > Storage options. Enable removable media boot and change SATA mode to AHCI.
Then go to Security > Secure boot and disable Secure boot.
Then go back one step and then to System Security and disable Virtualization Technology (VT-x).
Save the BIOS settings and exit.
Plug the freshly created OSX installer USB drive into a USB port on the workstation. Power on the workstation. While its booting up, press F9 to open up the boot menu and choose to boot from the USB drive.
You will get a screen like the one below.
Type -v in the boot prompt and hit enter. If everything is okay, the OSX installation wizard will appear. Click the next button to continue.
After that, we need to create a partition on the new hard drive to install OSX to. For that, we click Utilities on the top bar and then click Disk Utility. The Disk Utility window comes to the forefront.
As you can see, using the Disk Utility, I’ve split my new 4TB HDD into two partitions, the first 2TB is a HFS+ partition for installing OSX and the last 2TB is an NTFS partition to store files and documents so that they can be read by other OSes.
For the Mac OSX partition, you need to choose Mac OSX (Journaled) as the partition type while creating a new partition. After that close the window to get back to the installer.
If you don’t like Disk Utility, you can use Parted Magic or GParted Live to partition your disks prior to launching the OSX installer. Make sure to use GUID Partition Table (GPT) if you have a drive of size greater than 2TB. Also remember that OSX needs a HFS+ volume to install to.
Accept the terms and conditions and any other instructions that show up. At the point where you get to choose the disk to install OSX to, click the Customize button.
A customization window will open up.
Under FakeSMC and plugins, checkmark FakeSMC and FakeSMC plugins.
Under Chipset drivers, checkmark EvoReboot and NullCPUPowerManagement.
Keep other settings unchanged and click OK to exit the customization menu and then choose your disk and click Install to begin installing. The installation will take as long as 40 minutes so in the meanwhile its better to go out for a walk or get occupied with some other activity.
Once the installer has finished installing, reboot the workstation. If the workstation is set to boot from the first HDD by default, press F9 and choose to boot from the drive that the OSX has been installed to. You’ll need to do this every time you boot OSX unless you set the computer to boot from the OSX drive. Soon enough, we’ll get to the Hackintosh bootloader screen where you’ll see an icon for the drive you’ve installed. Use the down arrow key to scroll down the boot options and choose to boot in verbose mode.
If everything goes fine, head to the next step. If your computer does not boot due to a kernel panic, force shutdown using the power button, boot up to the bootloader and choose to boot in single user mode. You will be dropped into a recovery command line prompt. After that type the following in order in the prompt: