One of my colleague suggested me to try Arch Linux several months ago. I’m a Mac OS user since more than two decades but I’m using Linux on my servers and some devices like the Rasberry Pi or some old computers. Currently, most of the softwares I’m using are open-source: Firefox, Libreoffice, Latex, Vim, Inkscape, Gimp… Furthermore, I start to be tired with the Apple’s softwares. For example, I was fan of Aperture. Apple just decided to stop this product.
According to some posts, the life with a laptop on linux seems to be hard but I want to give a try to open source OS.
This post will be mostly some reminders about the installation of Arch Linux on my MacBook Air 6.1 (i7) in dual boot with an existing OS X.
The hardest part of the installation on mac is, I believe, the bootloader. There is to my knowledge 4 alternatives :
- A Standalone GRUB 2 on the
/BOOTpartition. I will follow this way.
- Another one I forgot
To perform the installation, I used the following pages :
Additionnal pages :
Short installation guide
- Backup your data! Make an Image Disk and and Backup with Time Machine.
- Download Arch
- Create an USB installation drive. On OS X, find the USB device with
diskutil listand write the USB device with
dd if=Downloads/archlinux-2015.05.01-dual.iso of=/dev/rdisk2 bs=1m(assuming your USB device is
- Reboot on USB drive holding down the Alt Key.
/dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *251.0 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_CoreStorage 209.2 GB disk0s2 3: Apple_Boot Recovery HD 650.1 MB disk0s3 4: Microsoft Basic Data 39.2 GB disk0s4 5: Linux Swap 1.7 GB disk0s5 /dev/disk1 #: TYPE NAME SIZE IDENTIFIER 0: Apple_HFS Macintosh HD *208.9 GB disk1 Logical Volume on disk0s2 C84C5CBA-291A-42CB-B6A6-CF8AE01B9DF5 Unlocked Encrypted
There is lot of bugs after initial installation. Let’s fix them
The Keyboard layout is a mess. The fr-mac is not good at all. @#<> are in the wrong place and I can’t find the brackets.
Brighnest level on/off after suspend
As described in this post, the backlight can’t be set well after suspend.
There is a solution with a patch.
First, update the whole system
sudo pacman -Syu
Maybe the wifi driver will be broken, then reinstall it if the kernel was reinstalled.
sudo pacman -Syu
Then restart if linux kernel was upgraded.
Install linux headers
sudo pacman -S linux-headers
Install the mba6x_bl-dkms patch from AUR
wget https://aur.archlinux.org/packages/mb/mba6x_bl-dkms/mba6x_bl-dkms.tar.gz tar -xvf mba6x_bl-dkms.tar.gz cd mba6x_bl-dkms makepkg -i