<commit_before># Preparation

Prepare the USB stick:

    dd if=archlinux-2017.07.01-x86_64.iso of=/dev/sdb bs=4096

# Installation

Set Swiss German keyboard layout:

    loadkeys de_CH-latin1

Connect to the WiFi network:

    wifi-menu

Update the system clock:

    timedatectl set-ntp true

## Partitioning

Find the block device (`mmcblk0` in case of the _acer_ laptop's SSD card):

    lsblk

Create the partitions:

    fdisk /dev/mmcblk0

- Create a new empty GPT partition table: `g`
- Create the EFI System Partition: `n`, `+512M`
    - Set the type: `t`, `1` (EFI System)
    - Enter the expert's menu: `x`
    - Toggle the bootable flag: `A`
    - Exit the expert's menu: `r`
- Create the Swap Partition: `n`, `+2G` (size of physical memory)
    - Set the type: `t`, `19` (Linux swap)
- Create the root Partition: `n`, use all blocks
    - set the type: `t`, `20` (Linux filesystem)
- Save and exit: `w`

Format the root file system:

    mkfs.ext4 /dev/mmcblk0p3

Mount it to `/mnt`:

    mount /dev/mmcblk0p3 /mnt

Create directory for the bootloader:

    mkdir /mnt/boot

Format the boot file system:

    mkfs.fat -F32 /dev/mmcblk0p1<commit_msg>full partition size if on multiboot is intended<commit_after># Preparation

Prepare the USB stick:

    dd if=archlinux-2017.07.01-x86_64.iso of=/dev/sdb bs=4096

# Installation

Set Swiss German keyboard layout:

    loadkeys de_CH-latin1

Connect to the WiFi network:

    wifi-menu

Update the system clock:

    timedatectl set-ntp true

## Partitioning

Find the block device (`mmcblk0` in case of the _acer_ laptop's SSD card):

    lsblk

Create the partitions:

    fdisk /dev/mmcblk0

- Create a new empty GPT partition table: `g`
- Create the EFI System Partition: `n`, `+512M`
    - Set the type: `t`, `1` (EFI System)
    - Enter the expert's menu: `x`
    - Toggle the bootable flag: `A`
    - Exit the expert's menu: `r`
- Create the Swap Partition: `n`, `+2G` (size of physical memory)
    - Set the type: `t`, `19` (Linux swap)
- Create the root Partition: `n`, use all blocks (if no multiboot is intended)
    - set the type: `t`, `20` (Linux filesystem)
- Save and exit: `w`

Format the root file system:

    mkfs.ext4 /dev/mmcblk0p3

Mount it to `/mnt`:

    mount /dev/mmcblk0p3 /mnt

Create directory for the bootloader:

    mkdir /mnt/boot

Format the boot file system:

    mkfs.fat -F32 /dev/mmcblk0p1
{'fraction_non_alphanumeric': 0.10460251046025104, 'fraction_numerical': 0.03096234309623431, 'mean_word_length': 3.059422750424448, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '480930', 'n_tokens_mistral': 927, 'n_tokens_neox': 838, 'n_words': 317}