Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

The home partition holds all user data and settings. When backing up my home partition it contains a lot of data (the settings) I don't need. So I thought I could create a separate data partition and mount it to ~/Data. That would make my backups smaller and the backup process easier because all my important data is on this partition and nothing else. How can I create and mount such a partition. Is it possible to set this up during the Ubuntu 12.04 LTS installation? Another important thing would be that the places shortcuts in nautilus (documents, music etc.) should point to the directories in my data partition. Is that possible?

Thanks for your time

share|improve this question
1  
Do you have the available empty space to create the partition? –  Mitch Jun 12 '13 at 10:10
    
Sure, I am about to do a fresh Ubuntu install on an empty hard drive. –  urbaindepuce Jun 12 '13 at 11:03
    
You can also only backup the Documents, Photo's, etc. folders instead of your whole home folder. –  Jop Jun 12 '13 at 11:51
    
Yes that would be the simplest solution. But whenever create a new folder in my home directory I would have to change my backup settings. I wanted to avoid that, just in case I forget it. –  urbaindepuce Jun 12 '13 at 12:45
add comment

1 Answer

up vote 1 down vote accepted

Once you boot from CD/DVD, or USB, and get to the installation Screen, choose Something Else.

enter image description here

And when you get to the screen below, and choose New Partition Table, and just follow the images below. Make sure you divide the space according to your needs /, Swap, /Data, and /Home, etc...

Note: The image below are for instructional purposes, your real life situation maybe different.

enter image description here

enter image description here

enter image description here

enter image description here

share|improve this answer
    
Is it possible to set the mount point for the data partition to my home directory e.g. ~/Data and move the folders Documents, Music etc. into it? How can I alter the places shortcuts in Nautilus to point to these new locations? For example the shortcut to Documents should go to ~/Data/Documents –  urbaindepuce Jun 12 '13 at 12:42
    
@urbaindepuce, you can remove the existing Documents directory, and replace it with a symlink: rmdir Documents && ln -s ~/Data/Documents Documents. –  psusi Jun 12 '13 at 13:24
    
thats a great idea thanks –  urbaindepuce Jun 12 '13 at 20:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.