Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Newbie > Problem mounting 1 FAT32 partition (but others are OK)

Forgot Password?
 Linux Newbie   If you're new to the wonderful world of Linux, start here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-15-2004   #1 (permalink)
Just Joined!
 
Join Date: Jul 2004
Location: Canada
Posts: 2
Send a message via ICQ to woolfie
Problem mounting 1 FAT32 partition (but others are OK)

I have a dual boot system (Win98 / Debian) and I'm trying to mount a known good fat32 partition under linux. I keep getting the "wrong fs type, bad option, bad superblock" error...

/dev/hda5 is the partition I'm trying to mount:
Code:
root@ttyp0[mnt]# fdisk -l

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 1952 15679408+ c W95 FAT32 (LBA)
/dev/hda2 1953 7297 42933712+ f W95 Ext'd (LBA)
/dev/hda5 1953 6612 37431418+ b W95 FAT32
/dev/hda6 6613 7297 5502231 b W95 FAT32

root@ttyp0[mnt]# ls -la /mnt/hda5
total 2
drwxr-xr-x 2 root root 1024 Jul 14 20:19 .
drwxr-xr-x 13 root root 1024 Jul 14 20:19 ..
root@ttyp0[mnt]# mount -t vfat /dev/hda5 /mnt/hda5
mount: wrong fs type, bad option, bad superblock on /dev/hda5,
or too many mounted file systems
root@ttyp0[mnt]#
Any ideas? I can access this partition with no problems under Windows (it's my D: drive).

I also have the output from sfdisk if that helps:

Code:
root@ttyp0[mnt]# sfdisk -V -l -x  /dev/hda

Disk /dev/hda: 7297 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/hda1   *      0+   1951    1952-  15679408+   c  W95 FAT32 (LBA)
                end: (c,h,s) expected (1023,254,63) found (927,254,63)
/dev/hda2       1952    7296    5345   42933712+   f  W95 Ext'd (LBA)
                start: (c,h,s) expected (1023,254,63) found (928,0,1)
                end: (c,h,s) expected (1023,254,63) found (128,254,63)
/dev/hda3          0       -       0          0    0  Empty
/dev/hda4          0       -       0          0    0  Empty

/dev/hda5       1952+   6611    4660-  37431418+   b  W95 FAT32
                start: (c,h,s) expected (1023,254,63) found (928,1,1)
                end: (c,h,s) expected (1023,254,63) found (467,254,63)
    -           6612    7296     685    5502262+   5  Extended
                start: (c,h,s) expected (1023,254,63) found (468,0,1)
                end: (c,h,s) expected (1023,254,63) found (128,254,63)
    -           1952    1951       0          0    0  Empty
    -           1952    1951       0          0    0  Empty

/dev/hda6       6612+   7296     685-   5502231    b  W95 FAT32
                start: (c,h,s) expected (1023,254,63) found (468,1,1)
                end: (c,h,s) expected (1023,254,63) found (128,254,63)
    -           6612    6611       0          0    0  Empty
    -           6612    6611       0          0    0  Empty
    -           6612    6611       0          0    0  Empty

partition 1: end: (c,h,s) expected (1023,254,63) found (927,254,63)
partition 2: start: (c,h,s) expected (1023,254,63) found (928,0,1)
partition 2: end: (c,h,s) expected (1023,254,63) found (128,254,63)
partition 5: start: (c,h,s) expected (1023,254,63) found (928,1,1)
partition 5: end: (c,h,s) expected (1023,254,63) found (467,254,63)
partition [6]: start: (c,h,s) expected (1023,254,63) found (468,0,1)
partition [6]: end: (c,h,s) expected (1023,254,63) found (128,254,63)
partition 6: start: (c,h,s) expected (1023,254,63) found (468,1,1)
partition 6: end: (c,h,s) expected (1023,254,63) found (128,254,63)
/dev/hda: OK
root@ttyp0[mnt]#
On the other hand, /dev/hda6 (Windows drive E:) mounts with no problems:

Code:
root@ttyp0[mnt]# mount -l
...
/dev/hda6 on /mnt/hda6 type vfat (ro,nosuid,nodev,umask=000,uid=1000,gid=1000)
...
I've tried this under debian and knoppix, with no luck.

Code:
root@ttyp0[mnt]# uname -a
Linux Knoppix 2.4.22-xfs #1 SMP Fr Okt 3 20:36:25 CEST 2003 i686 GNU/Linux
Any help appreciated,

woolfie
woolfie is offline  


Reply With Quote
Old 07-15-2004   #2 (permalink)
Linux Guru
 
kkubasik's Avatar
 
Join Date: Mar 2004
Location: Lat: 39:03:51N Lon: 77:14:37W
Posts: 2,397
Send a message via AIM to kkubasik
It looks like their might be a physical problem with the disk, and because of some difference in the OS' Windows doesn't care. Or mabey you should try formating the partition again using a linux formatting util (windows and linux formating utils should be identical, but mabey its just the formating was done wrong
kkubasik is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 12:24 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2