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

Few problems in the Hetzner dedicated AX41 zfs-uefi-nvme-nixos.sh script: #19

Open
HanEmile opened this issue Mar 9, 2023 · 1 comment

Comments

@HanEmile
Copy link

HanEmile commented Mar 9, 2023

I've set it up and it's working now, just want to document some problems which came up here for other people:
(This Issue was written on 2023-03-09 (yyyy-mm-dd), might have changed if you're reading this).

  • You don't need Ubuntu installed, but the Rescue System
  • The Rescue System kernel is to new for installing zfs via get: you can use the "zfs" script provided by Hetzner to build it from source
    • just execute zfs in the rescue shell, if zfs isn't installed yet, it'll try to install it.
  • the NIX_PATH has to be set, I set it to the following just above the PATH="$PATH" NIX_PATH="$NIX_PATH" ... line and it just worked:
    • export NIX_PATH=${NIX_PATH:+$NIX_PATH:}$HOME/.nix-defexpr/channels
@ThyMYthOS
Copy link

Maybe temporary problem: The zfs in the rescue system is already 2.2.1 while nixos stable is still at 2.1.13. So the created pools cannot be imported if you don't provide -o compatibility=openzfs-2.1-linux

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

No branches or pull requests

2 participants