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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-04-2003, 11:25 AM
|
#1
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Rep:
|
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
|
|
|
09-04-2003, 11:33 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
FAT32 is called vfat in linux.
|
|
|
09-04-2003, 11:36 AM
|
#3
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
Type:
Code:
mount -t vfat /dev/hdb1 /mnt/cdrom
|
|
|
09-04-2003, 11:44 AM
|
#4
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Original Poster
Rep:
|
ahh, lol thanX.
wow, that has to be the easyest problem iever had, thanX
|
|
|
09-04-2003, 02:18 PM
|
#5
|
Member
Registered: Aug 2003
Posts: 31
Rep:
|
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
|
|
|
09-04-2003, 02:27 PM
|
#6
|
Senior Member
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286
Rep:
|
make a dir under /mnt called 'cdrom'?
mkdir /mnt/cdrom
should be enuff
|
|
|
09-04-2003, 04:54 PM
|
#7
|
Member
Registered: Aug 2003
Posts: 31
Rep:
|
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
|
|
|
09-04-2003, 06:36 PM
|
#8
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
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)
|
|
|
09-04-2003, 06:51 PM
|
#9
|
Member
Registered: Aug 2003
Posts: 31
Rep:
|
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
|
|
|
09-04-2003, 07:21 PM
|
#10
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
Take a look at your partition table to make sure you are mounting the correct partition and file system.
Also, do you get the same error message if you use the full command ?
Code:
mount -t vfat /dev/hdb5 /windows/E
|
|
|
09-04-2003, 07:39 PM
|
#11
|
Member
Registered: Aug 2003
Posts: 31
Rep:
|
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 07:41 PM.
|
|
|
09-04-2003, 07:49 PM
|
#12
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
According to fdisk, hdb5 and hdb6 do not exist.
Since these partitions do not exist, you can not mount them.
|
|
|
09-04-2003, 07:57 PM
|
#13
|
Moderator
Registered: Aug 2002
Posts: 26,730
|
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
|
|
|
09-04-2003, 08:09 PM
|
#14
|
Member
Registered: Aug 2003
Posts: 31
Rep:
|
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
|
|
|
09-04-2003, 08:40 PM
|
#15
|
Moderator
Registered: Aug 2002
Posts: 26,730
|
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.
|
|
|
All times are GMT -5. The time now is 04:40 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|