Installation error
Hey, i have an error during the installation. I dual boot Windows and NixOS with secure boot disabled and thus i have no efi. How can i install it? Here is the error
warning: Git tree '/home/mickhat/.config/nixos' is dirty
building the system configuration...
warning: Git tree '/home/mickhat/.config/nixos' is dirty
evaluation warning: mickhat profile: `gtk.catppuccin.enable` and `gtk.catppuccin.gnomeShellTheme` are deprecated and will be removed in a future release.
The upstream port has been archived and support will no longer be provided.
Please see https://github.com/catppuccin/gtk/issues/262
[314/587 built, 16/1354/1912 copied (7487.5/16199.1 MiB), 1830.5/4537.5 MiB DL] [314/587 built, 16/1354/1912 copied (7491.2/16199.1 MiB), 1830.9/4537.5 MiB DL] [314/587 built, 16/1357/1912 cefiSysMountPoint = '/boot' is not a mounted partition. Is the path configured correctly?
Traceback (most recent call last):
File "/nix/store/zs4h2bdiphlkc5mi10byn3llxaiz74k0-systemd-boot/bin/systemd-boot", line 435, in <module>
main()
File "/nix/store/zs4h2bdiphlkc5mi10byn3llxaiz74k0-systemd-boot/bin/systemd-boot", line 415, in main
run([CHECK_MOUNTPOINTS])
File "/nix/store/zs4h2bdiphlkc5mi10byn3llxaiz74k0-systemd-boot/bin/systemd-boot", line 58, in run
return subprocess.run(cmd, check=True, text=True, stdout=stdout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/h3i0acpmr8mrjx07519xxmidv8mpax4y-python3-3.12.5/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/nix/store/003z1b30yv3slwfr2dssll8s0k6cdwid-check-mountpoints']' returned non-zero exit status 1.
Failed to install bootloader
warning: error(s) occurred while switching to the new configuration
Hi there @Mickhat ! From what I see in the error, it seems that it is not detecting the boot partition, so you probably need to mount this partition so NixOS can install the bootloader. Once that partition is mounted on /boot, you should have no more problems installing NixOS.
In theory i run NixOS already as a second boot, but i still get the same error, even in a VM.
The error has to do with the partitions of your computer. When installing the flake, did you replace the hardware-configuration.nix file of your system in the flake? This is important, because that file maps your system's mounts, which is different from the one uploaded in the repository. Try following the README installation instructions from bullet 2, and see if you can get it to run correctly.