MyWackoSite: parted

https://wiki.ebal.gr     Version: 1 (09/17/2013 12:30)

parted


Hits : 9,885

GUID Partition Table – parted


lets assume that you want to create a new GPT[link1] layout on a disk.
From command line you can use parted[link2]

In the below example disk is 10Gb.

We will create a boot partition 128Mb, a root partition 8Gb and a swap partition with the rest size of the disk.


Select disk


BASH
parted

select /dev/sda

print




top

Create new layout






top

Create Boot Parition


Select mebibyte for start – end size values



create a primary boot partition




Make partition, bootable :





top

Create Root Partition






top

Create Swap Partition


give swap partition the rest avaliable size of the disk





top

Verify your partition table






top