Tente desta maneira:
[root@localhost ~]# fdisk /dev/sda WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u'). Command (m for help): n First cylinder (2905-10011, default 2905): Using default value 2905 Last cylinder, +cylinders or +size{K,M,G} (2905-10011, default 10011): +20M Command (m for help): t Partition number (1-6): 6 Hex code (type L to list codes): 83 Command (m for help): p Disk /dev/sda: 82.3 GB, 82348277760 bytes 255 heads, 63 sectors/track, 10011 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0001501c Device Boot Start End Blocks Id System /dev/sda1 * 1 26 204800 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 26 2637 20971520 83 Linux /dev/sda3 2637 2898 2097152 82 Linux swap / Solaris /dev/sda4 2898 10011 57138861+ 5 Extended /dev/sda5 2898 2904 51852+ 83 Linux /dev/sda6 2905 2908 32098+ 83 Linux Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) Syncing disks.
Onde:
-
sda
é seu disco rígido -
n
significa adicionar uma nova partição -
t
significa alterar o ID do sistema de uma partição -
p
significa imprimir a tabela de partições -
w
significa escrever tabela no disco e sair