MyWackoSite: gdisk

https://wiki.ebal.gr     Version: 1 (09/17/2013 12:29)
This is an old revision of archlinux/gdisk from 09/17/2013 12:29 edited by EvaggelosBalaskas.

gdisk


Hits : 0

GUID Partition Table


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


Create new layout


BASH
gdisk /dev/sda

o

Y




top

Create a new partition


eg. you need a 5G rootfs partition:





top

Create a swap partition


eg. the rest available space is for swap:





top

Save layout to disk





Verify your changes






top