ansichart@ansibox:/media$ sudo mkdir DATA
ansichart@ansibox:/media$ sudo mount -t vfat /dev/sda1 DATA
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
ansichart@ansibox:/media$ dmesg | tail
[ 450.993118] NTFS-fs warning (device sda): is_boot_sector_ntfs(): Invalid boot sector checksum.
[ 450.993126] NTFS-fs error (device sda): read_ntfs_boot_sector(): Primary boot sector is invalid.
[ 450.993130] NTFS-fs error (device sda): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
[ 450.993135] NTFS-fs error (device sda): ntfs_fill_super(): Not an NTFS volume.
[ 521.276621] FAT: invalid media value (0xb9)
[ 521.276630] VFS: Can't find a valid FAT filesystem on dev sda.
[ 524.092464] FAT: bogus number of reserved sectors
[ 524.092472] VFS: Can't find a valid FAT filesystem on dev sda1.
[ 772.199427] FAT: bogus number of reserved sectors
[ 772.199436] VFS: Can't find a valid FAT filesystem on dev sda1.
ansichart@ansibox:/media$ sudo fdisk /dev/sda1
The number of cylinders for this disk is set to 4863.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda1: 40.0 GB, 40007729664 bytes
255 heads, 63 sectors/track, 4863 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1p1 1 4863 39062047 b W95 FAT32
Command (m for help):
+ Stopped sudo fdisk /dev/sda1
It says it can't find a valid FAT system on sda1 however, fdisk shows that the partition type is FAT 32.
I made sure I was using the mount command correctly by mounting my windows partition manually.
sudo mount -t vfat /dev/hda2 hda2
And that works fine with no problem.
I have been trying to figure this out by googl searching, but the only results I am getting is people like me on different forums having the same problem with no solutions.