Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21
hay guys, I have 2 drives in this machine, one with Fedora Core 3, and the other windows xp pro on a fat32 partition i can get the drive to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Mar 2005
    Location
    California!
    Posts
    159

    Quick help mounting a Fat32 partition


    hay guys, I have 2 drives in this machine, one with Fedora Core 3, and the other windows xp pro on a fat32 partition

    i can get the drive to mount in Fedora with:

    Code:
    mount -t vfat /dev/hdb1 /mnt/windows
    !. how can I get full read/write permissions to the drectory?
    2. how can I get it to automatically mount on start up?
    3. how can I unmount it?

    thanks a bunch
    Registered Linux User # 392752

    \"pr0n\": An anagram of \"porn,\" possibly indicating the use of pornography.

  2. #2
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,407

    Re: Quick help mounting a Fat32 partition

    Quote Originally Posted by designbydave
    hay guys, I have 2 drives in this machine, one with Fedora Core 3, and the other windows xp pro on a fat32 partition

    i can get the drive to mount in Fedora with:

    Code:
    mount -t vfat /dev/hdb1 /mnt/windows
    !. how can I get full read/write permissions to the drectory?
    2. how can I get it to automatically mount on start up?
    3. how can I unmount it?

    thanks a bunch
    1) change /etc/fstab with the option user
    2) change /etc/fstab with the option auto
    3) umount /dev/hdb1

    my noauto fat32 from /etc/fstab
    Code:
    /dev/hda1       /mnt/media        vfat        noauto,users,rw,exec  1  0
    more info on fstab man
    Brilliant Mediocrity - Making Failure Look Good

  3. #3
    Just Joined!
    Join Date
    May 2004
    Location
    Arkansas USA
    Posts
    56
    Change in /etc/ftab as root
    Change the mount points to what yours is to be


    fat32

    /dev/hdb5 /mnt/fat vfat umask=0000,dmask=0000,uid=0002,gid=users,users 0 0

    NTSF

    /dev/hda1 /mnt/xp ntfs users,owner,ro,umask=000 0 0

  4. #4
    Linux User zeeone's Avatar
    Join Date
    Oct 2003
    Location
    Third Stone From The Sun
    Posts
    287
    Winblows XP on a FAT 32??????????????
    Research, research, research before you walk the plank.
    Registered Linux User #398829

  5. #5
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790

    Re: Quick help mounting a Fat32 partition

    Quote Originally Posted by designbydave
    hay guys, I have 2 drives in this machine, one with Fedora Core 3, and the other windows xp pro on a fat32 partition

    i can get the drive to mount in Fedora with:

    Code:
    mount -t vfat /dev/hdb1 /mnt/windows
    !. how can I get full read/write permissions to the drectory?
    2. how can I get it to automatically mount on start up?
    3. how can I unmount it?

    thanks a bunch
    If you want FULL access for all users, add this line to your fstab for the partition:

    Code:
    /dev/hdb1 /mnt/windows vfat umask=0000,dmask=0000,uid=0002,gid=users,users  0 0
    That will set up all files with full read/write/execute permissions, and the same for directories
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  6. #6
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,407
    Quote Originally Posted by zeeone
    Winblows XP on a FAT 32??????????????
    Um, yes. I would rather use an filesystem that people know how to use than an windows creation that is a closed secert. If I have windows on a fat32 and it has a crash, I may able to save my files. I can't with nfts
    Brilliant Mediocrity - Making Failure Look Good

  7. #7
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    whtever winblows i use on my box goes on a FAT32 partition, because i KNOW that i will be able to read/write to it that way from linux. If linux gets read/write access to NTFS partitions, i might think about convertin to ntfs, but i know read/write is still a bit shaky..... it works, but a bit didgy atm (or at least that;s the latest i heard)
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  8. #8
    Linux Newbie
    Join Date
    Mar 2005
    Location
    California!
    Posts
    159
    If you want FULL access for all users, add this line to your fstab for the partition:
    ok what the heck is fstab? is that a configuration file or something? how do I add that line to it?


    i did windows xp on fat32 just so i could mount it to Linux. I read some stuff about complications reading/writing to ntfs in linux, so I figured fat32 would be less complicated. This machine i am running is primarily my "Learning-to-do-stuff-in-linux-box." Windows is just there so i can do linux stuff with it. Normally, for windows 2000/xp i would always install it to an ntfs partition.

    thanks for the help
    Registered Linux User # 392752

    \"pr0n\": An anagram of \"porn,\" possibly indicating the use of pornography.

  9. #9
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Your fstab in /etc it is /etc/fstab it is a file which says which partitions should be mounted at boot.

    You can edit it in the command line with
    Code:
    su
    [rootpass]
    pico /etc/fstab
    edit it (add then line) and then save with Ctrl+O

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  10. #10
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    fstab is indeed a configuration file. It's in your /etc folder. Fire up your favorite text editor, open /etc/fstab, and add the line from above.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

Page 1 of 3 1 2 3 LastLast

Posting Permissions

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