Find the answer to your Linux question:
Results 1 to 2 of 2
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, ...
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    Location
    Canada
    Posts
    2

    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

  2. #2
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •