Merge pull request #16 from nix-community/kexec-tarballs
README: reformat & remove duplicate sentence
This commit is contained in:
commit
0a6e129a8f
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -11,18 +11,18 @@ It consists of the [kernel image](https://github.com/nix-community/nixos-images/
|
||||||
## Kexec tarballs
|
## Kexec tarballs
|
||||||
|
|
||||||
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 exists only in memory. At the time of
|
option. After running kexec, the NixOS exists only in memory. At the time of
|
||||||
writing, this requires at least 2.5GB of RAM in the system. If not enough RAM
|
writing, this requires at least 2.5GB of RAM in the system. If not enough RAM
|
||||||
is available, the initrd cannot be loaded. Because the NixOS runs only in RAM,
|
is available, the initrd cannot be loaded. Because the NixOS runs only in RAM,
|
||||||
users can reformat all the system's discs to prepare for a new NixOS
|
users can reformat all the system's discs to prepare for a new NixOS
|
||||||
installation.
|
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).
|
||||||
|
|
||||||
The nixos-kexec-installer tarball is the new preferred method.
|
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:
|
||||||
|
|
||||||
|
@ -37,4 +37,4 @@ This allows for easier integration into automated nixos installation scripts, si
|
||||||
The tarball is also designed to be run from NixOS, which can be useful for new installations
|
The tarball is also designed to be run from NixOS, which can be useful for new installations
|
||||||
|
|
||||||
We also have [kexec-bundle](https://github.com/nix-community/nixos-images/releases/download/nixos-unstable/kexec-bundle-x86_64-linux),
|
We also have [kexec-bundle](https://github.com/nix-community/nixos-images/releases/download/nixos-unstable/kexec-bundle-x86_64-linux),
|
||||||
which is a self-extracting archive from [nixos-generators](https://github.com/nix-community/nixos-generators). This version unpacks itself to `/` and possibly overlays the existing `/nix/store` with its own files. with its own files.
|
which is a self-extracting archive from [nixos-generators](https://github.com/nix-community/nixos-generators). This version unpacks itself to `/` and possibly overlays the existing `/nix/store` with its own files.
|
||||||
|
|
Loading…
Reference in a new issue