Skip to content
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

nixos-facter not available #423

Closed
elliott-farrall opened this issue Nov 9, 2024 · 1 comment · Fixed by #439
Closed

nixos-facter not available #423

elliott-farrall opened this issue Nov 9, 2024 · 1 comment · Fixed by #439

Comments

@elliott-farrall
Copy link

I am trying to install to a machine that is running the minimal nixos iso and generate the hardware config using nixos-facter. However, I keep getting

aborted: nixos-facter is not available in booted installer. You may want to boot an installer image from here instead: https://github.com/nix-community/nixos-images

I have tried visiting the page but couldn't find anything on there that helped.

@sedlund
Copy link
Contributor

sedlund commented Dec 23, 2024

Just to follow up. If you pre booted an official nixos installer it will not have nixos-facter and nixos-anywhere will use this environment rather than running kexec. If the target machine was booted into a Linux OS it would have kexec'd into an image that has nixos-facter available. So in your situation it is easiest to just opt to use nixos-generate-config instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants