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 03-03-2004, 11:40 PM   #1
Nychold
LQ Newbie
 
Registered: Mar 2004
Distribution: Fedora Core 1
Posts: 20

Rep: Reputation: 0
Angry Troubles with FAT32 partitions in Redhat 9.0


I'm sure this is a very, very common problem and question, but I looked through most of the FAT32 problems, and none of them seemed to be quite the same problem I am having. I'm trying to mount a FAT32 partition in Redhat 9.0, but it keeps giving me errors, no matter what I try:

Code:
fdisk -l /dev/hda

Disk /dev/hda: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      7297  58613121    c  Win95 FAT32 (LBA)

mount -t vfat /dev/hda /mnt/cdrive

mount: wrong fs type, bad option, bad superblock on /dev/hda,
       or too many mounted file systems.
At least so far as I can tell, it's not a bad option, and I'm pretty sure it's not a bad superblock (though I'm not 100% sure what that means), and I only have 3 other patitions in my system: my NFS and swap partition for Linux, and a second FAT32 partition (which mounts just fine, but isn't LBA if that matters). Any ideas?
 
Old 03-03-2004, 11:57 PM   #2
metagore
Member
 
Registered: Sep 2003
Location: Austin TX
Distribution: Slackware 9.1
Posts: 56

Rep: Reputation: 15
Try:

mount -t vfat /dev/hda1 ....

What's hanging you up is that you're not adding the '1' to identify the partition on the drive.
 
Old 03-03-2004, 11:59 PM   #3
Nychold
LQ Newbie
 
Registered: Mar 2004
Distribution: Fedora Core 1
Posts: 20

Original Poster
Rep: Reputation: 0
Oh, sorry...that was just a typo. I am using mount -t vfat /dev/hda1 /mnt/cdrive. <blush> Clumsy fingers. ^^

EDIT: I did just read something about Windows 2000/XP using Unicode file names, and having to specify that to Linux...and /dev/hda1 is a Windows 2000 partitioned drive. Is that causing the problems? I just tried this:

Code:
mount -t vfat -o uni_xlate=1  /dev/hda1 /mnt/cdrive
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
       or too many mounted file systems
to no avail.

Last edited by Nychold; 03-04-2004 at 12:18 AM.
 
Old 03-04-2004, 03:49 AM   #4
semaphore
LQ Newbie
 
Registered: Feb 2004
Location: .com.my
Distribution: Redhat 9.0
Posts: 23

Rep: Reputation: 15
if you want to auto mount your FAT32 drive at boot, try this:

1. open your terminal and type this : gedit /etc/fstab
2. you will see something like this(maybe differs)


LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

3. add this to it :

/dev/hd** /mnt/driveC vfat defaults 0 0
(** notice that u need to create new directory in your /mnt directory and name it as 'driveC'. You also need to know which hd** you want to automount. try run "Hardware browser" in gnome to check your vfat partition. Is it hda1 or hda2 or maybe hdb1 etc.**)

for sure you can add more than 1 drive:

/dev/hda1 /mnt/driveC vfat defaults 0 0
/dev/hda3 /mnt/driveD vfat defaults 0 0

(** dont forget to create new directories name as driveC & driveD in /mnt**)

4. save & close.
5. reboot to look it works or not. (or just run Disk Management and click mount)

6.you can also add this if you use thumb drive:

/dev/sda1 /usbstick vfat user,noauto,owner,umask=0 0

(**


then create point directory : mkdir /usbstick

Now you should be able to attach your Flash Drive in whatever size into your USB and go to main menu (the red hat icon) and system tools, Disk Management and mount where it says /dev/sda1 /usbstick vfat then click the button Mount.

You will see an icon appear on your desktop. Click on the usbstick icon and open the folder. you can add files by dragging and dropping or to your Home folder.

If you notice that you have trouble unmounting the Flash drive with the unmount command close all folders first before unmounting and it should unmount. **)
 
Old 03-04-2004, 09:59 AM   #5
Nychold
LQ Newbie
 
Registered: Mar 2004
Distribution: Fedora Core 1
Posts: 20

Original Poster
Rep: Reputation: 0
I've tried that solution, which also fails with the same error message as before.
 
Old 03-04-2004, 11:07 AM   #6
Nychold
LQ Newbie
 
Registered: Mar 2004
Distribution: Fedora Core 1
Posts: 20

Original Poster
Rep: Reputation: 0
Would a drive overlay program like EZ-BIOS cause a problem with mounting a drive?
 
  


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
how to see fat32 partitions yash_bartarya Linux - Software 1 10-17-2004 02:14 PM
2 fat32 partitions on fbsd5/w2k dual. Can only access one fat32 so far.. mipia *BSD 1 10-06-2003 03:10 AM
FORMAT the FAT32 partitions??? Pakiman Linux - General 5 09-16-2003 07:12 PM
About Fat32 Partitions ZFighteR Linux - General 6 02-10-2003 06:35 AM
Can't see one of my FAT32 partitions under XP anymore?? Pringles Linux - General 5 02-10-2003 01:48 AM


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