LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2013, 12:20 AM   #1
CatMan3110
LQ Newbie
 
Registered: Apr 2013
Distribution: Ubuntu, Fedora, Backtrack (for Edu. purposes).
Posts: 10

Rep: Reputation: Disabled
Need easy way to access all documents


I have a laptop tribooting Windows XP/Windows7/Ubuntu 12.04. What I want to do is set it up so that whether i'm using Windows or Ubuntu, all my documents are in the same place on my hdd. This would save me time and space as i would not have to browse to different folders depending on what OS i'm logged into, and I wouldn't have to store duplicate copies of files/folders. Currently, the "Users" folder for Windows is stored on a seperate partition from the OS. Can I instruct Ubuntu to use these same folders? Or should i redirect it to mount this partition as /home and then redirect Windows to thse folders for it's own use? Any help you can give me would be greatly appreciated.
 
Old 04-14-2013, 02:01 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
Quote:
Hi, Welcome to LQ!

LQ has a fantastic search function that may save you time waiting for an answer to a popular question.

With over 4 million posts to search it's possible the answer has been given.
Quote:
Can I instruct Ubuntu to use these same folders?
fstab holds a list of partitions and you may be able to mount your "Users" folder at the users home directory.

I do this, not with ntfs, with appended drives during recovery and for archiving.

If you do this with a ntfs partition you may need to set noatime in fstab line for that partition.

cheers
 
Old 04-14-2013, 06:27 AM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 5,990

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
Personally I would install Ubuntu to free space and ignore the users partition during the install. Then when everything was set up I would mount the partition to somewhere in /media/ and put a link to this in home.
This may not apply to you but because of the way drives seem to be seen in a different order every boot I tend to use UUIDS in fstab: http://wiki.sabayon.org/index.php?ti...ID_and_Volumes
 
1 members found this post helpful.
Old 04-14-2013, 08:04 AM   #4
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 808

Rep: Reputation: 216Reputation: 216Reputation: 216
I did the same recently on a friend's laptop that had windows preinstalled.
Two traps I walked right into that you can avoid:

1) Make sure that you mount the windows partition in fstab, not only in the running session, before bind mounting the windows user directory to some folder in your home.
Otherwise it will struggle on the next boot because the bind mount will be pointing to a volume that won't be mounted yet.

2) If you do not have a separate data partition but want to mount the windows user directory path you will have to deal with whitespaces in the path. Define such paths in fstab like described in this post to make it properly recognize the whitespaces.
 
Old 04-14-2013, 09:41 PM   #5
CatMan3110
LQ Newbie
 
Registered: Apr 2013
Distribution: Ubuntu, Fedora, Backtrack (for Edu. purposes).
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thanks guys. You've all been really helpful. You've given me some ideas on how to clean up this mess I have here and I think I can take your suggestions and formulate them into a solution. I'll post what I come up with.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to access shared documents between host and guest. yasaswisrikanth Linux - Virtualization and Cloud 1 02-05-2011 05:58 AM
Apache2 serving documents that are not for public access lhiggie Linux - Enterprise 3 05-27-2010 08:35 AM
Access to MS word documents on file server powah Linux - General 4 01-28-2009 10:21 AM
Shared Documents with access for Windows XP and Linux elmosgot Linux - Software 3 04-17-2005 11:45 AM
Linux cannot access Win XP documents zydna_ilman Linux - General 4 04-13-2004 11:01 AM


All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration