Finding HDDs and Networking

Status
Not open for further replies.

Ravenga

Posts: 7   +0
ok i have 3 HDDs in this computer
One it NTFS with WinXP
One is FAT32 with nothing
One has all my linux stuff on it

How can i get to see and use the FAT32 drive in both Linux and WinXP?
WinXP can use it already but how can i make Red Hat see it?

My second question how can i make another WinXP machine and my Linux machine network with each other
all i want to do is share one of the drive on the WinXP machine so i can move files bak and forth.
Thanx
 
You'll need to edit /etc/fstab if you want it to be available automatically.
Is that FAT32-partitioned drive IDE?
If it is, the following table should help:
hda = primary master
hdb = primary slave
hdc = secondary master
hdd = secondary slave

So, edit /etc/fstab (you have to be root):
add a new line
/dev/hdb1 /fat32 vfat auto,noexec,user 0 0
in the end of the file.
The example assumes your drive is primary slave
Also, make an empty line below it.
Then, make that directory, /fat32, with Nautilus or terminal (mkdir /fat32).
auto means that it'll be mounted automatically, noexec tells Linux not to try to execute applications from that partition, user means that user can (u)mount the partition.
Hmm, would it be better to replace user with umask=0002, so that only root user & root group could (u)mount it?

Sharing files with Windows and Linux is easiest with Samba. It's a bit longer story, maybe Phantasm66 can write it, I'm lazy :D

ok, I can do it tomorrow evening..
 
http://www.linuxdocs.org/HOWTOs/SMB-HOWTO.html
That's for a start..
The easiest way to access Window$ drives from Linux is
mount -t smbfs -o username=user,password=password //*Winputer sharename here*/*shared directory here* /*directory where to mount here*

For example:
mount -t smbfs -o username=mic,password= //XPEE/C /c

Of course, the mount point must exist - you need to create a directory for it.

There are other methods, too - NFS would be one possibility.
 
Status
Not open for further replies.
Back