Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
formatting FAT32 within gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
speedyd
n00b
n00b


Joined: 18 Sep 2002
Posts: 1

PostPosted: Wed Sep 18, 2002 2:33 am    Post subject: formatting FAT32 within gentoo Reply with quote

i have a 12gb partition which has been fdisk'ed to be a fat32 partition, but i cant mount it due to the fact that it isnt formatted (i assume).

how do i do this within gentoo?

Cheers,
D
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Sep 18, 2002 2:47 am    Post subject: Reply with quote

man mkfs wrote:
-t fstype
Specifies the type of file system to be built. If
not specified, the default file system type (cur-
rently ext2) is used.


man also suggests "SEE ALSO mkfs.vfat(8)", though I don't have that option installed.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Sep 18, 2002 3:05 am    Post subject: Reply with quote

In addition to what kanuslupus says, you need to emerge dosfstools. Then you can use mkdosfs, mfks.vfat or "mkfs -t vfat" to create your FAT filesystem. All 3 commands are equivalent.
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Wed Sep 18, 2002 3:15 am    Post subject: Reply with quote

Out of curiosity, why are you wanting to format a fat32 partition in Linux? and why do you want to mount it? did you fdisk using Windows' fdisk utility or Linuxs' fdisk utility?

Inquiring minds want to know.

C
Back to top
View user's profile Send private message
Freak_NL
Apprentice
Apprentice


Joined: 27 Jun 2002
Posts: 261
Location: The Netherlands

PostPosted: Wed Sep 18, 2002 8:37 pm    Post subject: Reply with quote

For FAT32, you need to add another flag, I believe -F 32, but you'll have to verify that. Without it mkfs.vfat will default to FAT16. :(

vfat is unfortunatly the only R/W filesystem (R/W as in, read, write and no DANGEROUS (NTFS) markings in the kernel) that allows for Windows and Linux to share a partition. My system-partitions are XFS (NTFS for Windows), but the larger (120 Gb) drives are vfat, because most OS's can reach them and because mp3's and avi's don't care about userrights and some efficiency gains.

I need Windows for scanning ok.. (and some games)
Back to top
View user's profile Send private message
yokem55
Guru
Guru


Joined: 18 Apr 2002
Posts: 360
Location: Oregon

PostPosted: Wed Sep 18, 2002 9:52 pm    Post subject: Reply with quote

Does WinXP not allow you to format in fat32 anymore and simply just pushes ntfs?
Back to top
View user's profile Send private message
Freak_NL
Apprentice
Apprentice


Joined: 27 Jun 2002
Posts: 261
Location: The Netherlands

PostPosted: Thu Sep 19, 2002 9:02 am    Post subject: Reply with quote

No, FAT32 is still optional, but since I don't require write access to a Windows system partition NTFS is fine. Read access is no problem.
Back to top
View user's profile Send private message
kybber
Apprentice
Apprentice


Joined: 25 Jun 2002
Posts: 228
Location: Trondheim, Norway

PostPosted: Thu Sep 19, 2002 9:27 am    Post subject: Reply with quote

I think Chickpea's question basically boils down to this: If you have a FAT32 because you want to access it from both windows and linux, then apparently you have windows installed. So why not use windows to format the drive instead of hassling with doing this one-time operation in linux? At least this is what puzzles me... :roll:
Back to top
View user's profile Send private message
Snackiz
n00b
n00b


Joined: 17 Apr 2003
Posts: 17
Location: Sweden

PostPosted: Sat Jun 07, 2003 10:43 am    Post subject: Reply with quote

Windows XP has a maximum of 32GB for creating FAT32 partitions.
But I want to create my whole disk (60GB) as a FAT32.

Maybe a Win98 boot disk might help?
_________________
http://www.snackiz.com
The only reason I signed up on this forum was to help others. I got all the help I needed by searching it...
Back to top
View user's profile Send private message
Fitzsimmons
Guru
Guru


Joined: 01 Jan 2003
Posts: 415
Location: Waterloo, Ontario, Canada

PostPosted: Sat Jun 07, 2003 12:26 pm    Post subject: Reply with quote

Snackiz wrote:
Windows XP has a maximum of 32GB for creating FAT32 partitions.
But I want to create my whole disk (60GB) as a FAT32.

Maybe a Win98 boot disk might help?


Ouch. You will kill that disk by formatting it in fat32. fat32 is a very poor filesystem, and although I can't give you the details, it will turn out that on a HD that big, the size of your files will be drastically increased in size because of the inefficiency of fat32. If you are going to format with fat32, at least partition it down (IIRC, 4GB is the optimal). I know this totally sucks, but blame microsoft. However, I know for certain that there are tools for windows that allow it to mount ext2/3. Truthfully, I don't know much about the efficiency of ext2, but I am almost certain that it is better than fat32 for large drives. Try googling about it. In any case, here is an article for mounting ext2 in windows. Good Luck.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum