LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-02-2004, 11:27 PM   #1
desmondwck
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
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
 
Old 05-03-2004, 01:22 AM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
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
 
Old 05-03-2004, 01:43 AM   #3
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
Win2k you say???
Is the drive ntfs or fat32?
And do you have suport for those filesystems in your kernel?
 
Old 05-03-2004, 05:21 AM   #4
evensen
Member
 
Registered: Apr 2004
Location: Norway/Hamar
Distribution: Debian Sarge :)
Posts: 116

Rep: Reputation: 15
if you have support for vfat/ntfs in your kernel ?

mount /dev/hda6 /mnt/data . try thatone
 
Old 05-03-2004, 08:57 AM   #5
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
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...
 
Old 05-04-2004, 02:44 AM   #6
desmondwck
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks All

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
 
Old 05-04-2004, 04:10 AM   #7
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Yup, that'll do it every time

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
 
Old 05-04-2004, 10:26 AM   #8
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
@ 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*
 
Old 05-05-2004, 04:45 AM   #9
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
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
 
Old 05-05-2004, 08:59 AM   #10
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
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
 
Old 05-22-2004, 07:26 AM   #11
awlred
LQ Newbie
 
Registered: May 2004
Posts: 17

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

please help
-awl

(WinXP and SuSE 8.2)

Last edited by awlred; 05-22-2004 at 07:30 AM.
 
Old 05-22-2004, 07:45 AM   #12
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
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
 
Old 05-22-2004, 12:34 PM   #13
awlred
LQ Newbie
 
Registered: May 2004
Posts: 17

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

--awl

p.s. It was me being a newbie lol
 
Old 05-23-2004, 05:34 PM   #14
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
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" *
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to format to FAT32, and how to mount my FAT32 partition. bonniehandi Linux - Newbie 16 03-05-2006 07:54 PM
I can mount but cannot read a Win95 FAT32 partition wuqso Linux - Hardware 2 12-31-2004 12:39 AM
I can mount but cannot read a WIN95 FAT32 partition wuqso Fedora - Installation 0 12-30-2004 07:57 PM
can't mount fat32 partition warpengi Slackware - Installation 6 09-17-2004 03:56 PM
How to mount a new fat32 partition IceOnly Linux - Software 2 06-11-2003 01:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration