LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Creating a FAT partition (https://www.linuxquestions.org/questions/linux-newbie-8/creating-a-fat-partition-226596/)

nagromo 09-04-2004 12:30 PM

Creating a FAT partition
 
What is the command to create a fat filesystem? I currently have an unused ReiserFS partition that I want to use for sharing between Windows and Linux. Is there a command that would just write over an existing partition with an empty fat partition? I can't do it from Windows because Windows no longer detects my linux partitions.

I have tried various obvious ones (to me) and searched google, but I can't find the command.

david_ross 09-04-2004 12:51 PM

You need to make the filesystem with "mkfs":
mkfs -t vfat -F 32 /dev/hdxY

bruno buys 09-04-2004 12:53 PM

mkdosfs -F 32

or

mkfs

man:mkfs and man:mkdosfs to know more.

nagromo 09-04-2004 08:32 PM

Thanks; that worked. I have two problems, though.

1. Windows doesn't detect the partition (It didn't before, either). My Computer has A:, C: (Windows), then H: and I: (CD and DVD). There are three partitions in between that were created from the Windows installer but overwriten numerous times by various flavors of Linux. I don't know how to get Windows to see the second partition again.

2. I put the new fat partition in /etc/fstab (Debian) with the default mounting options. How can I allow all users to access a partition in /etc/fstab?

bruno buys 09-04-2004 11:12 PM

If your windows is xp or 2k, I guess there is a tool to manage disks and parts, in the system admin section. Right click "MyComputer" icon, and choose "Manage".



2. I put the new fat partition in /etc/fstab (Debian) with the default mounting options. How can I allow all users to access a partition in /etc/fstab?

You have to add the "user" option in the line regarding this partition. The "default" option won't let users write to it.

nagromo 09-05-2004 12:13 AM

Is it OK to put default,user? If not, what other important options from default should I add?


All times are GMT -5. The time now is 01:50 PM.