I would like to move my /home/[user]
to my partitioned drive that is currently /media/[user]/D
.
I have been saving all of my pertinent files on the second drive, but I would like to make it a shorter path like ~
.
I would like to move my /home/[user]
to my partitioned drive that is currently /media/[user]/D
.
I have been saving all of my pertinent files on the second drive, but I would like to make it a shorter path like ~
.
If you want to move the whole /home
to a another partition (change /home
partition) as muru already said the workaround is here.
However if you want to only change a specific user home directory:
sudo usermod -d /media/user/d uesername
/media/user/d
as new home directory for selected user.And it does not remove your files from: /media/user/d
.