Search code examples
nixnixos

What to do if nixos stay blocked after Starting systemd


I start nixos from wsl. Sometime after the start, it get blocked I get these lines and nothing happends after that

Copying /usr/share/applications
Copying /usr/share/icons
setting up /etc...
setting up /bin...
Starting systemd...

Solution

  • It doesn't answer why nixos is blocked but it solves the problem.

    open a new terminal. And then enter that:

     wsl --shutdown
    

    and

     wsl
    

    repeat as long as necessary