Merge pull request #22 from nix-community/kexec-tarballs
Add remark about swap
This commit is contained in:
commit
02b79ab079
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -13,11 +13,11 @@ It consists of the [kernel image](https://github.com/nix-community/nixos-images/
|
||||||
Kexec is a mechanism in Linux to load a new kernel from a running Linux to
|
Kexec is a mechanism in Linux to load a new kernel from a running Linux to
|
||||||
replace the current kernel. This is useful for booting the Nixos installer from
|
replace the current kernel. This is useful for booting the Nixos installer from
|
||||||
existing Linux distributions, such as server provider that do not offer a NixOS
|
existing Linux distributions, such as server provider that do not offer a NixOS
|
||||||
option. After running kexec, the NixOS installer exists only in memory. At the time of
|
option. After running kexec, the NixOS installer exists only in memory. At the
|
||||||
writing, this requires at least 2.5GB of RAM in the system. If not enough RAM
|
time of writing, this requires at least 2.5GB of physical RAM (swap does not
|
||||||
is available, the initrd cannot be loaded. Because the NixOS runs only in RAM,
|
count) in the system. If not enough RAM is available, the initrd cannot be
|
||||||
users can reformat all the system's discs to prepare for a new NixOS
|
loaded. Because the NixOS runs only in RAM, users can reformat all the system's
|
||||||
installation.
|
discs to prepare for a new NixOS installation.
|
||||||
|
|
||||||
Currently, there are two variants of kexec: [nixos-kexec-installer](https://github.com/nix-community/nixos-images/releases/download/nixos-unstable/nixos-kexec-installer-x86_64-linux.tar.xz)
|
Currently, there are two variants of kexec: [nixos-kexec-installer](https://github.com/nix-community/nixos-images/releases/download/nixos-unstable/nixos-kexec-installer-x86_64-linux.tar.xz)
|
||||||
and [kexec bundle](https://github.com/nix-community/nixos-images/releases/download/nixos-unstable/kexec-bundle-x86_64-linux).
|
and [kexec bundle](https://github.com/nix-community/nixos-images/releases/download/nixos-unstable/kexec-bundle-x86_64-linux).
|
||||||
|
@ -27,7 +27,7 @@ The nixos-kexec-installer tarball is the new preferred method.
|
||||||
It can be booted as follows by running these commands as root:
|
It can be booted as follows by running these commands as root:
|
||||||
|
|
||||||
```
|
```
|
||||||
curl -sL https://github.com/nix-community/nixos-images/releases/download/nixos-unstable/nixos-kexec-installer-x86_64-linux.tar.gz | tar -xzf- -C /root
|
curl -L https://github.com/nix-community/nixos-images/releases/download/nixos-unstable/nixos-kexec-installer-x86_64-linux.tar.gz | tar -xzf- -C /root
|
||||||
/root/kexec/run
|
/root/kexec/run
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue