LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-27-2001, 10:27 PM   #1
garr71
LQ Newbie
 
Registered: Jun 2001
Posts: 22

Rep: Reputation: 15
Mounting with Vfat


Hi,
Ummm I have linux Redhat 7. I am a newbie and how can I mount my windows vfat partition thing so i can view it in linux? And then after I mount it waht do I do then?
 
Old 11-28-2001, 12:44 AM   #2
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
You'll need to know the hd(?) Say your windows partition is hda1 then you could at console type: mount /dev/hda1 /windows
You can mount it wherever you want, just make the directory first. mkdir [name]
Obviously for a permenant mount at boot, go to the /etc directory and edit the fstab file and add to that the lines needed to mount at boot. i.e. /dev/hda1 /windows vfat [options]
The options depend on whether or not you want it to be read-write (rw), read-only (ro), auto, noauto etc....It'll be easy enough to decide if you look at the man page for mount: man mount Hope that helps at all...Write back for more help...I am very tired and can't seem to even type right and stay awake at the same time.
 
Old 11-28-2001, 04:31 AM   #3
cornet
LQ Newbie
 
Registered: Nov 2001
Distribution: Debian
Posts: 14

Rep: Reputation: 0
If say your windows partition is hda1 then do the following as root (su)

mount -t vfat /dev/hda1 /mnt/windows

(obviously creating /mnt/windows beforehand)

You can put the following in your /etc/fstab
/dev/hda1 /mnt/windows defaults,user,noauto 0

Warning that will make it mountable by anyuser if you don't want that just take the "user" out then you will have to be root to mount it, it also doesn't mount at boot time.

(If anyone knows how to mount it at boot time as a specific user then i would like to know.)

Then you can just type
mount /mnt/windows
to mount the partition.

Hope that helps
cornet
 
Old 11-28-2001, 09:11 PM   #4
pjrestrepo
LQ Newbie
 
Registered: Nov 2001
Location: Boulder, Colorado
Distribution: Red Hat
Posts: 10

Rep: Reputation: 0
I just posted this reply to the same question on a different thread:

To allow yourself (as opposed to "root") to read and write to a vfat file, this is how the line should look like in the fstab file:

/dev/hda2 /dosc vfat uid=500,gid=500,auto,rw 0 0
where uid=500 and gid=500 are your user ID number and group ID number, respectively. To find out what your uid and gid are, type "id" at the
prompt.

Regards,

Pedro
 
Old 11-29-2001, 04:19 AM   #5
cornet
LQ Newbie
 
Registered: Nov 2001
Distribution: Debian
Posts: 14

Rep: Reputation: 0
Cheers, will try that when i get home...

Did think I'd already tried that but must have got the line wrong or summat..

cornet
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vfat Mounting Problems Altec_ Linux - Hardware 0 02-07-2005 12:54 PM
Need help mounting a VFat partition r/w frandres Linux - Newbie 7 01-17-2005 07:31 AM
mounting vfat fs mcd Linux - Newbie 11 08-25-2003 09:51 PM
Mounting Vfat paradoxlight Linux - Software 4 01-15-2002 06:29 PM
Mounting a vfat filesystem in RH 7.2 M.I. Linux - General 8 11-28-2001 09:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:28 AM.

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