LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-30-2003, 04:06 PM   #1
RichO13
LQ Newbie
 
Registered: Apr 2003
Posts: 2

Rep: Reputation: 0
mounting vfat hd in linux


I had windows ME with two hard drives, one was about 20 gigs and the second is 50+ gigs. In windows ME i transfered all my media files and stuff to the 50 gig drive, hdb, and reformatted hda and installed red hat. my kernel is vmlinuz2.4.2-2.

What i am trying to do is mount the 50 gig drive in linux.
I do these commands
modprobe fat
modprobe vfat
mount /dev/hdb1 /mnt/hdb -t vfat
and get this error:
mount: wrong fs type, bad option, bad superblock on hdb1, or to many mounted file systems.

I saw someone say they had this error trying to do this with a ntfs partition and they fixed it by getting some rpm, is there somthing like that i need to do with vfat?

here is my fdisk -l output:

Disk /dev/hda: 255 heads, 63 sectors, 2482 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 64 514048+ 83 Linux
/dev/hda2 65 2482 19422585 5 Extended
/dev/hda5 65 957 7172991 83 Linux
/dev/hda6 958 1023 530113+ 82 Linux swap
/dev/hda7 1024 2481 11711353+ e Win95 FAT16 (LBA)

Disk /dev/hdb: 255 heads, 63 sectors, 7297 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 7297 58613121 c Win95 FAT32 (LBA)


**note im trying to mount hdb1 not hda7


THANKS IN ADVANCE TO ANY HELP
 
Old 04-30-2003, 04:49 PM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
syntax is:
mount -t vfstype device dir
 
Old 04-30-2003, 11:04 PM   #3
RichO13
LQ Newbie
 
Registered: Apr 2003
Posts: 2

Original Poster
Rep: Reputation: 0
thanks but that does not matter
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux 2.6 vfat mounting problem thorwil Linux - General 6 12-23-2003 06:52 AM
mounting vfat fs mcd Linux - Newbie 11 08-25-2003 09:51 PM
copy files from vfat to vfat from linux? purpleburple Linux - General 2 12-11-2002 03:24 PM
Mounting Vfat paradoxlight Linux - Software 4 01-15-2002 06:29 PM
Mounting with Vfat garr71 Linux - General 4 11-29-2001 04:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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