Sorry this is a long story can’t figure out how to shorten it so that it makes sense.
The /home and /data partitions disappeared on my laptop but mate 16.04 and windows partitions are still there. 16.04 would start booting but only give me a terminal, because it couldn’t find /home or my data partition, listed in /etc/fstab.
I’ve just installed 17.04 in the space left by the disappearing partitions, creating a new /home.
This then booted into the desktop login screen.
But the in the old 16.04 I was michael and in the new 17.04 I’m mike.
Of course 16.04 is still asking for michael to log in and there was no michael home. So I’ve created michael’s home and pasted the 16.0 home files from the PC desktop into it.
Still no joy, when I enter the password, it starts to do something, but just comes back with the login screen and no fault message.
I have a feeling it’s a permissions issue, and I don’t think michael has permission to open the home created by mike.
Any clues anybody?
I could reinstall 16.04 I guess, but I’d rather repair if possible, it’s so close now.