27 lines
551 B
Org Mode
27 lines
551 B
Org Mode
#+TITLE: Ao
|
|
#+DATE: December 16, 2014
|
|
|
|
* Overview
|
|
Mac Mini 2014. Used as a low-power home server.
|
|
|
|
* Specs
|
|
https://support.apple.com/kb/SP710?locale=en_CA
|
|
|
|
* 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 512MiB 100%
|
|
parted /dev/sda -- set 1 boot on
|
|
mkfs.fat -F32 -n BOOT /dev/sda1
|
|
mkfs.ext4 -L nixos /dev/sda2
|
|
#+END_SRC
|
|
|
|
** Mount drives
|
|
#+BEGIN_SRC sh
|
|
mount /dev/sda2 /mnt
|
|
mkdir -p /mnt/boot
|
|
mount /dev/sda1 /mnt/boot
|
|
#+END_SRC
|