Skip to content

Instantly share code, notes, and snippets.

@arjunv27
arjunv27 / install.sh
Created Apr 14, 2019 — forked from yuvadm/install.sh
Arch Linux installation on Lenovo ThinkPad X200s
View install.sh
# Arch Linux installation procedure on a Lenovo ThinkPad X200s
# BIOS boot (no UEFI), SSD + LVM + LUKS + TRIM + discards
# Randomize (or zero) drive contents
dd if=/dev/urandom of=/dev/sda
# Create GPT and partitions
# Use gdisk to ensure proper partition alignment
gdisk /dev/sda
# 100MB boot partition on /dev/sda1 type 8300