PDA

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



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

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

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

http://www.psychocats.net/ubuntu/separatehome

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

achianese
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 ~
ln -s /media/disk/FOLDERNAME NAMEOFLINK

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.

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

Copernicus1234
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).

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