Create Partion on Linux

Posted . Visible to the public.

Create Partition smaller then 2 TB

Use cfdisk (it is self-explanatory)

cfdisk /dev/sda

Create Partition larger then 2 TB

You need a GPT Partition table but cfdisk and fdisk doesn't support GPT at the moment.

But you can use parted.

Start parted

parted /dev/sda

You get an output like this

GNU Parted 2.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted)

Create a GPT partition table

(parted) mklabel gpt

To create one full size partition

(parted) mkpart primary 0 100%

Show your partition table

(parted) print

Save and Exit program

(parted) quit
MookiE
Posted by MookiE to MookiE's Cards (2011-10-20 20:19)