Finding HDDs and Networking

By Ravenga
Mar 6, 2002
  1. 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.
  2. Mictlantecuhtli

    Mictlantecuhtli TS Evangelist Posts: 4,345   +11

    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..
  3. Ravenga

    Ravenga TS Rookie Topic Starter

    thanx mate
    lookin into it now

    yup the HDD works just fine now
  4. Mictlantecuhtli

    Mictlantecuhtli TS Evangelist Posts: 4,345   +11
    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.
Topic Status:
Not open for further replies.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...