Closed ghost closed 2 years ago
Alternatively, I could attempt the installation using the other script (https://github.com/nix-community/nixos-install-scripts/issues/1) but I think I'll need to ask Hetzner to disable UEFI since it is already enabled.
You have to boot in rescue mode, not with ubuntu. the script is trying to do something to the file system, so you need to have a terminal with the filesystem unmounted. The rescue mode is debian if I remember correctly. Let me know if any of that doesn't make sense. I'm also interested in how to improve the docs when you figure it out (it's also something I struggled with.
Thanks for the response!
There’s a comment in the script that mentions Ubuntu needs to be installed and I misinterpreted that to mean “run from Ubuntu”. I was able to make some progress in the rescue system late last night but ran into issues with installing zfs (looks like the rescue system has kernel 5.13.1 but the zfs packages in the repo only support up to 5.10).
I think I have a path forward so I’ll give that a shot tonight after work (removing 5.13.1 headers and using 4.19.0 to unblock the zfs installation in the rescue system).
I’ll keep tracking my progress in this issue and am happy to contribute to documentation/script changes if necessary. Thanks again!
Amazing! Happy to help you merge anything that you think improves the doc.
I was able to resolve my issue by compiling zfs from source to get the latest version (2.1.x) that's compatible with kernel 5.13.1. Unfortunately I am not out of the woods and running into issues installing the bootloader but I've deviated from the script to use systemd-boot instead. Going to close this issue though. Thanks!
Hey đź‘‹ , I'm trying to install NixOS on my dedicated Hetzner box. I was trying the other script but wasn't able to get
uefi
booting to work. I switched to using this script and had a few questions.First, I have Ubuntu 20.10 installed on my dedicated server. The script fails on this line:
with the following error:
I understand those errors are due to the current Ubuntu installation using those drives. Output of
lsblk
:Is there a step I'm missing? Should this script be running with the Hetzner machine booted in Ubuntu? cc @happysalada (thanks for contributing the script btw!)