I. Make a bootable USB installer disk for Linux Mint

1. Prepare a 2GB+ usb disk and format it as FAT32

2. Convert the installer media to dmg format

hdiutil convert linuxmint-19.2-cinnamon-64bit.iso -format UDRW -o linuxmint.dmg

3. Write the installer dmg to usb disk

diskutil list
diskutil unmountDisk /dev/disk2     # your usb drive, can be some number else
sudo dd if=linuxmint.dmg of=/dev/rdisk2 bs=2m   # ignore the warning popup message box when finished
diskutil eject /dev/disk2

II. Enable Dual Bootable Capability on Mac

1. Make a disk partition on Mac for Linux Mint

2. Disable OSX SIP protection

Reboot to recovery mode and run below in terminal

csrutil disable
reboot

3. Install refind for Linux Mint boot option

wget https://jaist.dl.sourceforge.net/project/refind/0.11.4/refind-bin-0.11.4.zip
unzip refind-bin-0.11.4.zip
cd refind-bin-0.11.4
sudo ./refind-install
reboot  # make sure the usb disk is pluged in and ready to install

III. Install Linux Mint

Press Option and select boot from EFI, follow the GUI installation steps until finish.

IV. Post steps for Linux Mint

1. Run the Driver Manager to fix the WiFi issue

2. Install DisplayLink driver for 2nd screen

3. Disable Apple style function for F1~f12

sudo su -
# change F1~F12 keys function to normal mode
echo "options hid-apple fnmode=2" >> /etc/modprobe.d/hid-apple.conf
# change keyboard layout for proper '~'
echo "options hid-apple iso_layout=0" >> /etc/modprobe.d/hid-apple.conf
update-initramfs -u -k all
reboot

4. Set default brightness to 80%

sudo vi /etc/rc.local

#!/bin/sh -e
echo 819 > /sys/class/backlight/gmux_backlight/brightness
exit 0

sudo chmod +x /etc/rc.local

5. Install Goldendict

sudo apt-get install goldendict

# download dict from http://download.huzheng.org/zh_CN/
tar -xjvf stardict-oxford-gb-2.4.2.tar.bz2
sudo mv stardict-oxford-gb-2.4.2 /usr/share/goldendict/

# run goldendict and scan the dict

# if phonetic symbol font cannot show properly
# download and install kingsoft font kingsoft_phonetic_ue.ttf

6. Install some other common used tools

  • Bashdb
  • CMake
  • Docker
  • Okular
  • SMPlayer
  • VMWare
  • Vscode