From the course: CompTIA Linux+ (XK0-005) Cert Prep

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Create partitions using parted

Create partitions using parted - Linux Tutorial

From the course: CompTIA Linux+ (XK0-005) Cert Prep

Create partitions using parted

- Parted is a lot like F disk or G disk because it creates partitions. Older versions could also resize, copy and move volumes as well as format and rescue them. Some of these features were removed after version 2.4 including check, cp, mkpartfs, move and resize. You can still resize a partition without touching the file system but in reality it's only changing the end sector so I'd recommend using other tools for this. You may have also heard of Gparted which is a very powerful graphical partition editor. Know that Gparted is not the graphical version of parted as the name may suggest and that it is actually a different tool. Parted can be used in interactive or non interactive modes. Let's run parted interactively using sudo. In a terminal type in sudo parted and hit enter. Now type in help and hit enter. The help command shows all sub commands. To get more help on a specific sub command, such as print…

Contents