diff --git a/README.md b/README.md index a00ebf6..c52ad7f 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ 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 exists only in memory. At the time of +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 @@ -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 -xJf- -C /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 /root/kexec/run ``` diff --git a/build-images.sh b/build-images.sh index 3d5a13f..ed7f013 100755 --- a/build-images.sh +++ b/build-images.sh @@ -31,7 +31,7 @@ build_kexec_installer() { # run the test once we have kvm support in github actions # ignore=$(nix-build ./nix/kexec-installer-test.nix -I "nixpkgs=https://github.com/NixOS/nixpkgs/archive/${tag}.tar.gz" --argstr system "$arch") out=$(nix-build '' -o "$tmp/kexec-installer-$arch" -I nixos-config=./nix/kexec-installer.nix -I "nixpkgs=https://github.com/NixOS/nixpkgs/archive/${tag}.tar.gz" --argstr system "$arch" -A config.system.build.kexecTarball) - echo "$out/tarball/nixos-kexec-installer-$arch.tar.xz" + echo "$out/nixos-kexec-installer-$arch.tar.gz" } main() {