79acd090f4
My portable desktop machine.
31 lines
586 B
Org Mode
31 lines
586 B
Org Mode
#+TITLE: Aijiro
|
|
#+DATE: September 3, 2021
|
|
|
|
* Overview
|
|
...
|
|
|
|
* Specs
|
|
+ Intel i5-6400
|
|
+ 8GB
|
|
|
|
* Installation
|
|
** Set up root file system
|
|
#+BEGIN_SRC sh
|
|
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
|
|
#+END_SRC
|
|
|
|
** Mount drives
|
|
#+BEGIN_SRC sh
|
|
mount /dev/sda3 /mnt
|
|
mkdir -p /mnt/boot
|
|
mount /dev/sda1 /mnt/boot
|
|
swapon /dev/sda2
|
|
#+END_SRC
|