From 9d50207d693af310ccbd010879c866e20a7ba49f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 20 Sep 2022 08:34:00 +0200 Subject: [PATCH 1/2] README: add remark about swap --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c52ad7f..db5c502 100644 --- a/README.md +++ b/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 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 -option. After running kexec, the NixOS installer exists only in memory. At the time of -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, -users can reformat all the system's discs to prepare for a new NixOS -installation. +option. After running kexec, the NixOS installer exists only in memory. At the +time of writing, this requires at least 2.5GB of physical RAM (swap does not +count) in the system. If not enough 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 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) and [kexec bundle](https://github.com/nix-community/nixos-images/releases/download/nixos-unstable/kexec-bundle-x86_64-linux). From b7d482eb980bce32a9a36ce2fe947da926d42b90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 20 Sep 2022 08:36:50 +0200 Subject: [PATCH 2/2] download tarball non-silet --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index db5c502..39c9ea0 100644 --- a/README.md +++ b/README.md @@ -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: ``` -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 ```