README: add remark about swap

This commit is contained in:
Jörg Thalheim 2022-09-20 08:34:00 +02:00
parent 88b64cdf0e
commit 9d50207d69

View file

@ -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).