Mkfs.vfat Or Mkdosfs


Geuben

Member
Joined
Sep 5, 2006
Messages
180
Good evening all,

I arrived home from work today to find my netbook wouldn't boot, great. Not to worry though as this has happend before and I know how to fix it. I just need to stick some bios files on a FAT formatted USB stick...oh wait my desktop is screwed and I haven't got round to fixing it! Ah wait! My pandora has everything I need, a USB port and a proper OS that will let me do what I want, or at least it would do if it had a way of formatting things to FAT.

Can anyone tell me how to get mkfs.vfat or mkdosfs on my pandora?

Thank you.
 
I am not in a position to confirm this, but you should be able to get it from the dosfstools package
Code:
sudo opkg update
sudo opkg install dosfstools
 
WizardStan said:
I am not in a position to confirm this, but you should be able to get it from the dosfstools package
Code:
sudo opkg update
sudo opkg install dosfstools
I'd like to add that they are available within the gparted.pnd as many many others filesystem related command-line tools.
seb@seb:~$ ls -1 /mnt/utmp/gparted/sbin/* /mnt/utmp/gparted/bin/*
/mnt/utmp/gparted/bin/amuFormat.sh
/mnt/utmp/gparted/bin/chattr
/mnt/utmp/gparted/bin/floppyd
/mnt/utmp/gparted/bin/floppyd_installtest
/mnt/utmp/gparted/bin/hattrib
/mnt/utmp/gparted/bin/hcd
/mnt/utmp/gparted/bin/hcopy
/mnt/utmp/gparted/bin/hdel
/mnt/utmp/gparted/bin/hdir
/mnt/utmp/gparted/bin/hformat
/mnt/utmp/gparted/bin/hls
/mnt/utmp/gparted/bin/hmkdir
/mnt/utmp/gparted/bin/hmount
/mnt/utmp/gparted/bin/hpwd
/mnt/utmp/gparted/bin/hrename
/mnt/utmp/gparted/bin/hrmdir
/mnt/utmp/gparted/bin/humount
/mnt/utmp/gparted/bin/hvol
/mnt/utmp/gparted/bin/lsattr
/mnt/utmp/gparted/bin/lz
/mnt/utmp/gparted/bin/mattrib
/mnt/utmp/gparted/bin/mbadblocks
/mnt/utmp/gparted/bin/mcat
/mnt/utmp/gparted/bin/mcd
/mnt/utmp/gparted/bin/mcheck
/mnt/utmp/gparted/bin/mclasserase
/mnt/utmp/gparted/bin/mcomp
/mnt/utmp/gparted/bin/mcopy
/mnt/utmp/gparted/bin/mdel
/mnt/utmp/gparted/bin/mdeltree
/mnt/utmp/gparted/bin/mdir
/mnt/utmp/gparted/bin/mdu
/mnt/utmp/gparted/bin/mformat
/mnt/utmp/gparted/bin/minfo
/mnt/utmp/gparted/bin/mkmanifest
/mnt/utmp/gparted/bin/mlabel
/mnt/utmp/gparted/bin/mmd
/mnt/utmp/gparted/bin/mmount
/mnt/utmp/gparted/bin/mmove
/mnt/utmp/gparted/bin/mpartition
/mnt/utmp/gparted/bin/mrd
/mnt/utmp/gparted/bin/mren
/mnt/utmp/gparted/bin/mshowfat
/mnt/utmp/gparted/bin/mtools
/mnt/utmp/gparted/bin/mtoolstest
/mnt/utmp/gparted/bin/mtype
/mnt/utmp/gparted/bin/mxtar
/mnt/utmp/gparted/bin/mzip
/mnt/utmp/gparted/bin/ntfscat
/mnt/utmp/gparted/bin/ntfscluster
/mnt/utmp/gparted/bin/ntfscmp
/mnt/utmp/gparted/bin/ntfsfix
/mnt/utmp/gparted/bin/ntfsinfo
/mnt/utmp/gparted/bin/ntfsls
/mnt/utmp/gparted/bin/tgz
/mnt/utmp/gparted/bin/uuidgen
/mnt/utmp/gparted/bin/uz
/mnt/utmp/gparted/sbin/badblocks
/mnt/utmp/gparted/sbin/blkid
/mnt/utmp/gparted/sbin/debugfs
/mnt/utmp/gparted/sbin/dosfsck
/mnt/utmp/gparted/sbin/dosfslabel
/mnt/utmp/gparted/sbin/dumpe2fs
/mnt/utmp/gparted/sbin/e2freefrag
/mnt/utmp/gparted/sbin/e2fsck
/mnt/utmp/gparted/sbin/e2image
/mnt/utmp/gparted/sbin/e2label
/mnt/utmp/gparted/sbin/e2undo
/mnt/utmp/gparted/sbin/filefrag
/mnt/utmp/gparted/sbin/findfs
/mnt/utmp/gparted/sbin/fsck
/mnt/utmp/gparted/sbin/fsck.ext2
/mnt/utmp/gparted/sbin/fsck.ext3
/mnt/utmp/gparted/sbin/fsck.ext4
/mnt/utmp/gparted/sbin/fsck.ext4dev
/mnt/utmp/gparted/sbin/fsck.jfs
/mnt/utmp/gparted/sbin/fsck.msdos
/mnt/utmp/gparted/sbin/fsck.vfat
/mnt/utmp/gparted/sbin/gparted
/mnt/utmp/gparted/sbin/gpartedbin
/mnt/utmp/gparted/sbin/jfs_debugfs
/mnt/utmp/gparted/sbin/jfs_fsck
/mnt/utmp/gparted/sbin/jfs_fscklog
/mnt/utmp/gparted/sbin/jfs_logdump
/mnt/utmp/gparted/sbin/jfs_mkfs
/mnt/utmp/gparted/sbin/jfs_tune
/mnt/utmp/gparted/sbin/logsave
/mnt/utmp/gparted/sbin/mkdosfs
/mnt/utmp/gparted/sbin/mke2fs
/mnt/utmp/gparted/sbin/mkfs.ext2
/mnt/utmp/gparted/sbin/mkfs.ext3
/mnt/utmp/gparted/sbin/mkfs.ext4
/mnt/utmp/gparted/sbin/mkfs.ext4dev
/mnt/utmp/gparted/sbin/mkfs.jfs
/mnt/utmp/gparted/sbin/mkfs.msdos
/mnt/utmp/gparted/sbin/mkfs.vfat
/mnt/utmp/gparted/sbin/mklost+found
/mnt/utmp/gparted/sbin/mkntfs
/mnt/utmp/gparted/sbin/ntfsclone
/mnt/utmp/gparted/sbin/ntfscp
/mnt/utmp/gparted/sbin/ntfslabel
/mnt/utmp/gparted/sbin/ntfsresize
/mnt/utmp/gparted/sbin/ntfsundelete
/mnt/utmp/gparted/sbin/parted
/mnt/utmp/gparted/sbin/partprobe
/mnt/utmp/gparted/sbin/resize2fs
/mnt/utmp/gparted/sbin/tune2fs
/mnt/utmp/gparted/sbin/uuidd

But before use you'll need to mount the PND and then :
Code:
export PATH="/mnt/utmp/gparted/bin:/mnt/utmp/gparted/sbin:${PATH:-"/usr/bin:/bin:/usr/local/bin"}"
export LD_LIBRARY_PATH="/mnt/utmp/gparted/lib:${LD_LIBRARY_PATH:-"/usr/lib:/lib"}"
(at least that's what "head -3 /mnt/utmp/gparted/scripts/gparted.sh" say :p)
 
Last edited by a moderator:
Back
Top