dnl -*- html -*-
+define(__title, `Arch GNU/Linux on MacBook Air 2013')dnl
define(__pub, 2016-11-01T12:00:00Z)dnl
define(__upd, 2020-03-27T12:00:00Z)dnl
-define(__title, `Arch GNU/Linux on MacBook Air 2013')dnl
-define(__slug, `computing')dnl
define(__id, 1)dnl
-include(header.html)
+include(header.html)dnl
+
<p>This post summarizes how I install and dual-boot Arch GNU/Linux
with Full-Disk Encryption alongside macOS. It is not meant to be a
replacement for the
-<a href="//wiki.archlinux.org/index.php/installation%5Fguide">Installation
+<a href="https://wiki.archlinux.org/index.php/installation%5Fguide">Installation
Guide</a> or the former
-<a href="//csdietz.github.io/arch-beginner-guide/">Beginner's
+<a href="https://csdietz.github.io/arch-beginner-guide/">Beginner's
Guide</a>. Rather, it mostly serves as a small summary with a few
useful notes about the gotchas.</p>
<h2>Creating a bootable Arch Installer USB</h2>
<p>There are different ways of creating a bootable Arch USB, all
documented on the
-<a href="//wiki.archlinux.org/index.php/USB%5Fflash%5Finstallation%5Fmedia">USB
+<a href="https://wiki.archlinux.org/index.php/USB%5Fflash%5Finstallation%5Fmedia">USB
flash installation media</a> page on the Arch wiki, but the simplest
one is using <code>dd</code> if you already have access to another
UNIX system.</p>
<h2>Partitioning</h2>
<p>I won't dive into partitioning and instead, I will refer you to the
-<a href="//wiki.archlinux.org/index.php/Partitioning">Partitioning</a>
+<a href="https://wiki.archlinux.org/index.php/Partitioning">Partitioning</a>
page of Arch wiki. Of the available partitioning tools, I personally
prefer <code>cfdisk</code>.</p>
<h2>Setting up LVM & LUKS</h2>
<p>I use an
-<a href="//wiki.archlinux.org/index.php/Dm-crypt/Encrypting%5Fan%5Fentire%5Fsystem#LVM%5Fon%5FLUKS">LVM
+<a href="https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting%5Fan%5Fentire%5Fsystem#LVM%5Fon%5FLUKS">LVM
on LUKS</a> setup, where I set up LVM on top of the encrypted
partition.</p>
<p>where <code>/dev/sdaX</code> is the partition you created in the
last step (e.g. <code>/dev/sda4</code>). For more information about
the <code>cryptsetup</code> options, see the
-<a href="//wiki.archlinux.org/index.php/Dm-crypt/Device%5Fencryption#Encryption%5Foptions%5Ffor%5FLUKS%5Fmode">LUKS
+<a href="https://wiki.archlinux.org/index.php/Dm-crypt/Device%5Fencryption#Encryption%5Foptions%5Ffor%5FLUKS%5Fmode">LUKS
encryption options</a>.</p>
<p>Then we open the container:</p>
<p>Congratulations! You now have a minimal Arch installation.</p>
<p>At this point, I usually install my favorite AUR helper,
-<a href="//aur.archlinux.org/packages/pacaur/">pacaur</a>, then I
-install the
-<a href="//aur.archlinux.org/packages/mba6x%5Fbl-dkms/">mba6x_bl-dkms</a>
+<a href="https://aur.archlinux.org/packages/pacaur/">pacaur</a>, then
+I install the
+<a href="https://aur.archlinux.org/packages/mba6x%5Fbl-dkms/">mba6x_bl-dkms</a>
backlight driver to fix the post suspend/resume issue where there's no
brightness after waking up from suspend, and the only available
brightness would be 100%.</p>
</ul>
<p>Check out the
-<a href="//wiki.archlinux.org/index.php/General%5Frecommendations">General
+<a href="https://wiki.archlinux.org/index.php/General%5Frecommendations">General
recommendations</a> for more details.</p>
<h2>References</h2>
bits and pieces, about installing Arch on a MacBook:</p>
<ul>
-<li><a href="//github.com/pandeiro/arch-on-air">pandeiro/arch-on-air</a></li>
-<li><a href="//loicpefferkorn.net/2015/01/arch-linux-on-macbook-pro-retina-2014-with-dm-crypt-lvm-and-suspend-to-disk/">Arch Linux on MacBook Pro Retina 2014 with DM-Crypt, LVM and suspend to disk</a></li>
-<li><a href="//www.frankshin.com/2014/installing-archlinux-on-macbook-air-2013/">Installing Archlinux on Macbook Air 2013</a></li>
+<li><a href="https://github.com/pandeiro/arch-on-air">pandeiro/arch-on-air</a></li>
+<li><a href="https://loicpefferkorn.net/2015/01/arch-linux-on-macbook-pro-retina-2014-with-dm-crypt-lvm-and-suspend-to-disk/">Arch Linux on MacBook Pro Retina 2014 with DM-Crypt, LVM and suspend to disk</a></li>
+<li><a href="https://www.frankshin.com/2014/installing-archlinux-on-macbook-air-2013/">Installing Archlinux on Macbook Air 2013</a></li>
<li><a href="http://panks.me/posts/2013/06/arch-linux-installation-with-os-x-on-macbook-air-dual-boot/">Arch Linux Installation with OS X on Macbook Air (Dual Boot)</a></li>
-<li><a href="//alexeyzabelin.com/arch-on-mac">Installing Arch Linux on a MacBook Air 2013</a></li>
-<li><a href="//medium.com/phils-thought-bubble-of-recent-stuff/arch-linux-running-on-my-macbook-2ea525ebefe3">Arch Linux running on my MacBook</a></li>
+<li><a href="https://alexeyzabelin.com/arch-on-mac">Installing Arch Linux on a MacBook Air 2013</a></li>
+<li><a href="https://medium.com/phils-thought-bubble-of-recent-stuff/arch-linux-running-on-my-macbook-2ea525ebefe3">Arch Linux running on my MacBook</a></li>
<li><a href="http://codylittlewood.com/arch-linux-on-macbook-pro-installation/">Dual boot Arch Linux on MacBook Pro Installation</a></li>
</ul>
+
define(__copy, `2016, 2019, 2020')dnl
-include(footer.html)
+include(footer.html)dnl