Skip to content

Instantly share code, notes, and snippets.

View shadow-asd's full-sized avatar
💭
https://gitlab.com/david.saldana.s

:shadow_asd: shadow-asd

💭
https://gitlab.com/david.saldana.s
View GitHub Profile
@jirutka
jirutka / arch-linux-installation.md
Last active December 13, 2023 01:09
My notes for installing Arch Linux on encrypted Btrfs with UEFI Secure Boot on ThinkPad T14s

Arch Linux Installation

1. Securely erase drive

cryptsetup open --type plain -d /dev/urandom /dev/nvme0n1 to-be-wiped
dd if=/dev/zero of=/dev/mapper/to-be-wiped bs=1M status=progress
cryptsetup close to-be-wiped
wipefs -a /dev/nvme0n1