Linux - NewbieThis 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.
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.
I have Win2000 and VectorLinux installed on my computer.
And I need to have a drive that both systems recognise.
Right now I have an 8.5 GB drive that has FAT 32 as its filesystem.
It works well with Windows, but I can't do anything with it on Linux.
... When I mount the drive on linux, I can see all the files on the drive, but I can't execute them. I can't move them either. And I can't put anything onto the drive.
the command I use (as a superuser) is:
mount -t vfat /dev/hda2 /mnt/windows
So is the filesystem totally incompatible?
- And I should reformat the drive and use a totally different FS
Or do I have to play around with Linux first and get away with not messing with the drive itself
Or should I just simply format the drive as FAT 32 in Linux. And then hope that Windows recognises it?
Thanks !!
Grisha.
PS: The error message I get in Linux when I try to do something with the files on that drive is: File system not supported
PPS: When I open the drive, the folders are not recognised as directories, but rather like other files.
Thats strange, iirc Fat32 is perfectly compatible with both. It must be something with mounting then. I know Knoppix is able to edit my FAT32 USB key, and so can Windows
This set up is perfectly possible - I have the same thing on my pc and it runs fine...
Can i see your /etc/fstab?
show me yours and I'll show you mine....
Seriously, It sounds like there might be a problem with the formatting of the drive or the way Linux is addressing it.
I'm not sure why you can't write to it - but it may have something to do with the umask setting on your system - don't forget FAT32 can't have permissions (genius!!!).
Code:
/dev/hda9 /fat-e vfat auto,gid=100,umask=000 1 0
That's mine - as you can see it gives everyone open access to the partition. I don't really need the gid=100 (group ID) do I. But I guess don't fix what's not broken...
Anyway, I suspect it's not that - but i wanted to eliminate it.........
Other than that is the FAT32 file system properly supported in your Kernel? I guess so or you would not even be able to see the files - but check it out if you formatted the disk yourself..........
... I have just realised that, weirdly enough, I can mount my FAT 32 USB flash-disk in both Linux and Windows...
anyway, here goes /etc/fstab:
# /etc/fstab: static file system information.
#
# The following is an example. Please see fstab(5) for further details.
# Please refer to mount(1) for a complete description of mount options.
#
# Format:
# <file system> <mount point> <type> <options> <dump> <pass>
#
# dump(8) uses the <dump> field to determine which file systems need
# to be dumped. fsck(8) uses the <pass> column to determine which file
# systems need to be checked--the root file system should have a 1 in
# this field, other file systems a 2, and any file systems that should
# not be checked (such as MS-initrd/mnt or NFS file systems) a 0.
# This is a root linux ext2 partition:
/dev/hda4 / ext2 defaults,errors=remount-ro 0 1
# This is a linux ext2 partition:
#/dev/hda2 /mnt/linux ext2 defaults 0 2
# The 'noauto' option indicates that the file system should not be mounted
# with 'mount -a' 'user' indicates that normal users are allowed to mount
# the file system.
/dev/fd0 /mnt/floppy subfs fs=vfat:ext2,rw 0 0
#/dev/fd1 /mnt/floppy auto defaults,noauto,user 0 0
# If you have a ls-120 floppy drive, it could be on /dev/hda b c d etc.
#/dev/hdd /mnt/ls120 auto defaults,noauto,user 0 0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.