Units cylinders of 1008 512 516096 bytes

Device Boot

Start

End

Blocks

Id

System

/dev/sdal

l

1041

524632+

82

Linux swap

/dev/sda2 *

1042

7283

3145968

83

Linux

/dev/sda3

7284

11445

2097648

83

Linux

/dev/sda4

11446

15321

1953504

5

Extended

/dev/sda5

11446

11834

196024+

83

Linux

Command (m for help):

Command (m for help):

Enter n to create a new partition. Because you have used up all the primary partitions you can on the disk and now have one extended partition, fdisk is clever enough to realize that you cannot create a primary partition, and therefore automatically determines that you can create only a logical partition within the empty extended partition. Although you have the ability to create many more partitions, this example simply creates a small logical partition of 200 MB for a test filesystem.

Printing out the partition table now shows you five partitions. The Extended partition cannot store data or be accessed by Linux as anything but a container for logical partitions.

Was this article helpful?

0 0

Post a comment