mirror of
https://github.com/divnix/digga.git
synced 2024-11-26 23:35:12 +03:00
fix: more docs w.r.t. bootstrap iso
This commit is contained in:
parent
c46d923876
commit
079adc4474
@ -21,19 +21,22 @@ partition to `/mnt/boot`:
|
|||||||
$ mount /dev/disk/by-label/nixos /mnt
|
$ mount /dev/disk/by-label/nixos /mnt
|
||||||
$ mkdir -p /mnt/boot && mount /dev/disk/by-label/boot /mnt/boot # UEFI only
|
$ mkdir -p /mnt/boot && mount /dev/disk/by-label/boot /mnt/boot # UEFI only
|
||||||
$ swapon /dev/disk/by-label/swap
|
$ 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}
|
$ mkdir -p /mnt/tmpstore/{work,store}
|
||||||
$ mount -t overlay overlay -olowerdir=/nix/store,upperdir=/mnt/tmpstore/store,workdir=/mnt/tmpstore/work /nix/store
|
$ mount -t overlay overlay -olowerdir=/nix/store,upperdir=/mnt/tmpstore/store,workdir=/mnt/tmpstore/work /nix/store
|
||||||
```
|
```
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
Install using the `flk` wrapper baked into the iso off of a copy of devos
|
Install off of a copy of devos from the time the iso was built:
|
||||||
from the time the iso was built:
|
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ cd /iso/devos
|
$ cd /iso/devos
|
||||||
$ nixos-install --flake .#NixOS # use same host as above
|
$ nixos-install --flake .#NixOS
|
||||||
```
|
```
|
||||||
|
|
||||||
## Notes of interest
|
## 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
|
The iso live installer comes preconfigured with a network configuration
|
||||||
which announces it's hostname via [MulticastDNS][mDNS] as `hostname.local`,
|
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 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
|
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:
|
following options:
|
||||||
|
|
||||||
```console
|
```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
|
ssh root@fe80::47%eno1 # where eno1 is your network interface on which you are linked to the target
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user