Skip to content

Instantly share code, notes, and snippets.

View wadimw's full-sized avatar

Wadim Wawrzeńczak wadimw

View GitHub Profile
@zerofltexx
zerofltexx / cachyos-limine-luks-tpm-auto-unlock.md
Created November 19, 2025 13:53
Limine + LUKS2 + TPM2 Auto-Unlock Guide (CachyOS/Arch Linux)

Limine + LUKS2 + TPM2 Auto-Unlock Guide (CachyOS/Arch Linux)

Working configuration for:

  • Limine bootloader
  • LUKS2 encrypted root partition
  • btrfs with Snapper snapshots
  • dracut (required for btrfs snapshot boot)
  • systemd-based initramfs
  • Secure Boot enabled
  • TPM2 auto-unlock using PCR 0+7
@cetinajero
cetinajero / ddrescue.md
Last active July 15, 2026 15:42
Guide for using Ddrescue to recover data

Guide for using Ddrescue to recover data

Start command:

ddrescue -d /dev/sda output.img output.mapfile

NOTE: If direct disc access is not available in your system, try raw devices.