Basic Arch Linux installation on the MacBook Air

So, arch linux it is. I missed the aur right after the most basic installation and so I decided to stick with my arch. With the help of the glorious arch wiki, xero and pandeiros guide, I manged to complete the basic installation yesterday evening.
Because I had to combine some informations, here’s my personalized and not copy-paste-able guide on installing arch on a mba.


Do not blindly use this guide. Refer to the beginners guide when you need guidance on your first install!

internet connectivity

After booting up the live usb stick, the wifi did not work. So i’m using the usb-bridge mode on my phone to get internet connectivity.

  • verify with
    ip link

    that the mba has identified the phone as a network device

  • connect with
    dhcpcd <device name>
  • verify


  • Check the device name
lsblk -f

    gdisk /dev/sda

  • Delete all partitions (o)
  • Press n to create new partitionPress 1 to select it as first partitionStart sector stays on the defaultThe partition type must be ef00 for efiCreate efi partition
  • End sector +512M
  • Create root partition
    • Everything stays default
    • Partition type 8300 for linux file system
  • Press w to write changes
  • Check again with lsblk -f
  • file systems

    • mkfs.fat -F32 /dev/sda1
    • mkfs.ext4 /dev/sda2
    • Check again with
      lsblk -f

    mount the partitions

    • mount /dev/sda2 /mnt
    • mkdir /mnt/boot
    • mount /dev/sda1 /mnt/boot

    strap on

    • pacstrap /mnt base base-devel


    • genfstab -U -p /mnt >> /mnt/etc/fstab
    • arch-chroot /mnt
    • passwd
    • echo hostname > /etc/hostname
    • rm /etc/localtime
    • ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime
    • hwclock --systohc --utc
    • useradd -m -g users -G wheel -s /bin/bash mrtn
    • passwd mrtn
    • pacman -Syu sudo
    • echo "%wheel ALL=(ALL) ALL" > /etc/sudoers.d/10-grant-wheel-group
    • vi /etc/locale.genuncomment the desired localelocale-genecho LANG=en_US.UTF-8 > /etc/locale.conf/etc/locale.gen
    • export LANG=en_US.UTF-8
    • check if /etc/mkinitcpio has ‘keyboard’ after ‘autodetect’
    • mkinitcpio -p linux


    • mount -t efivarfs efivarfs /sys/firmware/efi/efivars
    • ignore the warnings
    • bootctl --path=/boot install
    • vi /boot/loader/entries/arch.conf

      title Arch Linux
      linux /vmlinuz-linux

      initrd /initramfs-linux.img

      options root=/dev/sdb2 rw

    • :wq


    That’s it – it’s done. After rebooting, the login prompt should appear. Wifi is not yet working because of the broadcom chip that is built in that mba. That will be next.