[CentOS] Can't mount FAT32 partition

Sean O'Connell oconnell at soe.ucsd.edu
Mon Aug 29 14:17:28 UTC 2005


On Mon, 2005-08-29 at 22:57 +0900, Dave Gutteridge wrote:
> I am trying to mount a FAT32 partition in CentOS.
> I'm following the instructions on this page:
> http://www.linuxforum.com/linux_tutorials/14/1.php
> 
> This is the line I put into /etc/fstab
> /dev/hda                /mnt/windows            vfat    
> users,owner,rw,umask=000 0 0
> 
> And this is the error I get:
> [root at localhost mnt]# mount -a
> mount: wrong fs type, bad option, bad superblock on /dev/hda,
>        or too many mounted file systems
> 
> What is the cause of this error?
> 
> For reference, this is the output of fsisk:
> [root at localhost mnt]# fdisk -l
> 
> Disk /dev/hda: 30.0 GB, 30020272128 bytes
> 255 heads, 63 sectors/track, 3649 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hda1   *           1        3649    29310561    c  W95 FAT32 (LBA)
> 
> Disk /dev/hdb: 30.7 GB, 30738677760 bytes
> 255 heads, 63 sectors/track, 3737 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hdb1   *           1        3644    29270398+  83  Linux
> /dev/hdb2            3645        3737      747022+   f  W95 Ext'd (LBA)

Dave-

You are trying to mount /dev/hda, but you need to be using /dev/hda1.
-- 
Sean




More information about the CentOS mailing list