This question already has an answer here:
- Home directory not being created 10 answers
I might have moved my home folder by mistake, and now I'm stuck in a login loop. Every time I log in, the screen just flashes as if it logs in and then asks me to log in again. When pressing Ctrl+Alt+F3 and logging in it says
no directory logging in with home=/
I've looked around and it seems I've messed up the location of my home folder. But how do I fix it?