LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-30-2007, 06:52 PM   #1
Tillus
Member
 
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?

Thanks!
 
Old 08-30-2007, 08:52 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

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

 
Old 08-31-2007, 03:25 AM   #3
dark_angel
Member
 
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 http://www.linux-ntfs.org/.

i hope this helps. good luck!

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


Reply


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 10:22 AM
Can't mount vfat after 2.6 migration paul167 Linux - Hardware 12 04-10-2005 11:19 PM
Can't mount VFAT oneandoneis2 Linux - Hardware 5 12-18-2004 11:54 PM
Mount vfat on startup niteshadw Linux - Distributions 4 04-05-2003 02:37 AM
Problems with VFAT check on startup oudent Linux - General 3 04-13-2002 06:04 PM


All times are GMT -5. The time now is 04:10 PM.

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