Find the answer to your Linux question:
Results 1 to 7 of 7
ok i have a fat32 drive that im using to share files between my linux and windows partition and i was wondering i would go about configuring redhat 9 to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer big_k105's Avatar
    Join Date
    May 2003
    Location
    Fargo, ND
    Posts
    901

    mounting a FAT32 drive at start up


    ok i have a fat32 drive that im using to share files between my linux and windows partition and i was wondering i would go about configuring redhat 9 to mount this drive on start up. i have been looking around on google and cant find anything, but maybe its me. im sure some one here can help thanks in advanced.
    BIG K aka Kyle
    Programming Forums
    www.kylekonline.com
    Please don\'t PM me for help-- ask in the forums instead!

  2. #2
    Just Joined!
    Join Date
    Mar 2003
    Location
    UK
    Posts
    82
    open up /etc/fstab... it should look a bit like this...


    Code:
    /dev/hda5        swap             swap        defaults         0   0
    /dev/hda1        /                ext3        defaults         1   1
    /dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,ro  0   0
    /dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
    devpts           /dev/pts         devpts      gid=5,mode=620   0   0
    proc             /proc            proc        defaults         0   0
    add a new line to mount your fat 32 partiton, like this...

    Code:
    /dev/hda2        /mnt/fat32        vfat        defaults        0   0
    where /dev/hda2 id your fat32 partition, and /mnt/fat32 is where you want to mount it to.

    bear in mind that you will need to be root to access the partition. if you want to access it as another user aswell, you need to set permissions aswell.

    to set the drive read/writeable by another user, you need to find their uid (user id)

    Code:
    /dev/hda2      /mnt/fat32      vfat      defaults     rw,uid=1000    0   0
    where 1000 is the uid of the user you want to have read/write access.

    sorted

  3. #3
    Linux Engineer big_k105's Avatar
    Join Date
    May 2003
    Location
    Fargo, ND
    Posts
    901
    dang did it take me along time to read this post thanks dreamer i am goin to have to try that when i get home tonite after work and maybe after a round of golf. thanks again
    BIG K aka Kyle
    Programming Forums
    www.kylekonline.com
    Please don\'t PM me for help-- ask in the forums instead!

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jul 2003
    Location
    /bin/bash
    Posts
    27
    ok, but what if your partition is NTFS?? same thing??

  6. #5
    Linux Engineer kriss's Avatar
    Join Date
    Jun 2003
    Posts
    1,113
    just put "ntfs" instead of "vfat"

  7. #6
    Just Joined!
    Join Date
    Jul 2003
    Location
    /bin/bash
    Posts
    27
    i tried that, but it came up with FS 'ntfs' not supported by kernal....

  8. #7
    Linux User Mado's Avatar
    Join Date
    Jun 2003
    Posts
    255
    AS I said in another topic, I thought you had to compile it into the kernel. And even then, they've only come out with read support so far. If you want to try it, check this out;

    http://linux-ntfs.sourceforge.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •