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.

Well I have a netbook, so I can't play games on windows either, no problem. But I'm getting a new desktop PC with better hadware and it will be able to run the most popular games and I want to have Windows on it to play games and software not compatible with ubuntu. I also want to have Ubuntu, as my primary OS, so I will set a dual boot.

In this computer I will have a small SSD with both OS and a second drive (a 500gb HDD) to store my files. I want to avoid copying files from one OS to another every time I, ie, download a file. My question is: Is there any way that I could make both OS use that HDD for home, like set it as NTFS and make ubuntu mount it on /home and also make windows to store user files, like My Documents, My Videos and Downloads, etc, on that partition?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Putting /home in an NTFS partition is not advisable as Linux cannot preserve ownership and permissions on NTFS partition.

I would recommend keeping /home in the default / partition in the SSD and creating sym links to the folders with most data (Documents, Music, Pictures, videos etc.) in a "Storage" partition formatted NTFS, that both Ubuntu and Windows can read and write to.

Since /home also stores all your config files, keeping /home in the / partition in the SSD helps keep things speedy.

A detailed How To is at: http://www.howtogeek.com/howto/35807/how-to-harmonize-your-dual-boot-setup-for-windows-and-ubuntu/

After following the instructions in the "How To" create the sym links like this:

  1. Open Nautilus and delete the folders you will not use in /home/[user], such as Documents etc. You should already have Documents etc. in the Storage folder. (In linux a partition is a folder as well).
  2. Navigate to the Storage folder and you will see the Documents etc. folders there.
  3. Right click on Document folder and select make Link. This will create a folder Called "link to Documents".
  4. Similarly, create "Link to Music", "Link to Pictures" and all the other sub-folders in the Storage folder.
  5. Copy these "Link to..." folders to your Home folder `/home/[user].
  6. Finally, right click on "Link to Documents" and rename it "Documents". Repeat for the remaining links.

Alternately

Delete the folders in /home/[user] as before.

Open a terminal by pressing Ctrl+Alt+T and enter

ln -s /media/storage/Documents /home/[user]/Documents
ln -s /media/storage/Downloads /home/[user]/Downloads
ln -s /media/storage/Documents /home/[user]/Documents
ln -s /media/storage/Public /home/[user]/Public
ln -s /media/storage/Pictures /home/[user]/Pictures
ln -s /media/storage/Music /home/[user]/Music
ln -s /media/storage/Videos /home/[user]/Videos

Hope this helps

share|improve this answer
    
Thanks you very much, looking for help in the internet I found that solution and i like it, but I didn't know how to do that sym links thing so, thanks you very much. –  Diego Nov 30 '12 at 3:11
    
I have added a mini how to make sym links in the answer. –  user68186 Nov 30 '12 at 12:38

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.