fix: more docs w.r.t. bootstrap iso

This commit is contained in:
David Arnold 2021-08-12 20:57:22 -05:00
parent c46d923876
commit 079adc4474
No known key found for this signature in database
GPG key ID: AB15A6AF1101390D

View file

@ -21,19 +21,22 @@ partition to `/mnt/boot`:
$ mount /dev/disk/by-label/nixos /mnt
$ mkdir -p /mnt/boot && mount /dev/disk/by-label/boot /mnt/boot # UEFI only
$ swapon /dev/disk/by-label/swap
# add some extra space to the store, it's running on a tmpfs on your RAM
```
Add some extra space to the store. In the iso, it's running on a tmpfs
off your RAM:
```console
$ mkdir -p /mnt/tmpstore/{work,store}
$ mount -t overlay overlay -olowerdir=/nix/store,upperdir=/mnt/tmpstore/store,workdir=/mnt/tmpstore/work /nix/store
```
## Install
Install using the `flk` wrapper baked into the iso off of a copy of devos
from the time the iso was built:
Install off of a copy of devos from the time the iso was built:
```console
$ cd /iso/devos
$ nixos-install --flake .#NixOS # use same host as above
$ nixos-install --flake .#NixOS
```
## Notes of interest
@ -42,7 +45,7 @@ $ nixos-install --flake .#NixOS # use same host as above
The iso live installer comes preconfigured with a network configuration
which announces it's hostname via [MulticastDNS][mDNS] as `hostname.local`,
that is `NixOS.local` in the [iso example](./iso).
that is `bootstrap.local` in the [iso example](./iso).
In the rare case that [MulticastDNS][mDNS] is not availabe or turned off
in your network, there is a static link-local IPv6 address configured to
@ -66,7 +69,7 @@ You can then ssh into the live installer through one of the
following options:
```console
ssh root@NixOS.local
ssh root@bootstrap.local
ssh root@fe80::47%eno1 # where eno1 is your network interface on which you are linked to the target
```