Discussion Locked

Mounting a Fat32 Drive

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

What syntax do I use in Unix to mount a FAT32
hard drive in Linux? Is there a possible way to
have this command loaded so that Linux will
permanently boot up with the mounted drive.

1 reply

by bg4

Enter a line as below in your "/etc/fstab" file.

/dev/hdxx /win9x vfat defaults 1 0

Replace the "hdxx" with the correct partition on your hard disk (hda1, hdb2, etc), replace "/win9x" with the correct mount point on your linux partition. Note the directory "/win9x" must already exist.

This will mount the partition as user/group "root". If you want to make it owned by another user replace "defaults" with "uid=101,gid=100". Obviously use the uid and gid relevant to the required useron your system. To make it available to everyone you could use the guest user account.

Now each time you boot the fat32 partition will be available under the "/win9x" directory.

Hope this helps.

This discussion is closed to new replies.