How do you use fdisk to create an extended partition?

Updated -

We will assume you are modifying the first drive on your system. (To get a listing of your current partition scheme use fdisk -l.

First create a new partition on your drive with the (n) command:

# fdisk /dev/hda

Command (m for help): n (create new partition)

Command action
  e   extended
  p   primary partition (1-4)

Next create your extende...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In