# Linux on Macbook Administration

## Blessing the Linux Kernel

1. [Boot into Mac Recovery](https://support.apple.com/en-us/HT201314 "Boot into Mac Recovery")
2. Start terminal and enter:
3. ```
    bless --folder /Volumes/ARCH_EFI/EFI/arch/grub/ --file /Volumes/ARCH_EFI/EFI/arch/grub/grubx64.efi
    ```

## Changing Apple keyboards (Macbook or USB) fnmode in Linux

### Changing it temporarily, as root:

```
echo 2 > /sys/module/hid_apple/parameters/fnmode 
```

### Changing it Permanently:

Edit `/etc/modprobe.d/hid_apple.conf` and add the following line:

```
options hid_apple fnmode=2 
```