On Thu, 20 Oct 2022 06:45:59 +0100 Bob Williams <usenet@karmasailing.uk> wrote:
I am trying to move /home from a rather tired hdd to a new ssd on this desktop Tumbleweed system running KDE Plasma.
/ is on an nvme drive.
I have formatted (xfs) a partition on the new drive (/dev/sda1) and copied /home from the old drive to the new drive.
I have edited /etc/fstab to mount /dev/sda1 on /home and commented the line defining the hdd's mount point.
When I reboot, I get as far as the login screen, but my password is not accepted. The login screen keeps reappearing asking for a password.
Any suggestions as to what I may have missed out?
I see that symptom from time to time when the system cannot find userMe's home directory. My setup has /home on the / partition and only /home/UserMe is a link to some path on another disk. I also leave at least one user such as userZero on the / partition so that when I face this situation I just log-in as that userZero to see what fell off the back of the truck. THE most common reason for the incident is that the data drive hosting the linked userMe folder does not show up as /dev/sdb1, something that happens mostly with Suse for some reason and even though fstab uses ONLY uuid! At such times logging in as userZero and then su-ing in konsole lets me command "fdisk -l" and that tells me right off the bat if such is the problem. You can also hit one of the F keys to get a root login but I seldom do that so I can't say boo, that too would let you command "fdisk -l".