NixOS 22.05 installer fails

According to the logs a bunch of different things failed; I’m not sure which one is responsible for the overall failure.

1 Like

The linked page is terrible. At least for me, it puts all the logs on a single line and adds \n sequences where the line breaks would be, making it almost unreadable. Can you maybe share this on a better site?

What I could already see towards the end:

installation of GRUB on /dev/sda3 failed: No such file or directory

So it seems to try to install GRUB on a partition that does not exist. Not sure why it would do that (normally, GRUB goes directly to /dev/sda), so ideally also post the configuration.nix that you are using as a base for the install.

The linked page is the default output when the calamares installer fails, although I’m working on improving the logging output to be more readable. But for the issue seems grub is trying to install itself on a partition /dev/sda3 rather than the device /dev/sda as @polygon mentioned. Is the drive you are installing on a GPT or MBR drive?

1 Like

It’s GPT. In the end I gave up and used the CLI install.

1 Like