Para o seu novo disco rígido, primeiro crie partições usando o gparted conforme seu desejo.
Em seguida, acesse seu HDD usando o sudo fdisk device_name .
O comando m no fdisk irá imprimir o menu de ajuda.
npcompete@npcompete-desktop:~$ sudo fdisk /dev/sda
The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.
Command (m for help): p
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0008e009
Device Boot Start End Blocks Id System
/dev/sda1 2048 209717247 104857600 83 Linux
/dev/sda2 209717248 1953525167 871903960 5 Extended
/dev/sda5 600349113 795667319 97659103+ 83 Linux
Partition 5 does not start on physical sector boundary.
/dev/sda6 795667383 990985589 97659103+ 83 Linux
Partition 6 does not start on physical sector boundary.
/dev/sda7 990985653 1953520064 481267206 83 Linux
Partition 7 does not start on physical sector boundary.
/dev/sda8 209719296 600349112 195314908+ 83 Linux
Partition table entries are not in disk order
Command (m for help): d
Partition number (1-8): 5
Command (m for help): p
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0008e009
Device Boot Start End Blocks Id System
/dev/sda1 2048 209717247 104857600 83 Linux
/dev/sda2 209717248 1953525167 871903960 5 Extended
/dev/sda5 795667383 990985589 97659103+ 83 Linux
Partition 5 does not start on physical sector boundary.
/dev/sda6 990985653 1953520064 481267206 83 Linux
Partition 6 does not start on physical sector boundary.
/dev/sda7 209719296 600349112 195314908+ 83 Linux
Partition table entries are not in disk order
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
npcompete@npcompete-desktop:~$ sudo fdisk /dev/sda
The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.
Command (m for help): n
Partition type:
p primary (1 primary, 1 extended, 2 free)
l logical (numbered from 5)
Select (default p): l
Adding logical partition 8
First sector (600351161-1953525167, default 600352768):
Using default value 600352768
Last sector, +sectors or +size{K,M,G} (600352768-795667382, default 795667382):
Using default value 795667382
Command (m for help): p
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0008e009
Device Boot Start End Blocks Id System
/dev/sda1 2048 209717247 104857600 83 Linux
/dev/sda2 209717248 1953525167 871903960 5 Extended
/dev/sda5 795667383 990985589 97659103+ 83 Linux
Partition 5 does not start on physical sector boundary.
/dev/sda6 990985653 1953520064 481267206 83 Linux
Partition 6 does not start on physical sector boundary.
/dev/sda7 209719296 600349112 195314908+ 83 Linux
/dev/sda8 600352768 795667382 97657307+ 83 Linux
Partition table entries are not in disk order
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
Agora apague a partição que dá aviso usando a opção d no fdisk.
Primeiro comando d , então o número da partição (mencionado no aviso).
Agora escreva as alterações no disco usando o comando w . Ele sairá do fdisk.
Na segunda vez, acesse seu HDD usando o sudo fdisk nome_do_dispositivo .
Agora crie uma nova partição usando o espaço livre (anteriormente excluímos uma partição, que será o espaço livre ou espaço não alocado) usando o comando n no fdisk.
No comando Nova partição, não insira nenhum valor para Primeiro e Último Setor, apenas pressione Enter . vai levar o valor padrão.
Agora escreva as alterações no disco usando o comando w . Ele sairá do fdisk.
Siga os passos acima para todas as partições. Depois de terminar este formato, crie suas partições recém-criadas usando gparted . (Isso é o que eu fiz trabalhou para mim. Sem avisos no fdisk -l saída.)