Skip to content

Latest commit

 

History

History
87 lines (77 loc) · 3.35 KB

README.org

File metadata and controls

87 lines (77 loc) · 3.35 KB

Kuro

Overview

My main driver for work on Linux. Complemented by a second, Windows rig for gaming/adobe, that sits next to it.

Specs

CASEFractal Design Define R4 ATX Tower Case Black Pearl
CPUAMD Ryzen 9 3900X 12-core, 24-thread
MOBOGIGABYTE B550 AORUS Elite
COOLCooler Master Hyper 212 Evo
GPUEVGA GeForce 680 GTX SC
RAMG.SKILL Ripjaws V Series 64GB (2x 32GB)
HDDSamsung 970 EVO Plus 500GB NVMe M2
KBDErgoDox-EZ
MOUSEAnker Wireless Vertical Mouse

Installation

Set up root file system

# EVO Plus 500gb
parted /dev/nvme0n1 -- mklabel gpt
parted /dev/nvme0n1 -- mkpart ESP fat32 1MiB 512MiB
parted /dev/nvme0n1 -- mkpart primary 512MiB 200GiB
parted /dev/nvme0n1 -- mkpart primary 200GiB 100%
parted /dev/nvme0n1 -- set 1 boot on
mkfs.fat -F32 -n BOOT /dev/nvme0n1p1
mkfs.ext4 -L nixos /dev/nvme0n1p2
mkfs.ext4 -L home /dev/nvme0n1p3

Set up VM SSDs

# 2x SSDs for VMs
parted /dev/sda -- mklabel gpt
parted -a optimal /dev/sda -- mkpart primary 0% 100%
parted /dev/sdb -- mklabel gpt
parted -a optimal /dev/sdb -- mkpart primary 0% 100%
mkfs.ext4 -L vm1 /dev/sda1
mkfs.ext4 -L vm2 /dev/sdb1

Set up backup file system

parted /dev/sdc -- mklabel gpt
parted /dev/sdc -- mkpart primary ext4 0% 100%
mkfs.ext4 -L store /dev/sdc

Set up backup file system

Backup was moved to an NAS, so this is no longer needed. It’s kept as a reference.

# 2x 1TB mirrored backup
zpool create -R /mnt \
    -O mountpoint=none \
    -O xattr=sa \
    -O atime=off \
    -O compression=lz4 \
    -O recordsize=1M \
    -o ashift=9 \
    usr mirror /dev/sdc /dev/sdd

# aux
zfs create -o mountpoint=legacy usr/media
zfs create -o mountpoint=legacy usr/backup
zfs create -o mountpoint=legacy -o recordsize=128K usr/share
zfs create -o mountpoint=legacy -o recordsize=128K usr/local

Mount drives

mount /dev/nvme0n1p2 /mnt

mkdir -p /mnt/{home,boot,usr/store}
mount /dev/nvme0n1p1 /mnt/boot
mount /dev/nvme0n1p3 /mnt/home
# mount -t zfs {usr,/mnt/usr}/backup
# mount -t zfs {usr,/mnt/usr}/media
# mount -t zfs {usr,/mnt/usr}/share
# mount -t zfs {usr,/mnt/usr}/local
mount /dev/sda1 /usr/vm/windows
mount /dev/sdb1 /usr/vm/macos
mount /dev/sdc2 /usr/store