When I go to Gparted and try to format my pendrive to exfat,the option is greyed out and I am not able to select it however I can choose other file systems such as ext4,ntfs,etc. Why is that ?
Gparted doesn't support creation of exfat file systems. You can use mkfs.exfat
utility from the terminal like:
sudo mkfs.exfat -n LABEL /dev/sdXn
Replace LABEL
with the label that you want for your USB and /dev/sdXn
with the partition id of your USB.
You will have to install exfat-utils
and exfat-fuse
from the universe repository for the above to work;
sudo apt-get install exfat-utils exfat-fuse
-
2Another alternative to Gparted if you don't want use a terminal is to use Kde Partition Manager. It still support (still) support exFAT. You can my post about it here: askubuntu.com/a/1006553/143133 – Asme Just Feb 15 '18 at 19:21
-
3If you are using Gnome
Disk
application and theexFat
option is still greyed out, intallexfat-utils
andexfat-fuse
according to @Ron 's answer. – Mehrdad Salimi Jan 20 '20 at 17:30 -
-
I had to use "Disks" to create a FAT partition, and only then run the
mkfs.exfat
command above. – Keith Bennett Aug 17 '20 at 17:30 -
1@MehrdadSalimi 's comment worked well for me. I installed
exfat-utils
andexfat-fuse
per @Ron 's instructions and then Gnome Disks had the option forexFat
ungreyed and I was able to use it. – Xandor Dec 31 '20 at 17:09
Workaround: use gnome-disks
This is the default pre-installed disk manager tool on Ubuntu that shows on the Dash as "Disks".
You can also launch if from the terminal with:
gnome-disks
Ensure that you have the exfat backend installed:
sudo apt install exfat-utils
Then as of Ubuntu 18.04:
- Gears button
- Format Partition
- Type: "Other"
- Next
- exfat
The GUI was a bit different in older versions: GUI tool for formating to exFAT
This is the only non-archaic filesystem I could find that works natively on all of current Mac OS, Windows and Linux, what a world to live in.
-
In case Disks gives error, use Gparted first to format to fat32 for example, and then proceed as above for exFAT. OR, for a stick or other drive with one single partition, use Disk to select the drive in the left panel but then, instead of the gear button, go to the top right button and select "Format disk" and then "No partitioning (empty)", and then do as in the answer. – cipricus Mar 3 '20 at 14:09
-
1
-
1@rvcristiand is it grayed out or doesn't show at all? Which Ubuntu version? Can you check if the
exfat-utils
package is installed? – Ciro Santilli TRUMP BAN IS BAD Jul 23 '20 at 20:57 -
1It was gray. Buy after install exfat-utils and exfat-fuse it works. – rvcristiand Jul 23 '20 at 21:03
-
@rvcristiand awesome, I thought it was installed by default always, adding to the answer. – Ciro Santilli TRUMP BAN IS BAD Jul 23 '20 at 21:52
While Gparted cannot handle exFAT format, beside other tools that can (Gnome Disks, KDE Partition Manager), there is also the USB Stick Formatter, part of the mintstick
tool (which includes both an USB Formatter and an USB Writter), and it covers exFAT format.
It is default in Linux Mint but can be installed in Ubuntu as deb from packages.linuxmint.com or pkgs.org.
-
Please comment why you down-vote and/or vote to delete/close. (Is that even possible for answers?) - If it's because Linux Mint was mentioned, that shouldn't be a reason, as the tool is available for Ubuntu as many other 3rd party apps. - If it's because the answer is not about gparted: all answers here give alternatives to gparted. – cipricus Mar 4 '20 at 14:05
-
1Some people downvote without telling who they are and why they do it. I think it is a way to spread bad sentiment, a kind of trolling. Try to ignore it. Most of us appreciate what you and other people do to give advice and share tips. – sudodus Mar 4 '20 at 15:01
-
@sudodus - It's even worse — I mean more interesting: this answer was marked for deletion - which is visible to me, but not to many others : Meta: Why do I see a delete option under my answer (and how to find what's that about)? – cipricus Mar 4 '20 at 15:04
-
@sudodus - I see you are above 30k reputation, in comments under the meta question it is said that only 20k reputation users can cast deletes for answers. Do you see the delete option? Just curious. – cipricus Mar 4 '20 at 15:18
-
No, the delete option only appears if the score is -1 or lower. askubuntu.com/help/privileges/trusted-user – Terrance Mar 4 '20 at 15:44
I was also getting the same error in gnome-disks
. You can switch if you want.
exFat was still greyed. However, I fixed by installing:
sudo apt install exfat-utils exfat-fuse