Ubuntu 20.04 LTS. I tried to format a new disk with Btrfs, but it is disabled.
1 Answer
You need btrfs-progs installed to be able to create btrfs
partitions.
You can't format a partition that is in mounted.
You need to unmount it first.
And I suggest using gparted
instead of "Disks", it has a more clear GUI.
If this is a HDD, you can format it to btrfs
without creating partition tables by running:
sudo mkfs.btrfs /dev/sdb
-
I will try to use gparted, but I did not mount it manually, and I cannot find any menu to unmount the disk in Disks. Also, if that is the reason, why does it allow formatting with Ext4? Jul 27, 2020 at 17:37
-
-
It is an unformatted disk. Is it still mounted? I have added the screenshot at the end of the question. Jul 27, 2020 at 17:43
-
-
I created a partition table (GPT) using Gparted, but after doing that, I clicked the [+] button and "Create Partition" dialogue popped up. Yet, in the next screens, the results were the same: Ext4 is available but Btrfs is disabled. Also, "btrfs" is disabled in the Filesystem drop-down list. Maybe, Btrfs driver or software is not installed by default on Ubuntu 20.04 and I have to install it manually? Jul 27, 2020 at 17:51
btrfs
without making partitions quite easily using CLI. Is it a HDD, or a SSD?