View Full Version : [ubuntu] How do I move the home folder?

September 5th, 2009, 07:49 PM
How do I move my home folder to a different location?

September 5th, 2009, 07:54 PM
Where do you want to move it to?

A different partition?

It's not recommended to move it anywhere else in the system.

September 5th, 2009, 08:02 PM
If you want to create a seperate /home after installing with /home inside / there are directions here


September 5th, 2009, 08:05 PM
I wanted to move it to the "/media/disk" which seems to permenate on my computer and it can't be deleted. Well I only want to move it in here because thats where all my free space ended up and I don't know why so I was thinking about moving my home into it so I can have some free space back on my computer since that is where all my free space is.

September 5th, 2009, 08:27 PM
Presumably, /media/disk is another partition that you have.. possibly an NTFS partition containing Windows?

If this is indeed another OS, you might not want to make it your primary data directory, but you could simply put a symbolic link in your home folder that leads to a folder in media/disk. In a terminal:

cd ~

If the partition at /media/disk is empty or you don't mind reformatting it, you could do that and follow the instructions in halitech's post to move home there.

September 5th, 2009, 08:32 PM
Do I need the the Live CD to do this?

September 5th, 2009, 08:35 PM
Nope. Just run the above commands in a terminal and you will have a soft link on the file system to the folder.

You probably will need to type "sudo" ahead of the command to run it as root (Administrator).

September 5th, 2009, 08:45 PM
to follow achianese's instructions no. to follow the instructions in the link I provided then yes.