LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How i can mount fat32 (https://www.linuxquestions.org/questions/linux-newbie-8/how-i-can-mount-fat32-225665/)

Sreejesh 09-02-2004 08:07 AM

How i can mount fat32
 
I am a new user of Linux
I don't know how to mount Windows drives.
I don't know any commands in linux.
I know only GUI usage.
expecting easy solutions

rm6990 09-02-2004 08:14 AM

Unless I know your WM + distro, I don't know about a GUI solution but command line is easy enough. If your Windows partition is hda1 (First partition on the hard drive, which is normally what it is), you do this.

mkdir /where/you/want/it/mounted
mount /dev/hda1 /path/from/last/line

So, if you want it mounted at /windows, you would do this

mkdir /windows (this makes the folder windows under your root partition)
mount /dev/hda1 /windows (This tells the OS to mount the FAT32 partition under /windows)

Boby 09-02-2004 08:25 AM

Hello and welcome to LQ!

First you have to check wich partition is your FAT32. For this you have to be root and run fdisk:
su -
Password: *****
fdisk -l

look for the one that contain vfat. It shoud look like hdax where x is a number. Also it can be hdb1...
Next you have to create a directory where to mount it:
mkdir /mnt/win_C
Now mount it with:
mount -t vfat /dev/hda1 /mnt/win_C

To have the partition mounted on each boot, you have to edit your /etc/fstab file. Insert:
Code:

/dev/hda1 /mnt/win_C vfat noauto,user 0 0
To have write permission as normal user on the Win-partition use this instead:
Code:

/dev/hda1              /mnt/win_C            vfat    umask=000,iocharset=iso8859-1,codepage=850,users        0 0
Good luck!
Boby

PS: For this use a terminal [console]


All times are GMT -5. The time now is 07:00 AM.