LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-04-2003, 12:25 PM   #1
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
How to mount FAT32 ???


Hey guys, i was told linux can read-write to fat32 disks.

so i fotmated my windows disk to fat32 so i could use linux to backup music ect ect.

now i want to write it back to the fat32 windows disk but...

mount -t fat32 /dev/hdb1 /mnt/

tells me my kernel (2.4-20-8) does not support fat32

also tried typing it was FAT32 (just incase)

i assume i need a kernel module just like i did for reading ntfs.

where can i find such a module ???

thankyou
 
Old 09-04-2003, 12:33 PM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
FAT32 is called vfat in linux.
 
Old 09-04-2003, 12:36 PM   #3
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Type:
Code:
mount -t vfat /dev/hdb1 /mnt/cdrom
 
Old 09-04-2003, 12:44 PM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
ahh, lol thanX.
wow, that has to be the easyest problem iever had, thanX
 
Old 09-04-2003, 03:18 PM   #5
ffang
Member
 
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
I am looking for the same thing also, but I failed to do so. The error message says:

mount point /mnt/cdrom does not exist.

How to fix this one?

Thanks,

Fang
 
Old 09-04-2003, 03:27 PM   #6
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
make a dir under /mnt called 'cdrom'?

mkdir /mnt/cdrom
should be enuff
 
Old 09-04-2003, 05:54 PM   #7
ffang
Member
 
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
I did, but got another error message:

Called: mount /dev/hdb5
mount: wrong fs type, bad option, bad superblock on
/dev/hdb5,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)

What is this message talking about? Anyway I can fix it?

Thanks,

Fang
 
Old 09-04-2003, 07:36 PM   #8
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
In the /etc/fstab file, there may be an incorrect entry for /dev/hdb5
Can you post your /etc/fstab ?

Also, what type of partition is hdb5 ? (ext2/ext3, FAT32, NTFS, etc)
 
Old 09-04-2003, 07:51 PM   #9
ffang
Member
 
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
Here it is. Looks mess to me.

Thank,
Fang

/dev/hdb4 / reiserfs defaults 1 2
/dev/hdb1 /boot reiserfs defaults 1 2
/dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
devpts /dev/pts devpts defaults 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/hda1 /windows/C ntfs ro,noauto,user,umask=022 0 0
/dev/hdb5 /windows/E vfat noauto,user 0 0
/dev/hdb6 /windows/F ntfs ro,noauto,user,umask=022 0 0
/dev/hdb3 swap swap pri=42 0 0
 
Old 09-04-2003, 08:21 PM   #10
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Take a look at your partition table to make sure you are mounting the correct partition and file system.
Code:
fdisk -l
Also, do you get the same error message if you use the full command ?
Code:
mount -t vfat /dev/hdb5 /windows/E
 
Old 09-04-2003, 08:39 PM   #11
ffang
Member
 
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
I got the same error message.
The output from fdisk -l:

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

Device Boot Start End Blocks Id System
/dev/hda1 * 1 14592 117210208+ 7 HPFS/NTFS

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

Device Boot Start End Blocks Id System
/dev/hdb1 1 26 208813+ 83 Linux
/dev/hdb3 27 222 1574370 82 Linux swap
/dev/hdb4 223 2433 17759857+ 83 Linux

No hdb5 here.

Last edited by ffang; 09-04-2003 at 08:41 PM.
 
Old 09-04-2003, 08:49 PM   #12
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
According to fdisk, hdb5 and hdb6 do not exist.
Since these partitions do not exist, you can not mount them.
 
Old 09-04-2003, 08:57 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,930

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
ffang,
You don't have any FAT32 partitions.

But what are you really trying to do. Your first post was trying to mount the cdrom. It looks like your running SUSE which uses /media/cdrom instead of /mnt/cdrom.

Are you trying to mount the NTFS partition? Not sure if SUSE has NTFS support in its default kernel.

You could try
mount -t ntfs /dev/hda1 /some_mount_point
 
Old 09-04-2003, 09:09 PM   #14
ffang
Member
 
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
Hi Michaelk,

You are right, I am using SUSE 8.0. I am trying to mount vfat hdb5. I can see the info from the tool kDiskFree. It contains hdb5 vfat. Here is the display from kDiskFree:

Device Type Size Mountpoint Free Full%
/dev/hdb5 vfat N/A /windows/E 0B N/A

I can select it and mount, then get error message.
When I install SUSE 8.0 the partition was there. But seems it didn't show up in fdisk for some reason.

Anyone knows how to fix it?

Thanks,

Fang
 
Old 09-04-2003, 09:40 PM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,930

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Duh, I needed to reread all of the posts.

Well, kdiskfree doesn't show the size so I don't think its reflecting the actual partition info.

From fdisk you are missing /dev/hdb2 which should of been the extended partition containing the logical drives hdb5 & hdb6.

Did you change anything after you installed SUSE?

I would guess if you rebooted windows it wouldn't see the drives either. Your partition table might of been corrupted.
 
  


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 08:54 PM
FAT32 Won't Mount linuxnubx Linux - Newbie 25 12-07-2004 03:43 PM
How i can mount fat32 Sreejesh Linux - Newbie 2 09-02-2004 09:25 AM
Mount a Fat32 mehargags Linux - Hardware 2 08-17-2002 07:22 AM
mount fat32 somebody Linux - Newbie 1 03-25-2002 12:14 PM


All times are GMT -5. The time now is 11:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration