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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-03-2006, 09:12 AM
|
#1
|
|
Member
Registered: Nov 2003
Distribution: Slackware 14.0
Posts: 497
Rep:
|
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.
|
|
|
|
03-03-2006, 09:39 AM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,830
|
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.
|
|
|
|
03-03-2006, 09:52 AM
|
#3
|
|
Member
Registered: Nov 2003
Distribution: Slackware 14.0
Posts: 497
Original Poster
Rep:
|
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.
|
|
|
|
03-03-2006, 01:53 PM
|
#4
|
|
Member
Registered: Jun 2005
Distribution: Ubuntu
Posts: 132
Rep:
|
"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.
|
|
|
|
03-03-2006, 03:28 PM
|
#5
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,830
|
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... 
|
|
|
|
03-07-2006, 01:33 PM
|
#6
|
|
Member
Registered: Nov 2003
Distribution: Slackware 14.0
Posts: 497
Original Poster
Rep:
|
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?
|
|
|
|
03-07-2006, 02:32 PM
|
#7
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
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
|
|
|
|
03-08-2006, 06:26 AM
|
#8
|
|
Member
Registered: Nov 2003
Distribution: Slackware 14.0
Posts: 497
Original Poster
Rep:
|
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.
|
|
|
|
03-08-2006, 09:29 AM
|
#9
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
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......
|
|
|
|
03-08-2006, 09:48 AM
|
#10
|
|
Member
Registered: Nov 2003
Distribution: Slackware 14.0
Posts: 497
Original Poster
Rep:
|
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.
|
|
|
|
03-08-2006, 09:55 AM
|
#11
|
|
Member
Registered: Jun 2004
Location: MD USA
Distribution: SimplyMEPIS 6.0, openSuSE 10.2
Posts: 90
Rep:
|
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.
|
|
|
|
03-08-2006, 11:36 AM
|
#12
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
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.....!!!
|
|
|
|
03-08-2006, 11:54 AM
|
#13
|
|
LQ Newbie
Registered: Jan 2006
Location: Hampton, VA
Distribution: fedora core 4
Posts: 22
Rep:
|
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.
|
|
|
|
03-08-2006, 11:59 AM
|
#14
|
|
Member
Registered: Nov 2003
Distribution: Slackware 14.0
Posts: 497
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:44 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|