Quick Answer: What Is Parted Command in Linux?

Quick Answer: What Is Parted Command in Linux?
Contents

Parted is a famous command line tool that allows you to easily manage hard disk partitions. It can help you add, delete, shrink and extend disk partitions along with the file systems located on them. Parted has gone a long way from when it first came out.

How do you use parted?

Creating a partition using parted

  1. Select the hard disk to be partitioned. Select the disk on which the partition is being created, in the below example /dev/sdb is being partitioned. …
  2. Set partition table type. …
  3. Check free space and existing partitions. …
  4. Creating Primary or Logical Partition in Selected Disk Using mkpart.

What is the difference between fdisk and parted?

Use fdisk for drives that are < 2TB and either parted or gdisk for disk > 2TB. The actual difference has to do with the partitioning formats that these tools are manipulating. For disks < 2TB you’re often using MBR (Master Boot Record). For disks > 2TB you’re using GPT (GUID Partitioning Table).

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.