0

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 ~.

Zanna
  • 70,465

1 Answers1

0

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
  • -d : sets /media/user/d as new home directory for selected user.

And it does not remove your files from: /media/user/d.

Ravexina
  • 55,668
  • 25
  • 164
  • 183