LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 03-03-2006, 10:12 AM   #1
enine
Member
 
Registered: Nov 2003
Distribution: Slackware 14.1
Posts: 820
Blog Entries: 3

Rep: Reputation: 91
Dual booting and sharing /home folder?


How is everyone that dual boots share thier data. I tried making a fat 32 partition and mounting it as /home but Xwindows and KDE don't like that because they are trying to create links.
 
Old 03-03-2006, 10:39 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
you mean sharing with windows?? you wouldn't keep /home on fat32, that's just not going to work. instead maybe have somethign like /home/user/share or just /share as the mount point for the shared drive.
 
Old 03-03-2006, 10:52 AM   #3
enine
Member
 
Registered: Nov 2003
Distribution: Slackware 14.1
Posts: 820
Blog Entries: 3

Original Poster
Rep: Reputation: 91
roblem is if I try to mount an ext2 partition as /home/user I can only access it as root because mount said ext2 doesn't support the uid= and gid= options.
 
Old 03-03-2006, 02:53 PM   #4
aldimeneira
Member
 
Registered: Jun 2005
Distribution: Ubuntu
Posts: 132

Rep: Reputation: 15
"problem is if I try to mount an ext2 partition as /home/user I can only access it as root because mount said ext2 doesn't support the uid= and gid= options."

Why not upgrade to ext3?

I think you should use a different mount point for sharing data; not use /home for it.
 
Old 03-03-2006, 04:28 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
enine, you're seriously misunderstanding what those options are for. the uid and gid options are used when you are mounting non-unix compliant file system, i.e. one that can not understand file ownership and unix permissions. ext2 is a fully compliant unix file system, so understands these details. as such it makes no sense to have to crudely force the ownership. instead you use formal userland tools like chown and chmod to manipulate the files properly. I don't understand how you could possibly think you can't use a unix file system to hold unix file on a unix system...
 
Old 03-07-2006, 02:33 PM   #6
enine
Member
 
Registered: Nov 2003
Distribution: Slackware 14.1
Posts: 820
Blog Entries: 3

Original Poster
Rep: Reputation: 91
I was leaving the gid and uid options there from when I was trying to mount the vfat parition, found out mount didn't like that
but when I mount under /home/enine I can't access it as enine because it gets mounted with root permissions evenif I give enine permissions to mount. I have to mount it as /home then create a folder called enine then assign permissions. is there any way to get it to mount as /home/enine with the proper permissions?
 
Old 03-07-2006, 03:32 PM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
set up Linux on ext3, Reiser, whatever.
<optional> separate partition for /home (same filesystem)
create a data partition, formatted FAT32---mount this to a mount point inside /home---eg /home/data (Windows will see the data partition automatically)

Ideally, make the data partition a separate physical drive
 
Old 03-08-2006, 07:26 AM   #8
enine
Member
 
Registered: Nov 2003
Distribution: Slackware 14.1
Posts: 820
Blog Entries: 3

Original Poster
Rep: Reputation: 91
Well you can't have another physical drive in a laptop so thats not an option. I was trying to mount it as /home/enine which won't work if I use fat32 since there a are a bunch of hidden folders created with links in them.
I installed an ext file system driver under xp and that seems to work well, I rarely ever use xp but thought I'd leave it there just in case I ever do need it.
 
Old 03-08-2006, 10:29 AM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
Quote:
Originally Posted by enine
Well you can't have another physical drive in a laptop so thats not an option. I was trying to mount it as /home/enine which won't work if I use fat32 since there a are a bunch of hidden folders created with links in them.
.
Bad me--I didn't catch that latitude menat laptop....

2nd sentence doesn't make sense---hidden folders where?? If you make a new directory and then mount a FAT32 partition to it, it should work fine......
 
Old 03-08-2006, 10:48 AM   #10
enine
Member
 
Registered: Nov 2003
Distribution: Slackware 14.1
Posts: 820
Blog Entries: 3

Original Poster
Rep: Reputation: 91
X and KDE make a bunch of . folders in the home folder and some of thos have symlinks as I found out when I tried to mount a fat32 drive as /home and X complained that it couldn't create the links.
 
Old 03-08-2006, 10:55 AM   #11
jamuz
Member
 
Registered: Jun 2004
Location: MD USA
Distribution: SimplyMEPIS 6.0, openSuSE 10.2
Posts: 90

Rep: Reputation: 15
Even trying to use the same /home with different distros concurrently, or different versions of the same distro, is likely to cause trouble if the different distros write different data to the same files. If you don't want to use different partitions for the different /home mount points you might get away with using soft links to point to different directories in the same partition.
 
Old 03-08-2006, 12:36 PM   #12
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
Quote:
Originally Posted by enine
X and KDE make a bunch of . folders in the home folder and some of thos have symlinks as I found out when I tried to mount a fat32 drive as /home and X complained that it couldn't create the links.
OK--so DONT DO THAT!!!
mount a Linux partition at /home, make a mount point inside /home, and mount FAT32 there.....!!!
 
Old 03-08-2006, 12:54 PM   #13
capnp72
LQ Newbie
 
Registered: Jan 2006
Location: Hampton, VA
Distribution: fedora core 4
Posts: 22

Rep: Reputation: 15
I would highly recommend that you don't mount any other filesystems to /home since this where linux puts it's user files. This is only going to cause you problems. You should make a directory such as /windows that isn't used for anything else to mount your other filesystems.
 
Old 03-08-2006, 12:59 PM   #14
enine
Member
 
Registered: Nov 2003
Distribution: Slackware 14.1
Posts: 820
Blog Entries: 3

Original Poster
Rep: Reputation: 91
What I was trying to do is mount as /home/enine, that doesn't work because it gets the wrong permissions, so I mount as /home and I can set the permissions correctly. I didn't want to mount under my /enine folder because I already have a very large and complex directory structure setup with simlinks and links from open office documents and such that I would need to adjust.
it looks like I'm going to be ok mounting as /home then setting my permissions for enine under home then "mount" that under windows if I need my documents. unfortunatly there are people that still run windows and I sometimes need to see what I'm doing to support their stuff so I need access to XP.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 03:09 PM
Sharing a home folder between 2 Linux distros Jongi Fedora 1 10-26-2005 05:38 PM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 06:23 PM
Issues with dual booting FC2/Windows XP Home firefork Linux - Newbie 3 12-25-2004 03:38 AM
gnome home folder and trash folder ambelos Linux - Software 2 02-24-2004 07:44 AM


All times are GMT -5. The time now is 06:50 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration