Home

Awesome

X250 Hackintosh (macOS 10.14.x)

X250 Hackintosh

Introduction

This is a guide on how to install macOS mojave on the Thinkpad X250.

Bugs:

What will (most likely) never work:

Overview

Physical and non-physical Requirements

Physical Requirements

Non-Physical Requirements

BIOS Settings

The BIOS must be properly configured prior to installing MacOS.

In Security menu, set the following settings:

In Startup menu, set the following options:

Create USB installer

Downloading Mojave

Open the unzipped gibmacOS folder. If you're using macOS or Linux, you should know how to cd to it through your preferred Terminal emulator. If you're a Windows user, follow these instructions to get to the command line inside the folder.

Now that you're inside the command prompt/powershell/terminal, we'll use gibMacOS to download the Recovery HD to be restored:

  1. run python gibMacOS.command -r -v mojave
  2. The software will download the recovery image, meanwhile:
    1. Plug your USB device
    2. Backup any data *from* it
    3. Format it (it will be formatted anyways later on)

Preparing your USB installer

After the download, you'll find a new folder named macOS downloads where the program we used downloaded macOS recovery image for your macOS version. For this part of the setup. I'll be separating it to the 3 main OSes and how to make it.

Windows

Inside the same folder of gibMacOS, you'll find a cute MakeInstall.bat , double click it, accept UAC admin user, you'll be greeted by a CMD screen. The software will download software needed (dd port for windows and 7-zip). Then you'll be greeted with a list of drives:

Linux

This section will target making the necessary partitions in the USB device. You can use your favorite program be it gdisk fdisk parted gparted or gnome-disks. I will focus on gdisk as it's nice ¯\_(ツ)_/¯ and can change the partition type later on, as we need it so that macOS Recovery HD can boot. [the distro used here is Ubuntu 18.04, other versions or distros may work]

In terminal:

  1. run lsblk and determine your USB device block
  2. run sudo gdisk /dev/<your USB block>
    1. send p to print your block's partitions (and verify it's the one needed)
    2. send o to clear the partition table and make a new GPT one
      1. confirm with y
    3. send n
      1. partition number: keep blank for default
      2. first sector: keep blank for default
      3. last sector: +200M to create a 200MB partition that will be named later on CLOVER
      4. Hex code or GUID: 0700 for Microsoft basic data partition type
    4. send n
      1. partition number: keep blank for default
      2. first sector: keep blank for default
      3. last sector: keep black for default (or you can make it +3G if you want to partition further the rest of the USB)
      4. Hex code or GUID: af00 for Apple HFS/HFS+ partition type
    5. send w
      1. Confirm with y
    6. Close gdisk by sending q
  3. Use lsblk again to determine the 200MB drive and the other partition
  4. run mkfs.vfat -F 32 -n "CLOVER" /dev/<your 200MB partition block> to format the 200MB partition to FAT32, named CLOVER
  5. then cd to macOS downloads and keep going until you get to a pkg file
    1. download p7zip-full (depending on your distro tools)
      1. for ubuntu/ubuntu-based run sudo apt install p7zip-full
      2. for arch/arch-based run sudo pacman -S p7zip
      3. for the rest of you, you should know ¯\_(ツ)_/¯
    2. run this 7z e -txar *.pkg *.dmg; 7z e *.dmg */Base*; 7z e -tdmg Base*.dmg *.hfs this will extract the recovery from the pkg through extracting the recovery update package then extracting the recovery dmg then the hfs image from it.
    3. then when you get 4.hfs or 3.hfs (depending on the macOS version used) run dd if=*.hfs of=/dev/<your USB's second partition block> bs=8M --progress (you may change the input file if and the block size to match your needs

macOS

After the download, open macOS downloads/.../... until you find RecoveryHDUpdate.pkg or RecoveryHDMetaDmg.pkg (enable file name extensions in Finder under Finder > Preferences > Advanced).

  1. locate the pkg
  2. do not open it
  3. rename the extension from .pkg to .dmg
  4. open the image (it will be mounted)
  5. find Basesystem.dmg
  6. double click to mount it
  7. open Disk Utility application (Launchpad > Other >)
    1. Select View > Show All devices (above the drive list)
    2. Select your USB device (not the partition)
    3. Select Partition
      1. if you do not see partition:
        1. Select Erase
        2. Name: whatever Format: MacOS Extended Journaled Scheme: GUID Partition Table
    4. Make:
      1. a minimum of 200MB partition Name: CLOVER Format: MSDOS
      2. the rest Name: whatever you want Format: MacOS Extended Journaled
    5. Apply
    6. Select the MacOS Extended Journaled partition
    7. Select Restore
    8. Choose BaseSystem from the list (it should be the image you mounted earlier)
    9. Let it restore

Copy EFI Folder to USB installer

Copy the EFI folder provided in my repo onto your USB flash drive CLOVER partition. The partition is usually hidden. Use Clover Configurator to mount the EFI partition of your flash drive on your mac (it appears as a disk on the desktop once done). On Windows or Linux it shouldn't be hidden.

Installing macOS

Install macOS by booting from the USB installer. Format your local drive with the Disk Utility application as Apple Extended Journal and GUID-partition table.

It takes about 30 min from start to finish. The computer will restart multiple times. When rebooting, make sure to select Install macOS ... each time in the Clover boot menu. Once installed, choose to boot from local drive in the Clover boot menu.

Making local drive bootable

To finish the setup, you need to make your local drive bootable (right now you are still using the Clover boot from your USB installer to boot your system:

Once finished reboot your system.

Enjoy macOS on your Thinkpad X250.