How to format to FAT32, and how to mount my FAT32 partition.
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.
How to format to FAT32, and how to mount my FAT32 partition.
Situation:
I am trying to have a 40Gb partition formatted to FAT32, so that both my XP and Fedora Core 4 can access it (to share file). There are two problems.
1. I can't/don't know how to format that partition into FAT32. It is hda6 on my partiton table posted below. (XP cannot format it to FAT32, I tired)
2. I can't mount hda6 to /osshare. I get the error posted below.
my partition table
[root@localhost lineak_kdeplugins-0.8.3]# fdisk /dev/hda -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1912 15358108+ 7 HPFS/NTFS
/dev/hda2 1913 1925 104422+ 83 Linux
/dev/hda3 1926 2053 1028160 82 Linux swap / Solaris
/dev/hda4 2054 9729 61657470 5 Extended
/dev/hda5 2054 3831 14281753+ 83 Linux
/dev/hda6 3832 9728 47367621 e W95 FAT16 (LBA)
thing that appears when I mount hda6
[root@localhost lineak_kdeplugins-0.8.3]# mount /osshare
mount: wrong fs type, bad option, bad superblock on /dev/hda6,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
First: Read the manpage for Mount, the command you typed to mount de partition is wrong. typing 'mount --help' and 'man mount' will help you a lot.
Second: read the partition-howto (search for it with google, i don't know by head where you can find it) You want to mount a fat32 filesystem, but your partitiontable tells you having only fat16... not recommended, but possible though...
Maybe it's a good idea to read the 'filesystem-howto' (again, search for it) too...
For xp see partitions made by linux i think it needs to be fat32 LBA id 0c. IIRC winxp cant see fat32 partitions above 32gigs so your gonna have to chopped it up. Any feel free to correct me if im wrong.
this is quite interested thread to follow. I am a total noob with command line. So when I had a similar issue, I tried using QTParted from MEPIS live CD and selected the partition I wanted to format in FAT32. It did the trick, and windows could see and write to partition (and can linux). I thought I should jsut throw this. Interesting how many ways are there to skin a cat...
regards,
smiley
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.