@peterhoeg@olmokramer I apologize for wasting your time: the problem instantly vanished 1-2 reboots after the first occurrence. My love and admiration for NixOS have just increased.
I cannot seem to fix this and it’s positively maddening. I’ve tried sudo bootctl install as well as its --graceful option; I’ve rebooted (many times) and all. I can’t seem to update my system.
I’m having this issue too. Previously I couldn’t even upgrade using nixos-rebuild switch because it would just quit the DE during upgrade. Rebooting/Shuting down would also hang.
I tried sudo bootctl install and it partially solved the issue - rebooting/booting/shuting down no longer hangs and I’m able to log in. But I still cannot upgrade the system at all. Every time I do nixos-rebuild switch it would just give me could not find any previously installed systemd-boot and exit. Does anyone have any idea how to fix this? Thanks so much!
I tried sudo bootctl install and it partially solved the issue - rebooting/booting/shuting down no longer hangs and I’m able to log in. But I still cannot upgrade the system at all. Every time I do nixos-rebuild switch it would just give me could not find any previously installed systemd-boot and exit.
After doing sudo bootctl install then a few times of rebooting (more than 3 times), the issue went away and I was able to do nixos-rebuild switch. I’m not sure if the issue is completely gone forever or just temporarily.
The issue came back. I posted a separate topic here.
But basically I tried to upgrade the system using nixos-rebuild switch and during the process it just crashed/quit the window manager and showed a blackscreen and white cursor and just hang there. I forced the machine to shutdown and boot again. It successfully boot into the WM but when I tried nixos-rebuild again it showed the message
could not find any previously installed systemd-boot
Wasn’t this issue already solved? Am I missing something or doing something wrong? Please help!
I also face the same issue. Do anyone here solve it yet? bootctl install and rebot doesn’t solve problem quite well. Now my system is unable to upgrade or install packages.
If you are the same “hoping star” who also posted their error message into the discord, I think your problems is unrelated. Please lets either continue the problem in the discord or open a new thread here where you post the error message, the config snippet you posted there as well as the output of lsblk | grep /boot and/or your fileSystems.* that are boot related.