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
On Mon, Aug 29, 2005 at 10:57:03PM +0900, Dave Gutteridge enlightened us:> 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? >It doesn't appear that owner is a valid option for fat filesystems. Try removing that option and see if that fixes your problem. Matt -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20050829/08b809fd/attachment-0001.sig>
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
Try this on /etc/fstab that worked for me /dev/hda /mnt/windows vfat auto,rw,umask=0 0 0 --- Dave Gutteridge <dave at tokyocomedy.com> 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 > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >__________________________________________________________ Find your next car at http://autos.yahoo.ca
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)Dave, Try: /dev/hda1 /mnt/windows vfat rw,noauto,user,uid=512,gid=1002 1 2 Adjust uid and gid for the user you want to have full access (see /etc/passwd entry), or omit for read-all write-root. [Be sure /mnt/windows exists.]> 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)OT, but looks like /dev/hdb2 has no extended partitions. It's a pretty small percentage of the disk, so may be a don't-care. Could make it swap as you don't seem to have any. If you want: # fdisk /dev/hdb Command (m for help): t Partition number (1-4): 2 Hex code (type L to list codes): 82 Changed system type of partition 1 to 82 (Linux swap) Command (m for help): w # mkswap /dev/hdb2 Put the following in /etc/fstab: /dev/hdb2 swap swap defaults 0 0 # free # swapon -a # free Phil