Home  |  About  | Last |  Submit  |  Contact
AllQuests.com

Previous Question:  How to install TCL tk interpreter  General HelpNext Question:  athena widgit for ncview  General Help
Question Move Documents and others to another drive ( Ubuntu Forums Desktop Environments )
Updated: 2008-11-23 01:55:09 (3)
Move Documents and others to another drive

How can I move the Documents, Desktop, Music etc. folders (i.e. most of the folders in my Ubuntu home folder) to a different drive, specifically on the NTFS-formatted drive that contains all my Windows goodies (documents, pictures etc.)? I need the Ubun 1f40 tu Documents folder to be the same as my Windows Documents folder, my Ubuntu Music folder to be the same as my Windows Music folder and so on and so forth... It should, ultimately, be an issue of getting the Ubuntu icons in question to point to my Windows folders.

Better yet, how can I move the whole home folder onto the drive that contains my Windows profile?

I've been doing some searches, and I have found only situations where the new drive that is to host the folders in question is barren. Note, then, that I need to conflate my Windows and Ubuntu profiles, so that, until my switch to Ubuntu is complete, I get to share the profiles (or, at least, the essential media and document folders) between the two OSs without having to synchronize folders etc.

Answers: Move Documents and others to another drive ( Ubuntu Forums Desktop Environments )
Move Documents and others to another drive

Quote:
Originally Posted by Aqualung
Better yet, how can I move the whole home folder onto the drive that contains my Windows profile?
You don't want to do that, NTFS doesn't support all the filesystem and security features necessary to make a home directory work the way it should. And the settings are stored in such vastly different way there's no real benefit to having them all together.

Quote:
How can I move the Documents, Desktop, Music etc. folders (i.e. most of the folders in my Ubuntu home folder) to a different drive, specifically on the NTFS-formatted drive that contains all my Windows goodies (documents, pictures etc.)? I need the Ubuntu Documents folder to be the same as my Windows Documents folder, my Ubuntu Music folder to be the same as my Windows Music folder and so on and so forth... It should, ultimately, be an issue of getting the Ubuntu icons in question to point to my Windows folders.
The easiest way to do this is to mount the NTFS drive automatically at boot and move everything out of your ~/Documents folder in to windows my documents, the same for ~/Music, etc. And then use symlinks to have the windows directories show up in your home folder.
Example:
Code:
ln -s /media/windows/Documents\ and\ Settings/User/My\ Documents ~/Documents
Note that the ~/Documents folder has to be emptied and delete before this will work.

PeterJS

Move Documents and others to another drive

Quote:
Originally Posted by PeterJS
The easiest way to do this is to mount the NTFS drive automatically at boot
Thanks. How do i do that?
Quote:
and move everything out of your ~/Documents folder in to windows my documents, the same for ~/Music, etc. And then use symlinks to have the windows directories show up in your home folder.
Example:
Code:
ln -s /media/windows/Documents\ and\ Settings/User/My\ Documents ~/Documents
Note that the ~/Documents folder has to be emptied and delete before this will work.
Okay. Will that work for the Desktop folder as well? Also, I assume I have to replace User w/my username etc. Better yet, it looks to me that I have to give this symlinks command a closer look to figure out the syntax...

Aqualung

Move Documents and others to another drive

Quote:
Originally Posted by Aqualung
Thanks. How do i do that?
The ntfs-config tool should set this up for you.

Quote:
Okay. Will that work for the Desktop folder as well?
I've never tried that particular set up, can't think of a technical reason it wouldn't work. It'd be kinda weird, you'd end up with linux short cuts on your window's desktop and vice versa. It'd be funny looking but not harmful.

Quote:
Also, I assume I have to replace User w/my username etc. Better yet, it looks to me that I have to give this symlinks command a closer look to figure out the syntax...
For all the dry details:
Code:
man ln
The cliff notes go something like this:
ln is the (filesystem) linker (not to be confused with the program linker (ld)).

The is -s flag less it to make a soft link (also called a symlink), the other option is a hardlink. A symlink functions a lot like a window's shortcut, but can be used completely interchangeably with the original file. A hard link pretty much amounts to giving a second file name to an existing file.

The format of the locations is the thing you want to link to first, and where you want the link to appear second.

PeterJS

Previous Question:  How to install TCL tk interpreter  Ubuntu Forums  General HelpNext Question:  athena widgit for ncview  Ubuntu Forums  General Help

- Source: Move Documents and others to another drive Ubuntu Forums Desktop Environments
- Previous Question: How to install TCL tk interpreter Ubuntu Forums General Help
- Next Question: athena widgit for ncview Ubuntu Forums General Help





AllQuests.com