-> fdisk /dev/sda Welcome to fdisk (util-linux 2.25.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. fdisk: cannot open /dev/sda: Permission denied ------------------------------------------------ john@opus [/home/john] ------------------------------------------------ --> sudo fdisk /dev/sda Welcome to fdisk (util-linux 2.25.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): m Help: DOS (MBR) a toggle a bootable flag b edit nested BSD disklabel c toggle the dos compatibility flag Generic d delete a partition l list known partition types n add a new partition p print the partition table t change a partition type v verify the partition table Misc m print this menu u change display/entry units x extra functionality (experts only) Save & Exit w write table to disk and exit q quit without saving changes Create a new label g create a new empty GPT partition table G create a new empty SGI (IRIX) partition table o create a new empty DOS partition table s create a new empty Sun partition table Command (m for help): p Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00027dda Device Boot Start End Sectors Size Id Type /dev/sda1 234424320 3907029167 3672604848 1.7T 83 Linux /dev/sda2 * 2048 225282047 225280000 107.4G 83 Linux /dev/sda3 225282048 234424319 9142272 4.4G 82 Linux swap / Solaris Partition table entries are not in disk order. Command (m for help):