LinuxQuestions.org
Review your favorite Linux distribution.
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 09-10-2002, 12:11 PM   #1
Qebex
Member
 
Registered: Sep 2002
Distribution: Redhat 7.3
Posts: 71

Rep: Reputation: 15
Smile Mounting a Fat32 Partition


Hi,

I have check thru the threads, but I still couldn't figure out, how to mount a Fat32 partition in Redhat 7.3. I have updated to the latest kernel.

my fat32 parition is at dev/hda5

so, at the console i typed

mount -t vfat/dev/hda5/mnt/

the command run without any respond from the console, I check thru the /mnt folder, but I dun see my partition there? am I suppose to do reboot? how do I make RH to auto mount my Fat32 partition when booting up?

Is there a simple utility or application in GNOME or KDE that can do this for me? I tried this kwikdisk utility but it doesn't show the Fat32 partition.

If you can, pls explain the command in details and guide me thru. thanks!!!
 
Old 09-10-2002, 12:23 PM   #2
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
it's mount -t vfat /dev/hda5 /mnt notice the space between hda5 and /mnt

Here is what i would do:
As root,
mkdir /win
mount -t vfat /dev/hda5 /win

If you want the windows partition to be mounted when the system boots, edit /etc/fstab and add something like this:
/dev/hda5 /win vfat defaults 0 0

/dev/hda5 #Windows partition you want to mount
/win #Mount point to mount it to
vfat #Filesystem type
defaults #options: rw, suid, dev, exec, auto, nouser, and async
0 #This field is used by the dump utility 0= no dump
0 #Used by fsck to determine the order in which to conduct file system integrity checks during reboot 0= No check

Here is a good site for info on fstab http://www.frankenlinux.com/intro/fstab.html
 
Old 09-10-2002, 12:27 PM   #3
Qebex
Member
 
Registered: Sep 2002
Distribution: Redhat 7.3
Posts: 71

Original Poster
Rep: Reputation: 15
in winxp, i label my fat32 partition as Storage, do I mount as mnt/storage?
 
Old 09-10-2002, 12:34 PM   #4
Faecal
Member
 
Registered: Sep 2002
Location: York, UK
Distribution: Debian Sid
Posts: 215

Rep: Reputation: 30
The drive label has absolutely nothing to do with where you mount a drive, except if you're making them the same for your own organisational benefit.

Personally, I mount my fat32 partitions as /mnt/hd<whatever>, and then create symlinks like /data/ and /c/
 
Old 09-10-2002, 12:41 PM   #5
Qebex
Member
 
Registered: Sep 2002
Distribution: Redhat 7.3
Posts: 71

Original Poster
Rep: Reputation: 15
i typed

mount -t vfat /dev/hda5 /mnt/fat32

the console reply that:

mount: mount point /mnt/fat32 does not exist
 
Old 09-10-2002, 12:43 PM   #6
Qebex
Member
 
Registered: Sep 2002
Distribution: Redhat 7.3
Posts: 71

Original Poster
Rep: Reputation: 15
is there anything wrong with my command? what symlink you're talking about...
 
Old 09-10-2002, 12:47 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
yes, there is something wrong. as the error message very very clearly states the place where you are trying to mount it does not exist, create the directory before mounting it to there.
 
Old 09-10-2002, 12:50 PM   #8
Qebex
Member
 
Registered: Sep 2002
Distribution: Redhat 7.3
Posts: 71

Original Poster
Rep: Reputation: 15
thanks hanzerik! you been a great help!

any good books to recommend for me to learn the linux commands...i find it quite hard to remember.

mkdir is in linux
md <dir name> is in dos

I get really confuse sometimes...
 
Old 09-10-2002, 12:56 PM   #9
Qebex
Member
 
Registered: Sep 2002
Distribution: Redhat 7.3
Posts: 71

Original Poster
Rep: Reputation: 15
sorry, I didn't know I must create dir in linux, coz in dos, dir will be auto created for you. Now I know thanks guys.
 
Old 09-10-2002, 06:19 PM   #10
Faecal
Member
 
Registered: Sep 2002
Location: York, UK
Distribution: Debian Sid
Posts: 215

Rep: Reputation: 30
Concentrate on remembering commands rather than switches etc - any time you forget a detail, you can just use man or info.

Browsing
ls - like dos 'dir'. ls -l for more detail.
cd - cd
pwd - print working directory - tells you what directory you're currently in.

File operations
cp - copy
mv - move (also use this for renaming in many cases)
rm - del (rm -rf to delete a directory that contains files)
rmdir - delete a directory

Text file viewing
more - like dos 'more'
less - like more but better (scroll with e,y,w and z)
cat - like dos 'type'

Archive tools
tar (use tar -zxf to expand .tar.gz or .tgz files, and tar -xf to expand plain .tar files) - short for "tape archive", although that's not what it's mostly used for these days.
bzip2
zip
gzip
rpm (rpm -i <file> as root to install a package)

Misc
'su -' - temporarily enter super-user mode.
wget' <url> - download a file.

Last edited by Faecal; 09-10-2002 at 06:20 PM.
 
  


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
Mounting a FAT32 partition Progmaker Linux - General 2 08-15-2005 12:02 PM
mounting FAT32 partition bobbens Linux - Newbie 2 09-16-2004 02:43 PM
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 11:59 AM
mounting a fat32 partition startingnow Red Hat 2 05-26-2004 11:10 AM
Mounting FAT32 partition mrstirs Linux - Software 4 04-21-2004 06:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:37 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