Skip to content

limited-ram: document that having a swap partition will help #566

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions docs/howtos/limited-ram.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# Kexec on Systems with Limited RAM

When working with nixos-anywhere on systems with limited RAM (around 1GB), you
can use the `--no-disko-deps` option to reduce memory usage during installation.
can:

## How it works
* use the `--no-disko-deps` option to reduce memory usage during installation.
* ensure the disk has a swap partition
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not too happy with this exact wording. It also seems to contradict with your commit message a little.

To me

ensure the disk has a swap partition

Reads like you need to have a swap partition, not that a swap partition might or will help.
It also can be read as --no-disko-deps requires a swap partition.


## How `--no-disko-deps` works

The `--no-disko-deps` option uploads only the disko partitioning script without
including its dependencies. This significantly reduces memory usage because:
Expand Down
Loading