Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory Can I format a partition in Linux with FAT32 or NTFS? Post 302808259 by Scott on Thursday 16th of May 2013 09:24:03 AM
Old 05-16-2013
ext3 and ext4 are filesystem types, not partition types as shown by fdisk. FAT partition types shown by fdisk exist for mostly historical reasons and have nothing to do with Linux. You likely want to create a Linux of Linux LVM type of partition, and then format it using ext3 or ext4.

Code:
# ls /sbin/mkfs.*
/sbin/mkfs.cramfs  /sbin/mkfs.ext2  /sbin/mkfs.ext3  /sbin/mkfs.ext4  /sbin/mkfs.ext4dev  /sbin/mkfs.xfs

# mkfs -t ext4 /dev/sdb
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
393216 inodes, 1572864 blocks
78643 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1610612736
48 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736

While I've never had cause (or wanted to) create an MSDOS filesystem, there is a package you can install to do so:
Code:
# yum install dosfstools
...
# ls /sbin/mkfs
[root@test1 ~]# ls /sbin/mkfs.*
/sbin/mkfs.cramfs  /sbin/mkfs.ext3  /sbin/mkfs.ext4dev  /sbin/mkfs.vfat
/sbin/mkfs.ext2    /sbin/mkfs.ext4  /sbin/mkfs.msdos    /sbin/mkfs.xfs

This User Gave Thanks to Scott For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Linux/Windows Fat32 Swap partition.

I run a dual boot WinXP/Red Hat 8 system on my laptop. Since my hard drive is inherently small(laptop) I am trying to creat a swap partition for keeping mutually used files such as music/video etc... I have created a 2.5GB Fat32 partition with Partition Magic Pro and have windows recognizing the... (2 Replies)
Discussion started by: djtrippin
2 Replies

2. Linux

File Sharing among NTFS Partition & RH Linux 9 Partitions

Well Guys, will anybody solve my problem? I have installed Win XP and RH Linux 9 (Dual Boot) on an Intel x86 Machine. Everything is going fine except that I cannot share files among the two operating systems. For example, if I download a PDF file from internet and save it in my Win XP partition... (1 Reply)
Discussion started by: Jawwad
1 Replies

3. Filesystems, Disks and Memory

converting file systems (FAT32 to NTFS)

People who still have FAT32, usaly have 2 or more operating systems running on their computer. An example of that is like runnging OS x over Windows 95 or XP. Stuff like that. On one of my lap tops, I have Linux, Unix, and OS x running on one HD. The OS x runs really really slow thought...I hardly... (0 Replies)
Discussion started by: hdk_mkr
0 Replies

4. Solaris

Find a Fat32 partition under solaris 10 x86

Hello, I use Sun Solaris 10 under a x86 computer, and I want to mount a Fat32 partition who are stored in the same disk with the UFS filesystem. But, before mount this partition, I need to know is location in /dev/dsk Because there are a lot of file "c0t0d0" etc..., and I didn't find my... (4 Replies)
Discussion started by: willits
4 Replies

5. SuSE

writing on win ntfs partition from linux

Is it possible to save a file from linux environment to a windows ntfs partition? I use SUSE 8.3 and I can access win ntfs files only as read only. I want to know whether writing is possible on win ntfs partition. (2 Replies)
Discussion started by: suyashkunte
2 Replies

6. Linux

problem to format linux partition

hi friends one week ago, i have installed fedoa 9 on my home pc. i already have windows xp on that machine. unfortunately my windows xp has corrupted. again i want to install windows xp but it is not installing. will i format my linux partition or some other option is there. please help me... (0 Replies)
Discussion started by: praneshmishra08
0 Replies

7. Filesystems, Disks and Memory

fat32 vs ntfs

http://wiki.linuxquestions.org/wiki/Interoperability Is this no longer accurate about fat32? I just used a 4 gb flash drive to share several video files between Windows XP and Linux Mint. I also plan on sharing several files in the future with that 4 gb flash drive between XP and Mint so I... (4 Replies)
Discussion started by: cokedude
4 Replies

8. Windows & DOS: Issues & Discussions

No option to create partition using FAT32

Hi, i have a new laptop without any OS. I'm about to install win 7. i have a FreeDos CD and I'm currently trying to install it. My hard drive has about 610 000 GB space. I'm unable to create a partition bigger than ~2 GB. I know that normally when you start FDISK, you're asked if you want... (1 Reply)
Discussion started by: harriii
1 Replies

9. OS X (Apple)

How to access a NTFS partition on hard drive through Terminal in OSX ?

Hi , I have a Mac OS X Lion mac book pro. I have a hard drive which I have partitioned in two (a) OSX Partition - Mac OS Extended Journaled format. Mount point: / (b) Data Partition - Windows NT Filesystem format. Mount point: /Volumes/Data I need to access the NTFS partition (I have a... (6 Replies)
Discussion started by: neil.k
6 Replies

10. Windows & DOS: Issues & Discussions

Repair windows 8.0 ntfs partition

I have a 1TB HD, suspect it had bad sectors and blocks... it was pre-installed with windows 8.0.. I was able to boot up ubuntu and looked at the partitions and run a badblocks comand to verify secotors, after getting a serious of Input and Output errors mounting the partition and doing any... (2 Replies)
Discussion started by: ppchu99
2 Replies
MKFS.BFS(8)						Linux System Administrator's Manual					       MKFS.BFS(8)

NAME
mkfs.bfs - make an SCO bfs filesystem SYNOPSIS
mkfs.bfs [-N nr-of-inodes] [-V volume-name] [-F fsname] device [size-in-blocks] DESCRIPTION
mkfs.bfs creates an SCO bfs file-system on a block device (usually a disk partition or a file accessed via the loop device). The size-in-blocks parameter is the desired size of the file system, in blocks. If nothing is specified, the entire partition will be used. OPTIONS
-N Specify the desired number of inodes (at most 512). If nothing is specified some default number in the range 48-512 is picked depending on the size of the partition. -V volume-label Specify the volume label. I have no idea if/where this is used. -F fsname Specify the fsname. I have no idea if/where this is used. -v Be verbose. EXIT CODES
The exit code returned by mkfs.bfs is 0 when all went well, and 1 when something went wrong. SEE ALSO
mkfs(8). AVAILABILITY
The mkfs.bfs command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. Util-linux 2.9x 12 Sept 1999 MKFS.BFS(8)
All times are GMT -4. The time now is 12:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy