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.

Hi to all,

Recently I installed Ubuntu 12.10. It's very nice and I like it very much. I have a few doubts about folders, as I was previously using Windows. In Windows, I have 3 local disks C,D,E. Now I did a partition in Ubuntu following these steps:

  • partition with system data mounted is / 25 GB
  • swap partition is 4GB
  • partition dedicated to personal data mounted on /home that is 46 GB, because I only had an 80GB HDD.

My Doubt is if it is possible to create two home folders, like Windows' local disks D & E, to Store Data in different folders. Does anyone know how to create two folders to store data?

share|improve this question
    
You want two home folders? But why? What do you have on disk D and what on disk E? Is E a backup of D? Or do you store your files on D and somebody's else files on E? Maybe there is an easier way to achieve what you want? –  user31389 Apr 29 '13 at 13:58
    
Well you can make a new folder with mkdir. the current location of your home folder is /. So if you want another home folder just type in this: mkdir /Name_of_your_new_directory with ls -la you can check if you new folder is there... –  M.Meintjes Apr 29 '13 at 14:17
1  
Not a 2nd /home but you can create another directory and add that to home ;) –  Rinzwind Apr 29 '13 at 14:33

3 Answers 3

If only the folders you use in ubuntu, I recommend ext4 partition with the partition that you can use at any time as an external drive.

share|improve this answer

No you can not create two home folders. There is no need at all to creat /home if you have other drives to keep your data. We use mount flags to seperate certain files for the purposes of preventing loss of data like packages if an upgrade is due. You might want to create a seperate mount point /usr as this is where all your apps and packages will go, and if you upgrade later on there's a very good chance you'll lose these if they're in the same block under / If you're using a seperate mount point /home just to make sure you get enough space for your personal files, then there is no need to, /home is a folder in / if not created seperately, and thus has the same space. However, if you have no place to keep your data when you upgrade then you will want /home flag to be defined. But most definitely creat a /usr flag.

share|improve this answer

You can mount a partition at any time. If you want it to appear under the folder /home, add it to /etc/fstab.

/dev/sdaX /home/myuser/myfolder auto defaults 0 0

/home is where your configuration files are saved. You don't want two homes.

share|improve this answer

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.