X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/505a94190f4aba9404b7c9d95444bfa0a14925ec..5e6486ca995f68d367af0ea9ea595a12ec8cb308:/arch-macbook-air.m4 diff --git a/arch-macbook-air.m4 b/arch-macbook-air.m4 index 4d2a348..d1991c8 100644 --- a/arch-macbook-air.m4 +++ b/arch-macbook-air.m4 @@ -1,16 +1,16 @@ 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 +

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 -Installation +Installation Guide or the former -Beginner's +Beginner's Guide. Rather, it mostly serves as a small summary with a few useful notes about the gotchas.

@@ -32,7 +32,7 @@ then come back!

Creating a bootable Arch Installer USB

There are different ways of creating a bootable Arch USB, all documented on the -USB +USB flash installation media page on the Arch wiki, but the simplest one is using dd if you already have access to another UNIX system.

@@ -80,13 +80,13 @@ status.

Partitioning

I won't dive into partitioning and instead, I will refer you to the -Partitioning +Partitioning page of Arch wiki. Of the available partitioning tools, I personally prefer cfdisk.

Setting up LVM & LUKS

I use an -LVM +LVM on LUKS setup, where I set up LVM on top of the encrypted partition.

@@ -100,7 +100,7 @@ cryptsetup -v --cipher aes-xts-plain64 --key-size 512 --hash sha512 \

where /dev/sdaX is the partition you created in the last step (e.g. /dev/sda4). For more information about the cryptsetup options, see the -LUKS +LUKS encryption options.

Then we open the container:

@@ -234,9 +234,9 @@ reboot

Congratulations! You now have a minimal Arch installation.

At this point, I usually install my favorite AUR helper, -pacaur, then I -install the -mba6x_bl-dkms +pacaur, then +I install the +mba6x_bl-dkms 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%.

@@ -256,7 +256,7 @@ pacaur -S mba6x_bl-dkms

Check out the -General +General recommendations for more details.

References

@@ -264,13 +264,14 @@ recommendations for more details.

bits and pieces, about installing Arch on a MacBook:

+ define(__copy, `2016, 2019, 2020')dnl -include(footer.html) +include(footer.html)dnl