The forward operating base of the concourse team!
- gdisk /dev/sda
- create a new gpt partition (
o
) - create a boot partition (
n
) 1. partition: <default> 1. first sector: <default> 1. size:500M
1. partition code:EF00
- create a main partition 1. partition: <default> 1. first sector: <default> 1. size: <default> 1. partition code: <default>
- Write changes (
w
) - Encrypt, Format, and mount the main partition:
- Note: Remember the password you give for the following two steps:
- Encrypt the partition:
cryptsetup luksFormat /dev/sda2
- Open the encrypted parition:
cryptsetup luksOpen /dev/sda2 crypted
- Format a btrfs drive on the encrypted partition:
mkfs.btrfs -L nixos /dev/mapper/crypted
- Mount the encrypted partition:
mount /dev/disk/by-label/nixos /mnt
- Format/Mount boot partition:
- Make it vfat:
mkfs.vfat /dev/sda1
- Create location for boot to mount:
mkdir /mnt/boot
- Mount the partition:
mount /dev/sda1 /mnt/boot
- Install git:
nix-env -i git
git clone https://github.com/concourse/cabin
- Run the install script
cabin/scripts/install
- After restart you'll need to set the password for the
pilot
user: - Once the login screen comes up, hit
alt
+shift
+F1
to open terminal 1 - login as root
- type
passwd pilot
to set the password forpilot
- exit and then hit
alt
+shift
+F1
to get back to the prompt - Checkout cabin and run the post install script:
mkdir workspace
git clone https://github.com/concourse/cabin
cd cabin
scripts/post-install