My Oracle Support Banner

How To Create a Partition Using "parted" Command (Doc ID 1590891.1)

Last updated on APRIL 29, 2020

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86
Linux x86-64


There are different options to create or manage partitions under Oracle Linux - Parted is one of them. This note describes its usage and the use case when creating a new partition table.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 1. Select the hard disk to be partitioned
 2. Check for Existing Partitions
 3. Creating Primary or Logical Partition in Selected Disk Using mkpart
 4. Creating a Boot Partition
 5. Creating a Swap Partition
 6. Creating LVM Partition
 7. Remove a Partition Using rm Command

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.