LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Can't mount partition using fs type; win95 fat32, fat16 (https://www.linuxquestions.org/questions/linux-hardware-18/cant-mount-partition-using-fs-type%3B-win95-fat32-fat16-177192/)

desmondwck 05-02-2004 11:27 PM

Can't mount partition using fs type; win95 fat32, fat16
 
Hi All,

I have setup a dual boot RH9.0/win2k on my PC and would like to add an a dditional partition ( ~70G /dev/hda6 ) as a share drive for both win2k and RH9.0.

I tried different file type like Win95 Fat32, FAT16 but was unabled to mount the partitiion. And the following error was returned.

[root@des root]# mount -t autofs /dev/hda6 /mnt/data/
mount: wrong fs type, bad option, bad superblock on /dev/hda6,
or too many mounted file systems
[root@des root]# mount -t vfat /dev/hda6 /mnt/data
mount: wrong fs type, bad option, bad superblock on /dev/hda6,
or too many mounted file systems

Here is my partition table:
[root@des root]# fdisk -l

Disk /dev/hda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/hda2 2551 2677 1020127+ 83 Linux
/dev/hda3 2678 5864 25599577+ 83 Linux
/dev/hda4 5865 14946 72951165 f Win95 Ext'd (LBA)
/dev/hda5 5865 5991 1020096 82 Linux swap
/dev/hda6 5992 14946 71931006 c Win95 FAT32

Could anybody shed some light on what is going wrong?

TIA,
-Des

rootboy 05-03-2004 01:22 AM

You did format it?

First off, FAT16 would never support a 70Gig partition, so you would have to go with FAT32.

There is type "b" instead of "c" if it isn't an LBA drive...

Does kinda sound like it hasn't been formatted though, post your fstab for us please. And your mtab.


John

Kroppus 05-03-2004 01:43 AM

Win2k you say???
Is the drive ntfs or fat32?
And do you have suport for those filesystems in your kernel?

evensen 05-03-2004 05:21 AM

if you have support for vfat/ntfs in your kernel ?

mount /dev/hda6 /mnt/data . try thatone

Kroppus 05-03-2004 08:57 AM

or
mount -t auto /dev/hda6 /mnt/data
mount -t ntfs /dev/hda6 /mnt/data
mount -t vfat /dev/hda6 /mnt/data

One of them should work, depending on your kernel...

desmondwck 05-04-2004 02:44 AM

Thanks All :D

It was resolved after defining the file system.

[root@des root]# mkfs.vfat -F 32 /dev/hda6
mkfs.vfat 2.8 (28 Feb 2001)

[root@des root]# fdisk -l

Disk /dev/hda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/hda2 2551 2677 1020127+ 83 Linux
/dev/hda3 2678 5864 25599577+ 83 Linux
/dev/hda4 5865 14946 72951165 f Win95 Ext'd (LBA)
/dev/hda5 5865 5991 1020096 82 Linux swap
/dev/hda6 5992 14946 71931006 c Win95 FAT32 (LBA)

[root@des root]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 25G 2.9G 20G 13% /
/dev/hda2 981M 22M 910M 3% /boot
none 488M 0 488M 0% /dev/shm
/dev/hda6 69G 4.0K 69G 1% /mnt/data

rootboy 05-04-2004 04:10 AM

Yup, that'll do it every time :rolleyes:

An even though this isn't the place to brag on Windows programs, you can't beat Partition Magic for partitioning/formatting/resizing drives.


John

Kroppus 05-04-2004 10:26 AM

@ rootboy
partitionMagic is a nice program, but there's one HUGE snag with it...
You need windows to run it and have it installed on...
So far i haven't seen any live-cd that let's me run it....
But fdisk is good enough for me :)
*likes to work in tty1*

rootboy 05-05-2004 04:45 AM

Yup, I would *really* like to see a linux version of PM. I doubt that this is going to happen soon.

Since I do run Windows as well as linux, I have no problem with PM.

And when I have to reinstall Windows on my Toshiba, it insists on wiping all of the partitions and recreating everything as one huge NTFS partition.

This will probably be the last Toshiba that I'll ever own.


But I'm open to any suggestions on how one would shrink the NTFS partition and then convert it to FAT32 using an open source solution. These are the two reasons why I got PM.

Captive seems to be getting close, it may be time to give it another shot. But the last time it tried to write NTFS files, but got terribly confused. Really ugly.

http://www.jankratochvil.net/project/captive/


And yes, for most things fdisk is great. I have a soft spot for console programs that just do their job and do it well :)


John

Kroppus 05-05-2004 08:59 AM

I doubt ithat about PM to...

Since i don't use windows at all i don't have that problem with NTFS...
Was thinking about making my mp3 disks into NTFS, but realised that i would need windows to copy the files..
I can do a lot for keeping my music safe, but install windows? *shakes his head*
So i skipped it...

Console is the best IMO
:)

awlred 05-22-2004 07:26 AM

Hey, I tried following those instructions but I get a error "mount point does not exist" I admit i am a bit of a :newbie:

please help
-awl

(WinXP and SuSE 8.2)

Kroppus 05-22-2004 07:45 AM

awlred Did you make the folder where you're trying to mount the disk??
That error seems to be either a missing folder where you're trying to mount it, or that you're trying to mount the wrong partition...
fdisk -l /dev/hd? (where ? is the letter for the disk)
will show you the partitiontable so that you can figure out the numbers to add :)

awlred 05-22-2004 12:34 PM

s'ok, I figured it out, about 2 minutes after posting that heh typical

--awl

p.s. It was me being a newbie lol

Kroppus 05-23-2004 05:34 PM

Tell ypu what awlred
It will get worse.... One day you'll figure out what to do the same moment that you post the question
*been there and done that*

*after one hour trying to get dns to work...
"Damned? It's resolve.conf and not resolve.config" *


All times are GMT -5. The time now is 12:18 AM.