Linux fdisk command to create an extended partition process detailed

This section to show you how to create an extended partition. do you remember? Primary and extended partitions can only add up to the establishment of four, while the extended partition can only create one.

The extended partition setup command as follows:
[the root @ localhost ~] # the fdisk / dev / SDB
... output omitted ...
the Command (m for Help): n-
# newly created partition
the Command Action
E Extended
P Primary Partition (1-4)
E
# the establishment of extended partition
partition number the (1-4): 2
# specify the number of the partition to the extended partition 2
First cylinder (655-2610, default 655):
# extended partition starting cylinder. Section on the establishment of the primary partition 1 has been occupied from 1 to 654 cylinders, so we began to build from 655, Note: If no special requirements, do not jump cylinders create the partition, you should immediately establish a partition
Using default value 655
the default value is used tips 655
Last Cylinder, or Cylinders + size + {K, M, G} (655-2610, 2610. default):
# the remaining hard disk space where the piece of extended partition are established as
the using default value 2610.
# Tip use the default value 2610

Here all the remaining space / dev / sdb drives are established as the extended partition, i.e. the establishment of a primary partition, the remaining space is established as the extended partition, and then create the extended partition in the logical partition (logical partition described in subsequent sections).

Published 160 original articles · won 97 Like · views 160 000 +

Guess you like

Origin blog.csdn.net/zyy1659949090/article/details/88176721