Linux - GeneralThis 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
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.
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.
how can i read my fat32 partitions from linux
i can 't see except the partition E: inside the mnt in root directory
but i also have C: and F:
what shall i do
You'll need to add them to your /etc/fstab
Look for the line for e:. It will be something similar to
/dev/hda2 /mnt/windows vfat *********************
what is important is this vfat. It's for Windows partitions.
Then you'll need to create similar lines for c: and f:
I guess c: will be /dev/hda1 and f: may be 5 or 6.
So copy the line for e:, change hdx numbers and this /mnt/windows into /mnt/win_c (for c, /mnt/win_f. You'll need also to create directories win_c and win_f in /mnt
i have succseded to see my fat32 partions
except the c: which have the windows installed on
i tried every thing but i can't see it also
i trued the fstab
but i didn't find the mount commmand
were can i found on mandrake
I had this prob too, but the mount command says my kernel doesn't support vfat. It is the stock kernel from up2date (dont have release number, Im at work) really hoped to avoid compiling my own kernel, is this a loadable module?
I think that the c: for windows 9x/me must be on the primary partition of the fist disk. in linux that is /dev/hda1 for IDE or /dev/sda1 for SCSI.
My /etc/fstab has these lines for my windows partitions.
You can change noauto to auto to have them mount on every boot - but they will be checked after so many mounts which slows the boot process. Hope this helps.
Sorry! I forgot to add that once these are in the fstab you only need use the mount command like so...
mount /dev/hda1 /windows/C
the filesystem options are taken from the fstab file.
If your having trouble executing the mount command, you should su to root and try it. It could be that the mount command is not in the systems search path. mount is located in /bin on my machine (suse 7.2)
Actually, once you add the entry into fstab, you won't need to mount it manually anymore. Just reboot and it'll mount everytime at startup hence the reason for fstab. If your win part. is the first one on the drive as probable, per suggested above, then you may want an entry such as:
taz.devil, that line is OK for an ext2 file system, but on a non ext2(3?) filesystem the fourth field, ie defaults, should have options specified. like 'auto' or 'noauto' (for mount on boot[mount -a] or not ) and 'user' (set to enable users to mount the volume). there are other options but I don't know what they are as my setup works for me. The fifth field is to specify if a dump should take place on the mountpoint. Dump is a backup utility. Mine is set to zero because I cant backup my files even if I wanted to (which I dont)
Check man fstab and man dump for more info.
Originally posted by fatgod taz.devil, that line is OK for an ext2 file system, but on a non ext2(3?) filesystem the fourth field, ie defaults, should have options specified. like 'auto' or 'noauto' (for mount on boot[mount -a] or not ) and 'user' (set to enable users to mount the volume). there are other options but I don't know what they are as my setup works for me. The fifth field is to specify if a dump should take place on the mountpoint. Dump is a backup utility. Mine is set to zero because I cant backup my files even if I wanted to (which I dont)
Check man fstab and man dump for more info.
Actually the line I suggested is just fine for fat32.
safrout: I would take alook and see if you are sure you didn't actually format it as NTFS. If it was, you could just add ntfs into the fstab line instead of vfat as long as your kernel has support for it or it's been made a module that you can load. Also, a stupid question but, are you making sure that the directory you are trying to mount to is actually there?
Like taz.devil says, make sure that the directory /mnt/win_c does already exsit. And check the line in fstab, here you have posted fefaults rather than defaults. and I would change 'defaults' to 'noauto,user' and the '1' to '0' unless you plan to use dump. But hey, thats just me
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.