Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-30-2007, 05:52 PM   #1
Registered: Dec 2004
Posts: 55

Rep: Reputation: 15
How to mount vfat at startup?

I used to run Windows and would like to mount the partitions at Linux startup, especially since I use somne of the files there regularly. Should I just add the mount command to the fstab?

Old 08-30-2007, 07:52 PM   #2
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
no, you dont do it that way. Read this and you should have a good idea

Old 08-31-2007, 02:25 AM   #3
Registered: Oct 2006
Location: Bacolod, Philippines
Distribution: Slackware 12
Posts: 62

Rep: Reputation: 15
is your windows partition FAT or NTFS? If its FAT then its very easy to mount and have read/write capabilities with the partition. Here's how.

first create a directory where you want to mount your windows partition. example, mine is at /mnt/windows.

then add this line to fstab:

/dev/hda2 /mnt/windows vfat auto,users,rw,umask=000 0 0

take note that the number 2 in /dev/hda2 means that the windows partition is the second partition of the first hard disk. you should change this to reflect your windows partition number. if unsure, type "cfdisk /dev/hda" at the commandline. this utility is similar to fdisk in windows. it should show a table about your partitions. WARNING! do not mess with cfdisk if you don't know what your doing. it could render your system unusable. just look at what you need to know then exit.

its a bit tricky with NTFS. i was able to mount it with read-only capabilities back then with slackware 10. here's how:

create a mount directory then add this to fstab:

/dev/hda2 /mnt/windows ntfs auto,users,ro,umask=000 0 0

for more information with NTFS and linux, try

i hope this helps. good luck!

Last edited by dark_angel; 08-31-2007 at 02:26 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot mount vfat bsdpowa Fedora 5 07-28-2005 09:22 AM
Can't mount vfat after 2.6 migration paul167 Linux - Hardware 12 04-10-2005 10:19 PM
Can't mount VFAT oneandoneis2 Linux - Hardware 5 12-18-2004 10:54 PM
Mount vfat on startup niteshadw Linux - Distributions 4 04-05-2003 01:37 AM
Problems with VFAT check on startup oudent Linux - General 3 04-13-2002 05:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration