Skip to content

Instantly share code, notes, and snippets.

View Bomberus's full-sized avatar

Pascal Maximilian Bremer Bomberus

  • Sinsheim, Germany
View GitHub Profile
@MaxXor
MaxXor / btrfs-guide.md
Last active July 19, 2024 11:07
Btrfs guide to set up an LUKS-encrypted btrfs raid volume with included maintenance & recovery guide

Encrypted Btrfs storage setup and maintenance guide

Initial setup with LUKS/dm-crypt

This exemplary initial setup uses two devices /dev/sdb and /dev/sdc but can be applied to any amount of devices by following the steps with additional devices.

Create keyfile:

dd bs=64 count=1 if=/dev/urandom of=/etc/cryptkey iflag=fullblock
chmod 600 /etc/cryptkey
@thecooldaniel
thecooldaniel / .nvidia-xinitrc
Last active November 20, 2023 15:13
VFIO Passthrough for Arch
# for use with https://github.com/Witko/nvidia-xrun
if [ $# -gt 0 ]; then
$*
else
# On Antergos this forces an X0rg version of GNOME
export GDK_BACKEND=x11
gnome-session
fi
@MaxXor
MaxXor / gpu-passthrough.md
Created October 29, 2017 14:47
Arch GPU Passthrough Summary

Arch Linux GPU-Passthrough

A quick guide on how to setup a GPU-Passthorugh. Below are some of my Resources

The Arch Wiki is the goto place for additional information and performance tweaks like CPU-Pinning.

Requirements

  • IGPU or second dedicated GPU for Host system (unless you want to go the hard way and use one GPU for HOST and GUEST)