Add Arch Linux TOC

This commit is contained in:
Sandro Keil
2018-07-11 16:50:00 +02:00
parent 0c98911adc
commit 3abb6a9cfa
14 changed files with 168 additions and 4 deletions

View File

@@ -0,0 +1,28 @@
# Getting Started
For common stuff, the Arch Wiki is a good starting point. We need a bootable Arch Linux medium. Please take a look
at the Arch Installtion Guide [en](https://wiki.archlinux.org/index.php/installation_guide#Pre-installation "Download and boot the installation medium") / [de](https://wiki.archlinux.de/title/Anleitung_für_Einsteiger#Das_neueste_ISO-Abbild_beziehen "Das neueste ISO-Abbild beziehen").
Ok, you've create a bootable Arch Linux medium, now it's time to boot into the Arch Linux UEFI system.
German users should execute `loadkeys de` (QWERTZ keyboard layout) in the tty prompt first.
Let's install minimal packages to get started with our full disk encryption with YubiKey.
```
pacman -Sy yubikey-manager yubikey-personalization pcsc-tools libu2f-host make json-c cryptsetup
```
Now we must start the [smartcard service](https://wiki.archlinux.org/index.php/Smartcards "Smartcards")
```
systemctl start pcscd.service
```
and our connected YubiKey should be listed with
```
ykman list
```
That's it, now let's go over to the next chapter which describes how to prepare disks.

View File

@@ -0,0 +1,10 @@
# Prepare Disks
You have [different choices](https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system "dm-crypt/Encrypting an entire system") to setup encryption.
This chapter describes [LVM on LUKS with encrypted boot partition](https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system#Encrypted_boot_partition_.28GRUB.29 "Encrypted boot partition (GRUB)").
List your disks with `lsblk` and run `gdisk /dev/[your disk]` e.g. `gdisk /dev/nvme0n1`. You can take a look at the
`gdisk` Arch Wiki [en](https://wiki.archlinux.org/index.php/Fdisk#gdisk) / [de](https://wiki.archlinux.de/title/GPT#Partitionieren_mit_gdisk)
> It's crucial to use `gdisk` because GPT is needed for UEFI boot.

View File

@@ -0,0 +1,3 @@
# Prepare YubiKey
TBD

View File

@@ -0,0 +1,3 @@
# Prepare Volumes
TBD

View File

@@ -0,0 +1,3 @@
# Install Arch Linux
TBD

View File

@@ -0,0 +1,3 @@
# Setup secure boot
TBD

View File

@@ -0,0 +1,3 @@
# Enable YubiKey Login
TBD

View File

@@ -0,0 +1,3 @@
# Install minimal GNOME desktop
TBD

28
book/arch/bookdown.json Normal file
View File

@@ -0,0 +1,28 @@
{
"title": "YubiKey full disk encryption Arch Linux guide",
"content": [
{"getting-started": "01-getting-started.md"},
{"prepare-disk": "02-prepare-disk.md"},
{"prepare-yubikey": "03-prepare-yubikey.md"},
{"prepare-volumes": "04-prepare-volumes.md"},
{"install-arch": "05-install-arch.md"},
{"secure-boot": "06-secure-boot.md"},
{"yubikey-login": "07-yubikey-login.md"},
{"minimal-gnome": "08-minimal-gnome.md"}
],
"theme": {
"toc": {
"collapsibleFromLevel": 1
}
},
"template": "bookdown/themes",
"tocDepth": 1,
"target": "./html",
"numbering": false,
"extensions": {
"commonmark": [
"Webuni\\CommonMark\\TableExtension\\TableExtension",
"Webuni\\CommonMark\\AttributesExtension\\AttributesExtension"
]
}
}

23
book/bookdown.json Normal file
View File

@@ -0,0 +1,23 @@
{
"title": "YubiKey full disk encryption guide",
"content": [
{"intro": "../README.md"},
{"changelog": "../CHANGELOG.md"},
{"arch-linux": "arch/bookdown.json"}
],
"theme": {
"toc": {
"collapsibleFromLevel": 1
}
},
"template": "bookdown/themes",
"tocDepth": 1,
"target": "../html",
"numbering": false,
"extensions": {
"commonmark": [
"Webuni\\CommonMark\\TableExtension\\TableExtension",
"Webuni\\CommonMark\\AttributesExtension\\AttributesExtension"
]
}
}