nixos-gnome-23.05.1875.8df7a67abaf-x86_64-linux.iso from the official NixOS download page, flashed a USB drive with Etcher, booted into the live USB, selected the default installation option in the menu, connected to my Wi-Fi, went through the installation process, selected “Erase disk” on the partitioning screen, and then finished the installation successfully.
However, after removing my USB drive and rebooting the computer there’s only 3 boot options in the firmware interface:
- UEFI: PXE IP6 Realtek PCIe GBE Family Controller
- UEFI: PXE IP4 Realtek PCIe GBE Family Controller
- UEFI OS (PO: WDC WD10SPZX-00Z10T0)
Booting into any of these just throws me back into the firmware interface. I have repeated the installation process 2 times with the same result.
Check the EFI partition to see if grub or systemd-boot were installed. If you installed NixOS with the graphical installer, then try the manual (commandline) installer.
I went and followed this manual installation guide and got the installation to work.
I’m having the same issue, with both the graphical and command-line installations.
/boot partition seems to have systemd-boot installed but notably
/boot/loader/entries is empty
Also have the same problem.
Finaly, I found a solution for my install. Even if I have UEFI devices and it works very well with Arch and Debian, I have deactivated UFI boot and I have activated the Legacy mode in my BIOS. After a last reinstall, I was able to boot.
After this initial frustration, I must say that I have a lot of fun with strange but fascinating distro. I have tried a lot of install and uninstall of lot of software. I know that with any other distros I tried, the install would break down. I’m flabergasted. This distro is indesctructible!!!
There’s a good chance completely disabling legacy bios support would make the uefi install succeed (in all these cases).
The NixOS installer has both an MBR and a UEFI boot loader. Therefore your motherboard may detect that the USB has an MBR, and immediately go “oh, this must be a legacy drive then, lemme boot it in legacy mode’” without checking for an efi partition.
At that point the installer can’t access the firmware for an EFI install, so it installs an MBR, and finally your motherboard doesn’t offer the legacy boot option when it’s not scanning removable media, resulting in the vanished installation.
I think other distros have given up on MBR on their default installation media, so other distros, while not supporting legacy systems, have this particular problem less often.
To double check if you booted the installer correctly, check if
/sys/firmware/efi exists. If it does not, fiddle with your boot options until it does, or get a refund for your laptop because its firmware is crap.
Note that software still often leaves crap lying around, which may cause hiccups if you reinstall it. For full indestructibility, you can experiment with setups like this - can be quite a chore to get working, though.
I have the same issue. I am trying to install NixOS on a HP Thin Client T620. I have disabled legacy support and am using uefi.
Installer works and finishes the installation. After restart there is no boot option. It seems to work when I use BIOS.
Installer seems to work fine at first though. It creates an EFI Partition and a Linux one opposed to the single partition it creates in legacy mode. It mounts /dev/sda1 and 2 to /tmp/calamares-root- and /boot. What I did notice though is that the boot folder is completely empty.