79acd090f4
My portable desktop machine.
586 B
586 B
Aijiro
Overview
…
Specs
- Intel i5-6400
- 8GB
Installation
Set up root file system
parted /dev/sda -- mklabel gpt
parted /dev/sda -- mkpart ESP fat32 1MiB 512MiB
parted /dev/sda -- mkpart primary linux-swap 512MiB 8.5GiB
parted /dev/sda -- mkpart primary 8.5GiB 100%
parted /dev/sda -- set 1 boot on
mkfs.fat -F32 -n BOOT /dev/sda1
mkswap -L swap /dev/sda2
mkfs.ext4 -L nixos /dev/sda3
Mount drives
mount /dev/sda3 /mnt
mkdir -p /mnt/boot
mount /dev/sda1 /mnt/boot
swapon /dev/sda2