You are not logged in.

#1 2014-02-16 19:06:06

stevepa
Member
From: Texas USA
Registered: 2012-02-12
Posts: 113

[resolved]mkfs problem - can't make vfat filesystem

Problem:
Attempting to make a vfat filesystem returns error as follows:

[root@archlinux steve]# mkfs.vfat -F 16 /dev/mmcblk0p1 
bash: mkfs.vfat: command not found

and also I tried:

[root@archlinux steve]# mkfs --type vfat /dev/mmcblk0p1 
mkfs.vfat: No such file or directory

so it seems mkfs.vfat is not on my system so I check:

[root@archlinux steve]# which mkfs
/usr/bin/mkfs
[root@archlinux steve]# which mkfs.vfat
which: no mkfs.vfat in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/vendor_perl:/usr/bin/core_perl)
[root@archlinux steve]# cd /usr/bin
[root@archlinux bin]# ls mk*
mk_cmds      mkfontscale  mkfs.ext3	 mkfs.xfs	   mkmanifest
mkdir	     mkfs	  mkfs.ext4	 mkhomedir_helper  mknod
mkdiskimage  mkfs.bfs	  mkfs.ext4dev	 mkhybrid	   mkreiserfs
mke2fs	     mkfs.btrfs   mkfs.jfs	 mkinitcpio	   mkswap
mkfifo	     mkfs.cramfs  mkfs.minix	 mkisofs	   mktemp
mkfontdir    mkfs.ext2	  mkfs.reiserfs  mklost+found

Note: I am able to create other filesystems on the partitions but not vfat. Gparted did not list vfat but listed fat16, fat32 but grayed out.

Environment:
Fully updated Arch on PC laptop. Device is a sandisk MicroSD 16GB card plugged directly into the laptop.

I tried my friend google and searched his main bud bbs.archlinux with no help. Looked at the wiki also.  I also tried to find the package that mkfs belongs but it must be core(?).

Anyone have an idea?
tks
Steve.

Last edited by stevepa (2014-12-24 05:25:16)


Arch - LVM - ext4 - gnome (T60p 14.1 1400p  x86_64), (T60 15 flexview 1400p i686)

Offline

#2 2014-02-16 19:07:42

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [resolved]mkfs problem - can't make vfat filesystem

pkgfile is your friend:

~ > pkgfile mkfs.vfat
core/dosfstools

Offline

#3 2014-02-16 19:24:50

stevepa
Member
From: Texas USA
Registered: 2012-02-12
Posts: 113

Re: [resolved]mkfs problem - can't make vfat filesystem

skottish wrote:

pkgfile is your friend:

~ > pkgfile mkfs.vfat
core/dosfstools

You're a genius!

mkfs.vfat works.

Tks so much.
Steve.


Arch - LVM - ext4 - gnome (T60p 14.1 1400p  x86_64), (T60 15 flexview 1400p i686)

Offline

#4 2014-02-16 19:25:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [resolved]mkfs problem - can't make vfat filesystem

The wiki tells you how to find in which package is X: https://wiki.archlinux.org/index.php/FA … ge_is_X.3F

Offline

#5 2014-02-16 22:10:27

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [resolved]mkfs problem - can't make vfat filesystem

Also, don't forget to mark your thread as [Solved].

Offline

#6 2014-02-16 22:11:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [resolved]mkfs problem - can't make vfat filesystem

Not a Syadmin issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB