Mount FAT Partitions in Redhat 9

Discussion in 'QnA (read only)' started by mohanty1942, Oct 4, 2004.

Thread Status:
Not open for further replies.
  1. mohanty1942

    mohanty1942 Member

    Joined:
    Aug 25, 2004
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Nasik
    I can't see my Windows partition in Redhat Linux 9. When I run 'mount' command only the CD-ROM gets mounted.

    Pls guide how to view FAT/windows partitions.
     
  2. sailendra

    sailendra New Member

    Joined:
    Nov 10, 2003
    Messages:
    174
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Bangalore
    the mount command by itself will list the currently mounted filesystems and the mountpoints (directories). To mount a Fat32 partition, you can give the following command:

    First create an empty directory which will act as the mount point for your Fat partition:
    Code:
    mkidr /winc
    now give the mount command like so:
    Code:
    mount -t vfat /dev/hdaX /winc
    make sure you replace the X in /dev/hdaX with the partition number of your Fat32 partition. This will mount the fat32 partition on /winc.
    To make the partition to mount automatically on each session of Linux, make an entry in the /etc/fstab file.
    For e.g for the above partition you can add something like:
    Code:
    #<device> <mountpoint>  <filesystemtype> <options> <dump> <fsckorder>
    /dev/hda1         /winc           vfat        defaults      0     0    0
    Hope that helps. for more on fstab do a info fstab or man fstab :)
     
  3. #/bin/sh

    #/bin/sh New Member

    Joined:
    Apr 20, 2004
    Messages:
    213
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    42.65 N 73.76 W
    yes i agree with sailendra.
     
  4. vignesh

    vignesh New Member

    Joined:
    Jul 20, 2004
    Messages:
    1,658
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Chennai
    I tried this but it doesn`t work.I want to mount my d partition that is hda5.
    tell me what to do.
     
  5. tuxfan

    tuxfan New Member

    Joined:
    Feb 4, 2004
    Messages:
    2,653
    Likes Received:
    9
    Trophy Points:
    0
    Location:
    Mumbai
    Why not take a search at the forum. You should find it easily.

    I searched for "mount windows partition" and got 16 unique results here (17th was this thread)!! If at least 1 applies to you, your problem will be solved instantly!!

    Take a search mate :) There may be more threads if you search with right keywords.
     
Thread Status:
Not open for further replies.

Share This Page