From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Create parititons using parted

Create parititons using parted - Linux Tutorial

From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)

Start my 1-month free trial

Create parititons using parted

- Parted is a lot like fDisk gDisk because it creates partitions. Older versions can also resize, copy and move volume as well format and rescue them. Some of these features where removed after Version 2.4 including check, cp, mkpartfs, move and resize. Parted can be used in interactive and non interactive modes. Let's start by installing Parted, if it isn't already. Type in sudo space yum space install space -y space parted. Type in your password at prompted. If it is install, go ahead and run it. Type in sudo space parted and hit enter. We will start out by typing in Help. The Help command shows all sub commands. To get more help on a specific sub command such as the Print command. We can type in help space print and hit enter. We can see that there is a print all option. Let's type in print space all and hit enter. This shows all drives and partitions in a way that is very similar to fdisk -l that we saw in the previous…

Contents