Hello, 👋

Welcome to my website! Nothing really interesting here, mostly things I would like for future reference.

Home Lab

NAS Server Build CPU: Intel Core i5-6500 3.2 GHz Quad-Core Processor CPU Cooler: Arctic Alpine 12 CO CPU Cooler Motherboard: MSI Z170A SLI PLUS ATX LGA1151 Motherboard RAM: Corsair Vengeance LPX 8 GB (2 x 4 GB) DDR4-2400 CL16 Memory Corsair Vengeance LPX 32 GB (2 x 16 GB) DDR4-3600 CL18 Memory SSD: SanDisk Ultra II 240 GB 2.5" Solid State Drive M.2 SSD: Crucial P3 Plus 500 GB M.2-2280 PCIe 4.0 X4 NVME Solid State Drive HDD: Seagate IronWolf 6TB NAS HDD x4 GPU: MSI GAMING GeForce GTX 1060 6GB 6 GB Video Card Case: NZXT S340 ATX Mid Tower Case PSU: SeaSonic M12II 520 W 80+ Bronze Certified Fully Modular ATX Power Supply This was built from my old gaming pc and has gone through multiple different setups. From TrueNAS Core to TrueNAS Scale with TrueCharts apps. Then Proxmox running TrueNAS in a VM and portainer in a LXC container. Then back to TrueNAS Scale. ...

February 24, 2025 · 2 min · 281 words · Holden

Encrypting Arch Linux LUKS on LVM

This guide will set up an Arch Linux system with a partition containing logical volumes for swap, root, and home using LVM. Which are then ecrypted using LUKS. This is a basic guide for myself to reference. For a more in-depth guide go to the Luks on LVM section in the arch wiki encrytion guide. Below is an example of the disk layout: 1 2 3 4 5 6 7 8 9 10 11 12 13 +----------------+-------------------------------------------------------------------------------------------------+ | Boot partition | dm-crypt plain encrypted volume | LUKS encrypted volume | LUKS encrypted volume | | | | | | | /boot | [SWAP] | / | /home | | | | | | | | /dev/mapper/swap | /dev/mapper/root | /dev/mapper/home | | |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _| | | Logical volume 1 | Logical volume 2 | Logical volume 3 | | | /dev/MyVolGroup/cryptswap | /dev/MyVolGroup/cryptroot | /dev/MyVolGroup/crypthome | | |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _| | | | | /dev/sda1 | /dev/sda2 | +----------------+-------------------------------------------------------------------------------------------------+ Mount Point Partition Logical Volume Type File System Size /mnt/boot /dev/partition1 none(not encrypted) EFI system partition fat32 1G [swap] /dev/partition2 /dev/MyVolGroup/cryptswap Linux swap swap 16G /mnt /dev/partition2 /dev/MyVolGroup/cryptroot Linux root btrfs 200G /mnt/home /dev/partition2 /dev/MyVolGroup/crypthome Linux home btrfs Remainder …To Be Continued ...

February 23, 2025 · 2 min · 290 words · Holden

Linux Cheat Sheet

Some random linux stuff I would like to remember. Pacman 1 2 3 pacman-key --init pacman-key --populate pacman-key --refresh-keys Mounting drives Samba shares Install ‘cifs-utils’ for smb support Edit ‘/etc/credentials/samba/share’ 1 2 username=user password=pass Change permissions 1 2 3 chown root:root /etc/credentials chmod 700 /etc/credentials/samba chmod 600 /etc/credentials/samba/share Edit ‘/etc/fstab’ for mounting on boot 1 //<server>//<share> <mountpoint> cifs _netdev,nofail,credentials=/etc/credentials/samba/share,uid=user,gid=goup 0 0 Veracrypt drives Install ’ntfs-3g’ for ntfs partitions Edit ‘/etc/credentials/veracrypt/storage’ with your password Change permissions ...

March 16, 2024 · 1 min · 187 words · Holden

Encrypting Arch Linux LVM on LUKS

This guide will set up an Arch Linux system with an encrypted partition using LUKS containing logical volumes for swap, root, and home using LVM. This is a basic guide for myself to reference. For a more in-depth guide go to the LVM on Luks section in the arch wiki encrytion guide. Below is an example of the disk layout: 1 2 3 4 5 6 7 8 9 10 11 +----------------++-----------------------------------------------------------------------+ | Boot partition || Logical volume 1 | Logical volume 2 | Logical volume 3 | | || | | | | /boot || [SWAP] | / | /home | | || | | | | || /dev/MyVolGroup/swap | /dev/MyVolGroup/root | /dev/MyVolGroup/home | | (may be on ||_ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _| | other device) || | | || LUKS2 encrypted partition | | /dev/sda1 || /dev/sda2 | +----------------++-----------------------------------------------------------------------+ Mount Point Partition Logical Volume Type File System Size /mnt/boot /dev/partition1 none(not encrypted) EFI system partition fat32 1G [swap] /dev/partition2 /dev/MyVolGroup/swap Linux swap swap 16G /mnt /dev/partition2 /dev/MyVolGroup/root Linux root btrfs 200G /mnt/home /dev/partition2 /dev/MyVolGroup/home Linux home btrfs Remainder 1. Creating the GPT partition table List the available drives and create the partition table: ...

March 16, 2024 · 3 min · 449 words · Holden

Arch Install Guide

This guide will install a base arch system and create a user with sudo privileges. This is a basic guide for myself to reference. For a more in-depth guide go to the arch wiki install guide. 1. Format and Partition the disk Below is an example of the disk layout: Mount Point Partition Type File System Size /mnt/boot /dev/efi_system_partition EFI system partition fat32 1G [swap] /dev/swap_partition Linux swap swap 16G /mnt /dev/root_partition Linux root btrfs 200G /mnt/home /dev/home_partition Linux home btrfs Remainder 1.1. Create GPT partition table List the available drives and create the partition table: ...

June 15, 2023 · 2 min · 344 words · Holden