unable to extend parition to unallocated space to the right of it

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.

tomer zeitune

Posted 2019-07-17T09:47:55.280

Reputation: 113

did u try window's very own disk manager?? – Elmo – 2019-07-17T09:55:53.030

@Emiley it's a Linux ext4 partition so I didn't , EDIT: now I tried , the extend volume button is gray – tomer zeitune – 2019-07-17T09:57:28.220

and maybe you might need to convert the ext4 to NTFS – Elmo – 2019-07-17T09:57:39.013

or making the logical as primary...sorry dont know much about linux...not used it since a lot of years – Elmo – 2019-07-17T10:00:01.403

is this of any help:http://linux-training.be/sysadmin/ch05.html

– Elmo – 2019-07-17T10:01:26.203

Is the filesystem healthy? Probably not. Did you run fsck on it? What did the tool say? – Kamil Maciorowski – 2019-07-17T10:02:14.567

@KamilMaciorowski run fsck from where and with what arguments ? – tomer zeitune – 2019-07-17T10:18:45.307

From any modern Live CD/DVD/USB distro. How to perform full check of ext4 file system structure? Or let the OS on the partition trigger fsck during the next reboot.

– Kamil Maciorowski – 2019-07-17T10:24:38.190

@KamilMaciorowski ok did it , all seems good with the file system – tomer zeitune – 2019-07-17T10:39:34.807

Frankly I wouldn't trust any random Windows tool with my Linux partitions. gparted from a live distro or even step-by-step fdisk/gdisk+resize2fs would be my choice. – Kamil Maciorowski – 2019-07-17T10:42:54.687

@KamilMaciorowski yeah I got Kubuntu running live from a USB stick with gparted , it doesn't let me extend it. – tomer zeitune – 2019-07-17T10:44:48.743

Answers

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

Posted 2019-07-17T09:47:55.280

Reputation: 306 093

-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

Posted 2019-07-17T09:47:55.280

Reputation: 1 024

1No instructions given just irrelevant off-topic information, answer is a copy paste from another question without giving credit to the original author – tomer zeitune – 2019-07-17T10:23:50.640

@tomerzeitune I did mention the source ...didn't I ?? – Elmo – 2019-07-17T10:26:23.720

@Kamil Maciorowski Thankyou...I don't know how to make the link go directly to the answer instead of the page ....how to do it ?? – Elmo – 2019-07-17T10:31:03.977

I edited the answer so it's clear you're quoting from elsewhere. Still this is not useful here. It might be somewhat useful if the OP was trying to extend to the left, but in the current situation it's not. – Kamil Maciorowski – 2019-07-17T10:31:06.770

@Emiley no you did not. – tomer zeitune – 2019-07-17T10:33:06.983

Click "edit" under the post (or here: [edit]) and see how it's done. You can do this with any question or answer. You can practice without saving changes. – Kamil Maciorowski – 2019-07-17T10:33:10.813

Oh, the link itself is from the "share" link. Each question/answer has its own "share" button under it. – Kamil Maciorowski – 2019-07-17T10:37:21.793