LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-05-2003, 07:53 PM   #1
bennyp
Member
 
Registered: Apr 2003
Posts: 43

Rep: Reputation: 15
Can't mount my fat32 drive


I have 40 gigs of pure media on /dev/hda itching to be unleashed upon my room if only it could!!!

Mount:
Code:
/dev/hdb2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hdb1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hdb5 on /mnt/win type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/cdrom on /mnt/cdrom type iso9660 (ro,nosuid,nodev,user=bennyp)
FDisk -l
Code:
Disk /dev/hda: 255 heads, 63 sectors, 4982 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda2   *         1      4982  40017883+   c  Win95 FAT32 (LBA)

Disk /dev/hdb: 255 heads, 63 sectors, 3739 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1        13    104391   83  Linux
/dev/hdb2            14      3202  25615642+  83  Linux
/dev/hdb3          3203      3222    160650   82  Linux swap
/dev/hdb4          3223      3739   4152802+   f  Win95 Ext'd (LBA)
/dev/hdb5          3223      3739   4152771   83  Linux
/etc/fstab/
Code:
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
LABEL=/mnt/win          /mnt/win                ext3    defaults        1 2
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hda                /media                  vfat    noauto,users,rw,umask=0000 0 0
/dev/hdb3               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1             /mnt/cdrom1             iso9660 noauto,owner,kudzu,ro 0 0
so what's the prognosis, docs??

Last edited by bennyp; 05-05-2003 at 07:55 PM.
 
Old 05-05-2003, 08:03 PM   #2
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
have you tried?:

mount /media

(this should work because it is on your fstab)

or make a dir, for example /mnt/media and type:

mount -t vfat /dev/hda /mnt/media
 
Old 05-05-2003, 08:18 PM   #3
bennyp
Member
 
Registered: Apr 2003
Posts: 43

Original Poster
Rep: Reputation: 15
[root@localhost bennyp]# mount /media
mount: wrong fs type, bad option, bad superblock on /dev/hda,
or too many mounted file systems
[root@localhost bennyp]#
 
Old 05-05-2003, 08:22 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,681

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Change references from /dev/hda to /dev/hda2.

If you want it to mount on boot delete noauto option.

There is a ton of posts on this site on how to mount a FAT32 partition.
 
Old 05-05-2003, 08:22 PM   #5
chem1
Member
 
Registered: Jun 2002
Location: White House, Washignton DC
Distribution: Red Hat 9
Posts: 270

Rep: Reputation: 30
Do this
1) on command line type parted
check which /dev parted i giving you info about : /dev/hda or /devhdb
2) on parted prompt type print
tell us what the print out is. I solved this problem in 3 days. You should be able to do it in 1 minute if you can give me the above printout

Hope that helps...
 
Old 05-05-2003, 08:26 PM   #6
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
su
mkdir /mnt/fred
mount -t auto /dev/hda /mnt/fred
 
Old 05-05-2003, 09:31 PM   #7
rufius
Member
 
Registered: Oct 2002
Location: Miami, FL
Distribution: Ubuntu
Posts: 184

Rep: Reputation: 30
Did you enable Fat32 support in your kernel? That may be a problem.
 
Old 05-05-2003, 10:22 PM   #8
bennyp
Member
 
Registered: Apr 2003
Posts: 43

Original Poster
Rep: Reputation: 15
thatnks alot guys, especially to michaelk!!!
i know there have been [b]enough[.b] posts on the subject but none of em solved my (pretty boneheaded) problem
thanks!!
 
Old 05-19-2003, 12:54 AM   #9
zenci
LQ Newbie
 
Registered: May 2003
Posts: 1

Rep: Reputation: 0
is it hard to enable vfat support?
(redhat9)
 
Old 11-17-2003, 10:00 PM   #10
martylinux
LQ Newbie
 
Registered: Nov 2003
Location: Michigan
Distribution: Mandrake,Redhat,ArkLinux,JAMDLinux
Posts: 1

Rep: Reputation: 0
17-Nov-2003, 11:08 PM

This might be very late, but for those who come across this later.
Mostly, I'm putting this here so that it will show up in a search
engine.

1. Add the following as the last line in your /etc/fstab file:
/dev/hdb1 /mnt/fat32 vfat auto,user,rw,umask=000 0 0

2. Then execute the command line:
mount -a

This will allow any user read/write access to your fat32 hard drive.

My setup was:
PC - Running RedHat 9.0.93
hdb - 60GB IDE
hdb1 - The only partition
A primary partition
Formatted as fat32 in Windows

Note: I've also used a 120GB Hard Drive in the same way.


Last edited by martylinux; 11-17-2003 at 10:07 PM.
 
  


Reply



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
Mount usb drive, umount and mount another drive arubin Linux - Hardware 9 01-17-2007 03:46 AM
How to format to FAT32, and how to mount my FAT32 partition. bonniehandi Linux - Newbie 16 03-05-2006 07:54 PM
How i can mount fat32 Sreejesh Linux - Newbie 2 09-02-2004 08:25 AM
Mount Fat32 Drive in FC1 Pauli Fedora 9 03-05-2004 08:59 PM
Cannot Copy Files From Network FAT32/NTFS Drive to My Local Linux Drive michaelh Linux - Networking 3 10-29-2002 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:09 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
Open Source Consulting | Domain Registration