LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do i mount Vfat file in Linux (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-mount-vfat-file-in-linux-2668/)

rdaves@earthlink.net 05-21-2001 07:24 PM

Hope I am using the right terminology.
My modem is not working yet, however, I want to upgrade my Kernel (Presently running Red Hat 7.0, Kernel 2.4). I have been told that you can mount a vfat file using the command "Mount /dev/hda1/directory name. I tried this unsuccessfully. One time I got a meessage "can't find dev/hda1/tem in /etc/fstab or /etc/mtab. What does all this mean. How do I accomplish this task?

mongrel 05-21-2001 07:48 PM

Code:

mount -t vfat /dev/hdax /pathto/directory

rdaves@earthlink.net 05-21-2001 10:29 PM

Note for Mongrel
 
Here's what I tried:
# mount -t vfat /dev/hda1/temp/linux2.4/linux2.4.4.tar.bz2

nothing was mounted, so far as I can tell

Here's what I got (please excuse my typing):
usage: mount [- lhV]
mount -a [-nfFrsvw][-t vfstypes]
mount [-nfrsvw][-o options] special node
mount [-nfrsvw][-t vfstype][-o options]
special node
A special device can be indicated gy -L label
or -U uuid

ifred 05-21-2001 11:06 PM

Yeah, what you are actually trying to do is mount a filesystem and not a particular file. In this case you want to type something like:
mount -t vfat /dev/hda1 /temp/linux2.4

/temp/linux2.4 should be an empty directory.
Most folks make a standard mount point such as /mnt/windows by typing as root: mkdir /mnt/windows

Once that is done you could type: mount -t vfat /dev/hda1 /mnt/windows and then use a file manager to browse your windows partition mounted on /mnt/windows

Good luck.


All times are GMT -5. The time now is 10:43 AM.