I have an empty drive disk for file storing it has no installed system image, I need to separate it on two partitions. I have Ubuntu 16 on another physical drive.
When I try via Gparted to
- Resize existent ext4
- Click 'New' on unallocated right part of gparted drive volume bar I am getting an error:
It is not possible to create more than 1 primary partition
If you want more partitions you should first create an extended partition. Such a partition can contain other partitions. Because an extended partition is also a primary partition it might be necessary to remove a primary partition first."
If there a another type of filesystem I need to reformat ext4 prior to creating 2nd partition?
How it's called, what size does it have to be if I need two ext4 partitions afterwards?
Caution, questions:
How to resize partitions?
How to create partition on single partitioned disk
are irrelevant, I've already proceeded through those receipts and getting an error DURING them.
Also Create partition from free space - cannot create more than 4 partitions
is irrelevant, cause I have an empty drive which has no files, not the dual-boot case, not more than 4 partitions problem.
Update some comments answered:
I) > sudo apt-get install gparted
gparted is already the newest version (0.25.0-1)
libparted : 3.2
II) > lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1,8T 0 disk
nvme0n1 259:0 0 465,8G 0 disk
├─nvme0n1p1 259:1 0 128M 0 part
├─nvme0n1p2 259:2 0 512M 0 part /boot/efi
├─nvme0n1p3 259:3 0 449,5G 0 part /
└─nvme0n1p4 259:4 0 15,7G 0 part [SWAP]
III) > sudo gdisk -l /dev/sda
Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: not present
Creating new GPT entries.
Disk /dev/sda: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 3A9249F3-291C-4F87-AE2C-72DF37A1302F
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
Total free space is 3907029101 sectors (1.8 TiB)
IV) > df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 8010864 0 8010864 0% /dev
tmpfs 1609100 10072 1599028 1% /run
/dev/nvme0n1p3 463757104 255032720 185143816 58% /
tmpfs 8045484 936 8044548 1% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 8045484 0 8045484 0% /sys/fs/cgroup
/dev/nvme0n1p2 523248 6260 516988 2% /boot/efi
tmpfs 1609100 48 1609052 1% /run/user/1000