"The fdisk command is a text-based utility for viewing and
managing hard disk partitions on Linux. It?s one of the most
powerful tools you can use to manage partitions, but it?s confusing
to new users.
On Ubuntu, Linux Mint or other Ubuntu-derived distributions, the
fdisk and mkfs commands must be prefixed with sudo. On
distributions that don?t use sudo, use the su - command first to
get a root shell, then type every command without sudo.
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.