Please understand that I took 4 different stabs at composing a reply, each one using a different approach. In the end, the below will be my only and considered response ...
Please note that the fact that @Bombilla has "liked" my post indicates a basic "vetting" of what I put forth as an "appropriate response".
Have you read one of the many "Intro to Linux" books ... and ... one of the many Intro to Linux Admin" books ... and ... used a Live (or not) session to practice the exercises that were being offered to perform various actions?
If NOT ... I strongly suggest that you first take a step back to do those as foundational preparation before coming at this again, because some of the comments/questions raised indicate, in my opinion, possibly erroneously, that you don't have what I would consider a sufficient awareness of "how things work" in Linux to have understood my above outline of the necessary steps ... which implied other steps not explicitly outlined.
To give you a sense of the expected knowledge ...
-
expectation that all actions performed from a Live ISO session ... because the mountpoint for /home would be busy and not moveable if the rename was attempted if you simply booted up your system.
-
because you are working from Live, the /home is not pointing to the physical location of where your second partition is located. It is only an empty directory!
The above would be understood by anyone with "basic", not even complete, knowledge of admin skills.
"Race conditions" is referring to any situation where correct functional execution is depending on the events being performed in a proper sequence which ensures that required tasks are performed before subsequent dependant tasks call upon the results of those earlier tasks.
The entire architectural design of systemd was to provide fine control of the distinct various kernel/os elements by providing a mechanism whereby the specification of pre-requisites, before initiating those dependant tasks, were confirmed as having been met.
If the "dependent" has "raced" past the "provider", starting before the provider has put the dependency in place for usage, that is what is identified as a race condition.
A basic summary of what is involved is available from the below:
I would also ensure that you have a full backup of /home by itself, but more importantly, to protect the contents of /home, if that is a separate disk, simply unplug that disk, leaving only the root disk exposed to actions performed by an ISO-based install process. After the install, you can
-
recreate the "dummy" directory for the other non-admin users, making sure you use the same USERNAME and UID and GID which they had for the earlier configuration;
-
re-connect the drive for /home then complete the final tweaking of /etc/fstab for the drive/partition that has the proper /home;
-
reboot, and the contents of the pre-boot /home on root partition will disappear since the /home is being re-mapped to the /home on the secondary disk/partition.