On 4/24/05, Pieter Hulshoff
On Sunday 24 April 2005 10:12, Surya Kiran Gullapalli wrote:
What I need ideally is read write access to D drve from windows and linux boxes, so that I can set the home directories on both the OS to this drive.
Format your D drive as FAT32, and both Linux and Windows XP can read/write them. As an alternative; I believe there are Windows programs that will allow you to read ext2/3 partitions as well.
Regards,
Pieter
Well, I was able to format the hard disk with FAT32 option. and linux was able to mount the drive with out any hitch. Say /windows/D is my D drive on windows and i mounted it on linux, and set /windows/D/directory as home directory on linux. when i start linux, KDE shows up a problem saying .DCOP server cannot start, blah blah blah... and logs me out immediately. So i changed the home directory to /home/directory on linux (which resides on the same partition as linux). Now i'm able to log in properly. I've created a file in /windows/D/ say /windows/D/sample_file I can edit sample_file from both linux and windows. When i delete sample_file from windows, and come back to linux, I can still see the file at the same place. When i write some thing to /windows/D/ from linux, and reboot and start windows, windows cries foul and says, it has to run chkdisk on that particular drive. Am i missing some thing here. ??
On 4/24/05, Pieter Hulshoff
wrote: On Sunday 24 April 2005 10:12, Surya Kiran Gullapalli wrote:
What I need ideally is read write access to D drve from windows and linux boxes, so that I can set the home directories on both the OS to this drive.
Format your D drive as FAT32, and both Linux and Windows XP can read/write them. As an alternative; I believe there are Windows programs that will allow you to read ext2/3 partitions as well.
Regards,
Pieter
Well, I was able to format the hard disk with FAT32 option. and linux was able to mount the drive with out any hitch.
Say /windows/D is my D drive on windows and i mounted it on linux, and set /windows/D/directory as home directory on linux.
when i start linux, KDE shows up a problem saying .DCOP server cannot start, blah blah blah... and logs me out immediately.
So i changed the home directory to /home/directory on linux (which resides on the same partition as linux). Now i'm able to log in properly.
I've created a file in /windows/D/ say /windows/D/sample_file
I can edit sample_file from both linux and windows.
When i delete sample_file from windows, and come back to linux, I can still see the file at the same place.
When i write some thing to /windows/D/ from linux, and reboot and start windows,
windows cries foul and says, it has to run chkdisk on that particular drive. First, What does your fstab look like for that entry. It should look something
On Tuesday 26 April 2005 1:07 am, Surya Kiran Gullapalli wrote:
like:
/dev/hdaX /home vfat auto,users,exec,uid=<your uid>,gid=<your group id>
Initially, it is important to have exec on so that you can execute the
startup scripts. I personally do not think it is a good idea to use a FAT
file system as your /home. There are other ways to accomplish what you
want. In any case, if that's what you want, then go for it.
You can also use /home/<username>/<dirname>
And make it a subdirectory of your /home/<username> directory.
You may want to remove ",users".
--
Jerry Feldman
On Tue, 2005-04-26 at 08:10 -0400, Jerry Feldman wrote:
First, What does your fstab look like for that entry. It should look something like: /dev/hdaX /home vfat auto,users,exec,uid=<your uid>,gid=<your group id>
Initially, it is important to have exec on so that you can execute the startup scripts. I personally do not think it is a good idea to use a FAT file system as your /home. There are other ways to accomplish what you want. In any case, if that's what you want, then go for it. You can also use /home/<username>/<dirname> And make it a subdirectory of your /home/<username> directory.
You may want to remove ",users".
I don't think you can have "users" and "uid=xxxx,gid=xxxx" as they fight with each other. "users" means to mount with the uid,gid of the person doing the mounting. The gid,uid means to mount as the specified person, -not- the one doing the mount. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
On Tuesday 26 April 2005 9:00 am, Ken Schneider wrote:
You may want to remove ",users".
I don't think you can have "users" and "uid=xxxx,gid=xxxx" as they fight with each other. "users" means to mount with the uid,gid of the person doing the mounting. The gid,uid means to mount as the specified person, -not- the one doing the mount. I was not sure about that. -- Jerry Feldman
Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
On Tuesday 26 April 2005 15:00, Ken Schneider wrote:
"users" means to mount with the uid,gid of the person doing the mounting.
No it doesn't. It means that any local user can both mount and unmount the partition. Without either it or "user", root would have to do the mounting and unmounting.
On Tue, 2005-04-26 at 20:24 +0200, Anders Johansson wrote:
On Tuesday 26 April 2005 15:00, Ken Schneider wrote:
"users" means to mount with the uid,gid of the person doing the mounting.
No it doesn't. It means that any local user can both mount and unmount the partition. Without either it or "user", root would have to do the mounting and unmounting.
I stand corrected. Anders to the rescue as usual. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
On Tuesday 26 April 2005 14:10, Jerry Feldman wrote: //snip
What does your fstab look like for that entry. It should look something like: /dev/hdaX /home vfat auto,users,exec,uid=<your uid>,gid=<your group id>
Initially, it is important to have exec on so that you can execute the startup scripts. I personally do not think it is a good idea to use a FAT file system as your /home. There are other ways to accomplish what you want. In any case, if that's what you want, then go for it. You can also use /home/<username>/<dirname> And make it a subdirectory of your /home/<username> directory.
You may want to remove ",users".
First,I agree with Jerry about /home. Here is what I am doing in daily practice : I have a Windows/Linux setup with a "regular" ext3-home under Linux. As a kind of bridge between Linux and Windows I have a FAT32 partion, which is registered in fstab as : /dev/hda6 /windows/D vfat users,gid=users,umask=0002,iocharset=utf8 0 0 So any data that I really want to share between Linux and Windows is stored on /windows/D. All Linux-specific userdata still resides in the Linux genuine /home. Works like a charm. Cheers, -- Jan Elders the Netherlands http://www.xs4all.nl/~jrme/ "Home of the Network Acronyms"
Jan Elders wrote:
On Tuesday 26 April 2005 14:10, Jerry Feldman wrote: //snip
What does your fstab look like for that entry. It should look something like: /dev/hdaX /home vfat auto,users,exec,uid=<your uid>,gid=<your group id>
Initially, it is important to have exec on so that you can execute the startup scripts. I personally do not think it is a good idea to use a FAT file system as your /home. There are other ways to accomplish what you want. In any case, if that's what you want, then go for it. You can also use /home/<username>/<dirname> And make it a subdirectory of your /home/<username> directory.
You may want to remove ",users".
First,I agree with Jerry about /home. Here is what I am doing in daily practice : I have a Windows/Linux setup with a "regular" ext3-home under Linux. As a kind of bridge between Linux and Windows I have a FAT32 partion, which is registered in fstab as : /dev/hda6 /windows/D vfat users,gid=users,umask=0002,iocharset=utf8 0 0
So any data that I really want to share between Linux and Windows is stored on /windows/D. All Linux-specific userdata still resides in the Linux genuine /home.
I have something similar, except that I moved the Windows "My Documents" folder to D: and I also created a symlink to it, from my home directory.
participants (6)
-
Anders Johansson
-
James Knott
-
Jan Elders
-
Jerry Feldman
-
Ken Schneider
-
Surya Kiran Gullapalli