2020-10-01 15:46:04 -07:00
|
|
|
#+TITLE: Ao
|
2021-04-13 17:27:26 -07:00
|
|
|
#+DATE: December 16, 2014
|
2020-12-18 20:42:24 -08:00
|
|
|
|
|
|
|
* Overview
|
2021-04-13 17:27:26 -07:00
|
|
|
Mac Mini 2014. Used as a low-power home server.
|
2020-12-18 20:42:24 -08:00
|
|
|
|
|
|
|
* Specs
|
2021-04-13 17:27:26 -07:00
|
|
|
https://support.apple.com/kb/SP710?locale=en_CA
|
2020-12-18 20:42:24 -08:00
|
|
|
|
|
|
|
* Installation
|
2021-04-13 17:27:26 -07:00
|
|
|
** 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
|