efiSysMountPoint = '/boot' is not a mounted partition

Hello

I try to install nixos on my desktop PC (along existing Ubuntu and Windows 10).
I prepared three partitions “nix-root”, “@home” (identical to the Ubuntu home partition) and “nix-log” and mounted all of them in the correct tree into the /mnt directory of the RAM based console installer, including the EFI partition (to nix-root/boot).

When I try to install, I get the following error at the end:

efiSysMountPoint = ‘/boot’ is not a mounted partition

Which is strange for me, as the boot folder is mounted and contains the correct files (from the Windows and Ubuntu bootloader).

As there is no graphical UI, I have taken a photo of the screen, which shows the mounted partitions, the content of the boot folder, the install command and the error.

Anybody have a idea, what is wrong?

Thanks

Michael

You need to set --root,
By default, nixos-install assumes /mnt is the root of the install, so it would expect /mnt/boot, /mnt/home, etc.
Your partitions are mounted under /mnt/nix-root, so you need to add --root /mnt/nix-root/ to the nixos-install command line.

Thanks a lot. That worked. Such a simple fix, great.

So, it is starts booting now, but doesn’t finish. At least one step at a time :slightly_smiling_face:

1 Like