First install rEFInd
, and boot Ubuntu installer after.
Enable "Boot after power failure" by adding next line to /etc/rc.local:
setpci -s 0:1f.0 0xa4.b=0
setpci -s 00:03.0 0x7b.b=0x19
Install mac fan control:
sudo add-apt-repository ppa:mactel-support/ppa
sudo apt-get update
sudo apt-get install -y macfanctld applesmc-dkms
For SSD tunning (you have to adapt to your config) here is my /etc/fstab
file:
UUID=<...> / ext4 noatime,nodiratime,errors=remount-ro 0 1
UUID=<...> /boot vfat defaults,noatime,discard 0 1
What is important to remember here:
/boot
is the rEFInd
partition, as you can keep all in the same place.
- I added noatime,nodiratime to the / partition as this will lower the tear-down of the SSD.
Do noy add discard
or ext4discard
to the list of options because instant TRIM will slow down your SSD too much.
The optimal solution is to run TRIM in a daily crob job, by running something like:
fstrim -v /
Other resources: