1

I need to extend an ex4 partition, I have 43 GB of free space to the right of the it. I am booted to another drive.

What I tried:

  • using EaseUS partition master

  • using MiniTool partition master

  • using DiskGenius

  • using GParted from a live OS on a USB stick.

All failed/refused to give the option to extend the partition.

Seems like DiskGenius on Windows 10 booted from another disk is my best attempt and gives the most information. When I resize the partition it gives this

Probably the most useful bit of info is this screenshot showing the layout of the disk.enter image description here

Logical(5) is what I want to extend and the free space is to the right of it.

2 Answers2

0

Logical(5) is a logical partition inside an extended partition, while the free space lies outside of that extended partition.

You need to resize Extended Partition to include the free space first, then resize Logical(5).

harrymc
  • 498,455
-3

In the normal interface, Linux's fdisk applies alignment constraints to partitions. Which constraints depends on the version of fdisk. Older versions defaulted to cylinder alignment, for compatibility with older operating systems that were incompatible with LBA. When LBA was a little over two decades old, fdisk stopped catering for such ancient systems by default, and instead switched to 1MB alignment, which gives better performance on modern storage media.

In current versions of fdisk, to create partitions with any sector (512B) alignment, you need to first create the partition with the desired end point, then go to the expert menu (x) and use the command b to adjust the beginning of the partition (this changes the partition size, not where it ends). It does seem rather clumsy.

Source

Elmo
  • 1,070