LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting NTFS & FAT32 (http://www.linuxquestions.org/questions/linux-newbie-8/mounting-ntfs-and-fat32-192476/)

DJWS 06-11-2004 06:22 PM

Mounting NTFS & FAT32
 
I'm having trouble mounting NTFS and FAT32 in FC2? I've tried all the things mentioned in this thread: linuxquestions.org/questions/showthread.php?s=&threadid=191526 I've tried everything in there execpt re-compling the kernel. But then I thought I should be able to mount the FAT32 partition? but I can't so there must be something else wrong, Any ideas??

Covel 06-11-2004 06:29 PM

Make sure you have support for those filesystems in your kernel :rolleyes:

That's all I can give you without anymore information like what commands are you using to try to mount, what error messages do you get...

DJWS 06-11-2004 06:43 PM

i'm using the 2.6.5x.x.x and i've added this into fstab
/dev/hda1 /mnt/WinXP ntfs user,auto,umask=0 0 0
/dev/hda2 /mnt/Data vfat user,auto,umask=0 0 0

I could understand if i couldn't mount just the NTFS partition, but I'm also unable to mount the FAT32 partition?

michaelk 06-11-2004 07:02 PM

Are you sure the FAT32 partition is /dev/hda2? If you created this partition via windows it might be /dev/hda5. To see how your drive is partitioned:
as root
fdisk -l /dev/hda (that is a small L)

csanchisb 06-11-2004 07:05 PM

Why don't you give a try to some wizard to do that for you. For instance, are you using Mandrake? Because the you should use DiskDrake. If you're not, I'm sure there are similar tools around.

DJWS 06-12-2004 12:52 AM

I have tried all that, and my drive assignments are correct. If I wanted a wizard to do it, i'd install Windows, but this is LINUX. lol Thanks for the suggestions, anything else i might try?? even just to see my FAT32 partition?

Ph0enix2003 06-12-2004 12:58 AM

I don't think kernel 2.6.5 natively supports those files systems (I may be wrong but I doubt it). You may need to recompile the kernel with the correct modules.

Linner 06-12-2004 01:02 AM

Quote:

Originally posted by DJWS
i'm using the 2.6.5x.x.x and i've added this into fstab
/dev/hda1 /mnt/WinXP ntfs user,auto,umask=0 0 0
/dev/hda2 /mnt/Data vfat user,auto,umask=0 0 0

I could understand if i couldn't mount just the NTFS partition, but I'm also unable to mount the FAT32 partition?

how come?...we have the same /etc/fstab entries, except for mount point and umask. here is my fstab

/dev/hdb2 /files vfat rw,umask=000 0 0
/dev/hda1 /mnt/NTFS ntfs ro,umask=0222 0 0

you should at least mount FAT32 because it si supported by the kernel. tsk tsk.

wait there anyway, hope we can find solution to your problem:study:

Covel 06-12-2004 03:48 AM

Quote:

Originally posted by DJWS
i'm using the 2.6.5x.x.x and i've added this into fstab
/dev/hda1 /mnt/WinXP ntfs user,auto,umask=0 0 0
/dev/hda2 /mnt/Data vfat user,auto,umask=0 0 0

I could understand if i couldn't mount just the NTFS partition, but I'm also unable to mount the FAT32 partition?


If you haven't compiled fat32 support into the kernel you wont also be able to mount the fat32 partition. I also have 2.6.5 and, if I remember correctly, I had to add all the filesystems support I wanted.

I hope you are using the command mount to do all these tests and not rebooting everytime you change you fstab file :P

thepaemon 06-21-2004 04:13 AM

The NTFS user access soloution
 
Add this to your /etc/fstab:

/dev/hdc2/mnt/windows2 ntfs ro,umask=0222 0 0

(Modify it to suit your kneadz)
And any standard user should be able to ls it.
Writing to an NTFS partition is stupid. Writing to an NTFS partition that windows has read/written/mounted/smelled/barfed on...is really STUPID! -Personal Experience...about 80GB worth

jmorse 06-21-2004 07:55 AM

To see if your kernel understands vfat type: 'cat /proc/filesystems | grep "vfat"'
You should have a line that reads 'vfat', which means it does.

Even if there is no entry in /proc/filesystems, it just means that support is not compiled straight into the kernel [normally a good idea], in which case, try 'modprobe vfat', or 'modprobe ntfs', if all of the above fail, you will need to recompile the kernel.


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